Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files13
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- dma_lib.c
- gpio_mdio.c
- idle.c
- iommu.c
- misc.c
- msi.c
- pasemi.h
- pci.c
- powersave.S
- setup.c
- time.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/powerpc/platforms/pasemi/time.c
C · 925 bytes/*
* Copyright (C) 2006 PA Semi, Inc
*
* Maintained by: Olof Johansson <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/time.h>
#include <asm/time.h>
time64_t __init pas_get_boot_time(void)
{
/* Let's just return a fake date right now */
return mktime64(2006, 1, 1, 12, 0, 0);
}