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 files38
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- firmware_loader/
- power/
- regmap/
- test/
- Kconfig
- Makefile
- arch_topology.c
- attribute_container.c
- base.h
- bus.c
- cacheinfo.c
- class.c
- component.c
- container.c
- core.c
- cpu.c
- dd.c
- devcon.c
- devcoredump.c
- devres.c
- devtmpfs.c
- driver.c
- firmware.c
- hypervisor.c
- init.c
- isa.c
- map.c
- memory.c
- module.c
- node.c
- pinctrl.c
- platform-msi.c
- platform.c
- property.c
- soc.c
- syscore.c
- topology.c
- transport_class.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/base/init.c
C · 768 bytes// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2002-3 Patrick Mochel
* Copyright (c) 2002-3 Open Source Development Labs
*/
#include <linux/device.h>
#include <linux/init.h>
#include <linux/memory.h>
#include <linux/of.h>
#include "base.h"
/**
* driver_init - initialize driver model.
*
* Call the driver model init functions to initialize their
* subsystems. Called early from init/main.c.
*/
void __init driver_init(void)
{
/* These are the core pieces */
devtmpfs_init();
devices_init();
buses_init();
classes_init();
firmware_init();
hypervisor_init();
/* These are also core pieces, but must come after the
* core core pieces.
*/
of_core_init();
platform_bus_init();
cpu_dev_init();
memory_dev_init();
container_dev_init();
}