Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files196
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- 9p/
- bluetooth/
- caif/
- iucv/
- netfilter/
- netns/
- nfc/
- phonet/
- sctp/
- tc_act/
- 6lowpan.h
- Space.h
- act_api.h
- addrconf.h
- af_ieee802154.h
- af_rxrpc.h
- af_unix.h
- af_vsock.h
- ah.h
- arp.h
- atmclip.h
- ax25.h
- ax88796.h
- bond_3ad.h
- bond_alb.h
- bond_options.h
- bonding.h
- busy_poll.h
- calipso.h
- cfg80211-wext.h
- cfg80211.h
- cfg802154.h
- checksum.h
- cipso_ipv4.h
- cls_cgroup.h
- codel.h
- codel_impl.h
- codel_qdisc.h
- compat.h
- datalink.h
- dcbevent.h
- dcbnl.h
- devlink.h
- dn.h
- dn_dev.h
- dn_fib.h
- dn_neigh.h
- dn_nsp.h
- dn_route.h
- dsa.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/net/netprio_cgroup.h
Text · 1,268 bytes/*
* netprio_cgroup.h Control Group Priority set
*
*
* Authors: Neil Horman <[email protected]>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
*/
#ifndef _NETPRIO_CGROUP_H
#define _NETPRIO_CGROUP_H
#include <linux/cgroup.h>
#include <linux/hardirq.h>
#include <linux/rcupdate.h>
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
struct netprio_map {
struct rcu_head rcu;
u32 priomap_len;
u32 priomap[];
};
static inline u32 task_netprioidx(struct task_struct *p)
{
struct cgroup_subsys_state *css;
u32 idx;
rcu_read_lock();
css = task_css(p, net_prio_cgrp_id);
idx = css->cgroup->id;
rcu_read_unlock();
return idx;
}
static inline void sock_update_netprioidx(struct sock_cgroup_data *skcd)
{
if (in_interrupt())
return;
sock_cgroup_set_prioidx(skcd, task_netprioidx(current));
}
#else /* !CONFIG_CGROUP_NET_PRIO */
static inline u32 task_netprioidx(struct task_struct *p)
{
return 0;
}
static inline void sock_update_netprioidx(struct sock_cgroup_data *skcd)
{
}
#endif /* CONFIG_CGROUP_NET_PRIO */
#endif /* _NET_CLS_CGROUP_H */