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 files22
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- client.h
- debug.h
- device.h
- engine.h
- enum.h
- event.h
- firmware.h
- gpuobj.h
- ioctl.h
- memory.h
- mm.h
- msgqueue.h
- notify.h
- object.h
- oclass.h
- oproxy.h
- option.h
- os.h
- pci.h
- ramht.h
- subdev.h
- tegra.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/gpu/drm/nouveau/include/nvkm/core/event.h
Text · 1,002 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NVKM_EVENT_H__
#define __NVKM_EVENT_H__
#include <core/os.h>
struct nvkm_notify;
struct nvkm_object;
struct nvkm_event {
const struct nvkm_event_func *func;
int types_nr;
int index_nr;
spinlock_t refs_lock;
spinlock_t list_lock;
struct list_head list;
int *refs;
};
struct nvkm_event_func {
int (*ctor)(struct nvkm_object *, void *data, u32 size,
struct nvkm_notify *);
void (*send)(void *data, u32 size, struct nvkm_notify *);
void (*init)(struct nvkm_event *, int type, int index);
void (*fini)(struct nvkm_event *, int type, int index);
};
int nvkm_event_init(const struct nvkm_event_func *func, int types_nr,
int index_nr, struct nvkm_event *);
void nvkm_event_fini(struct nvkm_event *);
void nvkm_event_get(struct nvkm_event *, u32 types, int index);
void nvkm_event_put(struct nvkm_event *, u32 types, int index);
void nvkm_event_send(struct nvkm_event *, u32 types, int index,
void *data, u32 size);
#endif