Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files29
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Kconfig
- Makefile
- devices-common.h
- devices.c
- platform-fec.c
- platform-flexcan.c
- platform-fsl-usb2-udc.c
- platform-gpio-mxc.c
- platform-gpio_keys.c
- platform-imx-dma.c
- platform-imx-fb.c
- platform-imx-i2c.c
- platform-imx-keypad.c
- platform-imx-ssi.c
- platform-imx-uart.c
- platform-imx2-wdt.c
- platform-imx21-hcd.c
- platform-imx27-coda.c
- platform-ipu-core.c
- platform-mx2-camera.c
- platform-mx2-emma.c
- platform-mxc-ehci.c
- platform-mxc-mmc.c
- platform-mxc_nand.c
- platform-mxc_rtc.c
- platform-mxc_w1.c
- platform-pata_imx.c
- platform-sdhci-esdhc-imx.c
- platform-spi_imx.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/arm/mach-imx/devices/platform-gpio-mxc.c
C · 862 bytes/*
* Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright 2011 Linaro Limited
*
* 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.
*/
#include "devices-common.h"
#include "../common.h"
struct platform_device *__init mxc_register_gpio(char *name, int id,
resource_size_t iobase, resource_size_t iosize, int irq, int irq_high)
{
struct resource res[] = {
{
.start = iobase,
.end = iobase + iosize - 1,
.flags = IORESOURCE_MEM,
}, {
.start = irq,
.end = irq,
.flags = IORESOURCE_IRQ,
}, {
.start = irq_high,
.end = irq_high,
.flags = IORESOURCE_IRQ,
},
};
return platform_device_register_resndata(&mxc_aips_bus,
name, id, res, ARRAY_SIZE(res), NULL, 0);
}