Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files186
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- hardware/
- mach/
- xen/
- Kbuild
- arch_gicv3.h
- arch_timer.h
- arm-cci.h
- asm-offsets.h
- assembler.h
- atomic.h
- auxvec.h
- bL_switcher.h
- barrier.h
- bitops.h
- bitrev.h
- bug.h
- bugs.h
- cache.h
- cacheflush.h
- cachetype.h
- checksum.h
- clocksource.h
- cmpxchg.h
- compiler.h
- cp15.h
- cpu.h
- cpufeature.h
- cpuidle.h
- cputype.h
- cti.h
- dcc.h
- delay.h
- device.h
- div64.h
- dma-contiguous.h
- dma-direct.h
- dma-iommu.h
- dma-mapping.h
- dma.h
- dmi.h
- domain.h
- ecard.h
- edac.h
- efi.h
- elf.h
- entry-macro-multi.S
- exception.h
- fb.h
- fiq.h
- firmware.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/arm/include/asm/sync_bitops.h
Text · 1,050 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SYNC_BITOPS_H__
#define __ASM_SYNC_BITOPS_H__
#include <asm/bitops.h>
/* sync_bitops functions are equivalent to the SMP implementation of the
* original functions, independently from CONFIG_SMP being defined.
*
* We need them because _set_bit etc are not SMP safe if !CONFIG_SMP. But
* under Xen you might be communicating with a completely external entity
* who might be on another CPU (e.g. two uniprocessor guests communicating
* via event channels and grant tables). So we need a variant of the bit
* ops which are SMP safe even on a UP kernel.
*/
#define sync_set_bit(nr, p) _set_bit(nr, p)
#define sync_clear_bit(nr, p) _clear_bit(nr, p)
#define sync_change_bit(nr, p) _change_bit(nr, p)
#define sync_test_and_set_bit(nr, p) _test_and_set_bit(nr, p)
#define sync_test_and_clear_bit(nr, p) _test_and_clear_bit(nr, p)
#define sync_test_and_change_bit(nr, p) _test_and_change_bit(nr, p)
#define sync_test_bit(nr, addr) test_bit(nr, addr)
#define sync_cmpxchg cmpxchg
#endif