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 files28
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- hisilicon/
- sti/
- tegra/
- Kconfig
- Makefile
- core.c
- reset-a10sr.c
- reset-ath79.c
- reset-axs10x.c
- reset-berlin.c
- reset-hsdk.c
- reset-imx7.c
- reset-lantiq.c
- reset-lpc18xx.c
- reset-meson-audio-arb.c
- reset-meson.c
- reset-oxnas.c
- reset-pistachio.c
- reset-qcom-aoss.c
- reset-simple.c
- reset-simple.h
- reset-stm32mp1.c
- reset-sunxi.c
- reset-ti-sci.c
- reset-ti-syscon.c
- reset-uniphier-usb3.c
- reset-uniphier.c
- reset-zynq.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/reset/reset-simple.h
Text · 1,491 bytes/*
* Simple Reset Controller ops
*
* Based on Allwinner SoCs Reset Controller driver
*
* Copyright 2013 Maxime Ripard
*
* Maxime Ripard <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef __RESET_SIMPLE_H__
#define __RESET_SIMPLE_H__
#include <linux/io.h>
#include <linux/reset-controller.h>
#include <linux/spinlock.h>
/**
* struct reset_simple_data - driver data for simple reset controllers
* @lock: spinlock to protect registers during read-modify-write cycles
* @membase: memory mapped I/O register range
* @rcdev: reset controller device base structure
* @active_low: if true, bits are cleared to assert the reset. Otherwise, bits
* are set to assert the reset. Note that this says nothing about
* the voltage level of the actual reset line.
* @status_active_low: if true, bits read back as cleared while the reset is
* asserted. Otherwise, bits read back as set while the
* reset is asserted.
*/
struct reset_simple_data {
spinlock_t lock;
void __iomem *membase;
struct reset_controller_dev rcdev;
bool active_low;
bool status_active_low;
};
extern const struct reset_control_ops reset_simple_ops;
#endif /* __RESET_SIMPLE_H__ */