]> git.pld-linux.org Git - packages/kernel.git/blob - linux-grsecurity-fixes.patch
- this patch fix twice EXPORT_SYMBOL(br_ioctl_hook); in kernel-source net/netsyms.c
[packages/kernel.git] / linux-grsecurity-fixes.patch
1 diff -urN linux/fs/proc/base.c linux.fixed/fs/proc/base.c
2 --- linux/fs/proc/base.c        Mon Nov 26 18:23:38 2001
3 +++ linux.fixed/fs/proc/base.c  Mon Nov 26 18:20:19 2001
4 @@ -704,13 +704,15 @@
5         get_task_struct(task);
6         inode->u.proc_i.task = task;
7         inode->i_uid = 0;
8 +#ifndef CONFIG_GRKERNSEC_PROC_USERGROUP
9         inode->i_gid = 0;
10 +#else
11 +       inode->i_gid = CONFIG_GRKERNSEC_PROC_GID;
12 +#endif
13         if (ino == PROC_PID_INO || task_dumpable(task)) {
14                 inode->i_uid = task->euid;
15  #ifndef CONFIG_GRKERNSEC_PROC_USERGROUP
16                 inode->i_gid = task->egid;
17 -#else
18 -               inode->i_gid = CONFIG_GRKERNSEC_PROC_GID;
19  #endif
20         }
21  
This page took 0.028679 seconds and 3 git commands to generate.