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 files21
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- __ffs.h
- __fls.h
- arch_hweight.h
- atomic.h
- builtin-__ffs.h
- builtin-__fls.h
- builtin-ffs.h
- builtin-fls.h
- const_hweight.h
- ext2-atomic-setbit.h
- ext2-atomic.h
- ffs.h
- ffz.h
- find.h
- fls.h
- fls64.h
- hweight.h
- le.h
- lock.h
- non-atomic.h
- sched.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/asm-generic/bitops/builtin-__fls.h
Text · 436 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_GENERIC_BITOPS_BUILTIN___FLS_H_
#define _ASM_GENERIC_BITOPS_BUILTIN___FLS_H_
/**
* __fls - find last (most-significant) set bit in a long word
* @word: the word to search
*
* Undefined if no set bit exists, so code should check against 0 first.
*/
static __always_inline unsigned long __fls(unsigned long word)
{
return (sizeof(word) * 8) - 1 - __builtin_clzl(word);
}
#endif