Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files144
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- xen/
- Kbuild
- acenv.h
- acpi.h
- alternative.h
- arch_gicv3.h
- arch_timer.h
- arm-cci.h
- arm_dsu_pmu.h
- asm-bug.h
- asm-offsets.h
- asm-uaccess.h
- assembler.h
- atomic.h
- atomic_ll_sc.h
- atomic_lse.h
- barrier.h
- bitops.h
- bitrev.h
- boot.h
- brk-imm.h
- bug.h
- cache.h
- cacheflush.h
- checksum.h
- clocksource.h
- cmpxchg.h
- compat.h
- compiler.h
- cpu.h
- cpu_ops.h
- cpucaps.h
- cpufeature.h
- cpuidle.h
- cputype.h
- current.h
- daifflags.h
- dcc.h
- debug-monitors.h
- device.h
- dma-mapping.h
- dmi.h
- efi.h
- elf.h
- esr.h
- exception.h
- exec.h
- extable.h
- fb.h
- fixmap.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/arm64/include/asm/numa.h
Text · 1,498 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_NUMA_H
#define __ASM_NUMA_H
#include <asm/topology.h>
#ifdef CONFIG_NUMA
#define NR_NODE_MEMBLKS (MAX_NUMNODES * 2)
int __node_distance(int from, int to);
#define node_distance(a, b) __node_distance(a, b)
extern nodemask_t numa_nodes_parsed __initdata;
extern bool numa_off;
/* Mappings between node number and cpus on that node. */
extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES];
void numa_clear_node(unsigned int cpu);
#ifdef CONFIG_DEBUG_PER_CPU_MAPS
const struct cpumask *cpumask_of_node(int node);
#else
/* Returns a pointer to the cpumask of CPUs on Node 'node'. */
static inline const struct cpumask *cpumask_of_node(int node)
{
return node_to_cpumask_map[node];
}
#endif
void __init arm64_numa_init(void);
int __init numa_add_memblk(int nodeid, u64 start, u64 end);
void __init numa_set_distance(int from, int to, int distance);
void __init numa_free_distance(void);
void __init early_map_cpu_to_node(unsigned int cpu, int nid);
void numa_store_cpu_info(unsigned int cpu);
void numa_add_cpu(unsigned int cpu);
void numa_remove_cpu(unsigned int cpu);
#else /* CONFIG_NUMA */
static inline void numa_store_cpu_info(unsigned int cpu) { }
static inline void numa_add_cpu(unsigned int cpu) { }
static inline void numa_remove_cpu(unsigned int cpu) { }
static inline void arm64_numa_init(void) { }
static inline void early_map_cpu_to_node(unsigned int cpu, int nid) { }
#endif /* CONFIG_NUMA */
#endif /* __ASM_NUMA_H */