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 files253
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- Kbuild
- adi.h
- adi_64.h
- agp.h
- apb.h
- asm-offsets.h
- asm-prototypes.h
- asm.h
- asmmacro.h
- atomic.h
- atomic_32.h
- atomic_64.h
- auxio.h
- auxio_32.h
- auxio_64.h
- backoff.h
- barrier.h
- barrier_32.h
- barrier_64.h
- bbc.h
- bitext.h
- bitops.h
- bitops_32.h
- bitops_64.h
- btext.h
- bug.h
- bugs.h
- cache.h
- cacheflush.h
- cacheflush_32.h
- cacheflush_64.h
- cachetlb_32.h
- chafsr.h
- checksum.h
- checksum_32.h
- checksum_64.h
- chmctrl.h
- clock.h
- clocksource.h
- cmpxchg.h
- cmpxchg_32.h
- cmpxchg_64.h
- compat.h
- compat_signal.h
- contregs.h
- cpu_type.h
- cpudata.h
- cpudata_32.h
- cpudata_64.h
- current.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/sparc/include/asm/current.h
Text · 991 bytes/* SPDX-License-Identifier: GPL-2.0 */
/* include/asm/current.h
*
* Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
* Copyright (C) 2002 Pete Zaitcev ([email protected])
* Copyright (C) 2007 David S. Miller ([email protected])
*
* Derived from "include/asm-s390/current.h" by
* Martin Schwidefsky ([email protected])
* Derived from "include/asm-i386/current.h"
*/
#ifndef _SPARC_CURRENT_H
#define _SPARC_CURRENT_H
#include <linux/thread_info.h>
#ifdef CONFIG_SPARC64
register struct task_struct *current asm("g4");
#endif
#ifdef CONFIG_SPARC32
/* We might want to consider using %g4 like sparc64 to shave a few cycles.
*
* Two stage process (inline + #define) for type-checking.
* We also obfuscate get_current() to check if anyone used that by mistake.
*/
struct task_struct;
static inline struct task_struct *__get_current(void)
{
return current_thread_info()->task;
}
#define current __get_current()
#endif
#endif /* !(_SPARC_CURRENT_H) */