Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files38
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..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/container.c
C · 814 bytes// SPDX-License-Identifier: GPL-2.0
/*
* System bus type for containers.
*
* Copyright (C) 2013, Intel Corporation
* Author: Rafael J. Wysocki <[email protected]>
*/
#include <linux/container.h>
#include "base.h"
#define CONTAINER_BUS_NAME "container"
static int trivial_online(struct device *dev)
{
return 0;
}
static int container_offline(struct device *dev)
{
struct container_dev *cdev = to_container_dev(dev);
return cdev->offline ? cdev->offline(cdev) : 0;
}
struct bus_type container_subsys = {
.name = CONTAINER_BUS_NAME,
.dev_name = CONTAINER_BUS_NAME,
.online = trivial_online,
.offline = container_offline,
};
void __init container_dev_init(void)
{
int ret;
ret = subsys_system_register(&container_subsys, NULL);
if (ret)
pr_err("%s() failed: %d\n", __func__, ret);
}