]> git.pld-linux.org Git - packages/kernel.git/blame - linux-o1-sched-grsec-pre.patch
- added description of djurban's branch
[packages/kernel.git] / linux-o1-sched-grsec-pre.patch
CommitLineData
d48ecf2a
JR
1--- linux/kernel/sys.c~ Sun Feb 3 01:38:13 2002
2+++ linux/kernel/sys.c Sun Feb 3 20:19:15 2002
3@@ -220,7 +220,7 @@
4 }
5 if (error == -ESRCH)
6 error = 0;
48381c96 7- if (niceval < task_nice(p) && !capable(CAP_SYS_NICE))
d48ecf2a
JR
8+ if (niceval < p->nice && !capable(CAP_SYS_NICE))
9 error = -EACCES;
10 else
11 set_user_nice(p, niceval);
48381c96
JR
12--- linux/kernel/sched.c~ Mon Feb 4 15:01:07 2002
13+++ linux/kernel/sched.c Mon Feb 4 15:04:10 2002
14@@ -19,7 +19,6 @@
15 #include <linux/smp_lock.h>
16 #include <linux/interrupt.h>
17 #include <asm/mmu_context.h>
18-#include <linux/kernel_stat.h>
19
20 /*
21 * Priority of a process goes from 0 to 139. The 0-99
f2550ba7 22--- linux/kernel/printk.c.orig Tue Feb 5 13:51:53 2002
23+++ linux/kernel/printk.c Tue Feb 5 13:52:12 2002
20e476d0 24@@ -26,7 +26,6 @@
25 #include <linux/module.h>
26 #include <linux/interrupt.h> /* For in_interrupt() */
27 #include <linux/config.h>
28-#include <linux/delay.h>
29
30 #include <asm/uaccess.h>
31
This page took 0.169306 seconds and 4 git commands to generate.