SOURCES: grsecurity-2.1.10-2.4.34-200701222213.patch - fix, as usual

qboosh qboosh at pld-linux.org
Mon Feb 19 14:46:58 CET 2007


Author: qboosh                       Date: Mon Feb 19 13:46:58 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix, as usual

---- Files affected:
SOURCES:
   grsecurity-2.1.10-2.4.34-200701222213.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/grsecurity-2.1.10-2.4.34-200701222213.patch
diff -u SOURCES/grsecurity-2.1.10-2.4.34-200701222213.patch:1.2 SOURCES/grsecurity-2.1.10-2.4.34-200701222213.patch:1.3
--- SOURCES/grsecurity-2.1.10-2.4.34-200701222213.patch:1.2	Mon Feb 19 13:44:48 2007
+++ SOURCES/grsecurity-2.1.10-2.4.34-200701222213.patch	Mon Feb 19 14:46:53 2007
@@ -15549,7 +15549,7 @@
 +gr_handle_chroot_setpriority(const struct task_struct *p, const int niceval)
 +{
 +#ifdef CONFIG_GRKERNSEC_CHROOT_NICE
-+	if (grsec_enable_chroot_nice && (niceval < p->nice)
++	if (grsec_enable_chroot_nice && (niceval < task_nice(p))
 +			&& proc_is_chrooted(current)) {
 +		gr_log_str_int(GR_DONT_AUDIT, GR_PRIORITY_CHROOT_MSG, p->comm, p->pid);
 +		return -EACCES;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/grsecurity-2.1.10-2.4.34-200701222213.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list