SOURCES (hawk-LINUX_2_6): linux-2.6-grsec-minimal.patch - one more...
hawk
hawk at pld-linux.org
Mon May 7 16:49:45 CEST 2007
Author: hawk Date: Mon May 7 14:49:45 2007 GMT
Module: SOURCES Tag: hawk-LINUX_2_6
---- Log message:
- one more 2.6.21 fix
---- Files affected:
SOURCES:
linux-2.6-grsec-minimal.patch (1.1.2.20.4.5 -> 1.1.2.20.4.6)
---- Diffs:
================================================================
Index: SOURCES/linux-2.6-grsec-minimal.patch
diff -u SOURCES/linux-2.6-grsec-minimal.patch:1.1.2.20.4.5 SOURCES/linux-2.6-grsec-minimal.patch:1.1.2.20.4.6
--- SOURCES/linux-2.6-grsec-minimal.patch:1.1.2.20.4.5 Mon May 7 15:27:25 2007
+++ SOURCES/linux-2.6-grsec-minimal.patch Mon May 7 16:49:40 2007
@@ -1109,11 +1109,13 @@
{ .ctl_name = 0 }
};
-@@ -1295,6 +1335,8 @@ static int test_perm(int mode, int op)
+@@ -1233,6 +1249,10 @@ static int test_perm(int mode, int op)
static inline int ctl_perm(ctl_table *table, int op)
{
int error;
-+ if (table->de && gr_handle_sysctl_mod(table->de->parent->name, table->de->name, op))
++ if (table->parent != NULL && table->parent->procname != NULL &&
++ table->procname != NULL &&
++ gr_handle_sysctl_mod(table->parent->procname, table->procname, op))
+ return -EACCES;
error = security_sysctl(table, op);
if (error)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/linux-2.6-grsec-minimal.patch?r1=1.1.2.20.4.5&r2=1.1.2.20.4.6&f=u
More information about the pld-cvs-commit
mailing list