summaryrefslogtreecommitdiff
path: root/irq.h
blob: 005e22418b38976242987f578e06594485189d2b (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef IRQ_H
#define IRQ_H

extern int device_irq_number(const char *ifname);
extern void device_restore_irq_affinity_list(void);
extern int device_set_irq_affinity_list(int irq, unsigned long from,
					unsigned long to);
extern int device_set_irq_affinity(int irq, unsigned long cpu);

#endif /* IRQ_H */
>mode:
authorKees Cook <keescook@chromium.org>2016-06-23 15:20:59 -0700
committerKees Cook <keescook@chromium.org>2016-07-26 14:41:53 -0700
commit04385fc5e8fffed84425d909a783c0f0c587d847 (patch)
tree07f94a9ec860dc0bcb6efd2f44632d0a5da29237
parent97433ea4fda62349bfa42089455593cbcb57e06c (diff)
mm: SLAB hardened usercopy support
Under CONFIG_HARDENED_USERCOPY, this adds object size checking to the SLAB allocator to catch any copies that may span objects. Based on code from PaX and grsecurity. Signed-off-by: Kees Cook <keescook@chromium.org> Tested-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Diffstat