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 files28
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- autogroup.h
- clock.h
- coredump.h
- cpufreq.h
- cputime.h
- deadline.h
- debug.h
- hotplug.h
- idle.h
- init.h
- isolation.h
- jobctl.h
- loadavg.h
- mm.h
- nohz.h
- numa_balancing.h
- prio.h
- rt.h
- signal.h
- smt.h
- stat.h
- sysctl.h
- task.h
- task_stack.h
- topology.h
- user.h
- wake_q.h
- xacct.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/linux/sched/deadline.h
Text · 469 bytes/* SPDX-License-Identifier: GPL-2.0 */
/*
* SCHED_DEADLINE tasks has negative priorities, reflecting
* the fact that any of them has higher prio than RT and
* NORMAL/BATCH tasks.
*/
#define MAX_DL_PRIO 0
static inline int dl_prio(int prio)
{
if (unlikely(prio < MAX_DL_PRIO))
return 1;
return 0;
}
static inline int dl_task(struct task_struct *p)
{
return dl_prio(p->prio);
}
static inline bool dl_time_before(u64 a, u64 b)
{
return (s64)(a - b) < 0;
}