SOURCES (LINUX_2_6_20): linux-2.6-grsec-minimal.patch - updated to...

adamg adamg at pld-linux.org
Sat Feb 17 19:38:45 CET 2007


Author: adamg                        Date: Sat Feb 17 18:38:45 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6_20
---- Log message:
- updated to 2.6.20

---- Files affected:
SOURCES:
   linux-2.6-grsec-minimal.patch (1.1.2.20 -> 1.1.2.20.2.1) 

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-grsec-minimal.patch
diff -u SOURCES/linux-2.6-grsec-minimal.patch:1.1.2.20 SOURCES/linux-2.6-grsec-minimal.patch:1.1.2.20.2.1
--- SOURCES/linux-2.6-grsec-minimal.patch:1.1.2.20	Tue Jan  2 17:58:00 2007
+++ SOURCES/linux-2.6-grsec-minimal.patch	Sat Feb 17 19:38:40 2007
@@ -213,7 +213,7 @@
  		{"locks",	locks_read_proc},
  		{"execdomains",	execdomains_read_proc},
  		{NULL,}
-@@ -693,13 +697,26 @@ void __init proc_misc_init(void)
+@@ -735,6 +735,15 @@ void __init proc_misc_init(void) 
  	for (p = simple_ones; p->name; p++)
  		create_proc_read_entry(p->name, 0, NULL, p->read_proc, NULL);
  
@@ -229,9 +229,10 @@
  	proc_symlink("mounts", NULL, "self/mounts");
  
  	/* And now for trickier ones */
- 	entry = create_proc_entry("kmsg", S_IRUSR, &proc_root);
+@@ -743,7 +752,11 @@
  	if (entry)
  		entry->proc_fops = &proc_kmsg_operations;
+ #endif
 +#ifdef CONFIG_GRKERNSEC_PROC_ADD
 +	create_seq_entry("devices", gr_mode, &proc_devinfo_operations);
 +#else
@@ -1290,7 +1291,7 @@
 @@ -1992,6 +2048,9 @@ int proc_pid_readdir(struct file * filp,
  {
  	unsigned int nr = filp->f_pos - FIRST_PROCESS_ENTRY;
- 	struct task_struct *reaper = get_proc_task_real(filp->f_dentry->d_inode);
+ 	struct task_struct *reaper = get_proc_task_real(filp->f_path.dentry->d_inode);
 +#if defined(CONFIG_GRKERNSEC_PROC_USER) || defined(CONFIG_GRKERNSEC_PROC_USERGROUP)
 +	struct task_struct *tmp = current;
 +#endif
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/linux-2.6-grsec-minimal.patch?r1=1.1.2.20&r2=1.1.2.20.2.1&f=u



More information about the pld-cvs-commit mailing list