Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 121250
Collapse All | Expand All

(-)linux-2.6.14-grsec-2.1.8-2.6.14.6-200601211647/grsecurity/grsec_sysctl.c (-1 / +2 lines)
Lines 18-24 gr_handle_sysctl_mod(const char *dirname Link Here
18
	}
18
	}
19
#endif
19
#endif
20
#ifdef CONFIG_GRKERNSEC_MODSTOP
20
#ifdef CONFIG_GRKERNSEC_MODSTOP
21
	if (!strcmp(dirname, "grsecurity") && grsec_modstop && (op & 002)) {
21
	if (!strcmp(dirname, "grsecurity") && !strcmp(name, "disable_modules") &&
22
	    grsec_modstop && (op & 002)) {
22
		gr_log_str(GR_DONT_AUDIT, GR_SYSCTL_MSG, name);
23
		gr_log_str(GR_DONT_AUDIT, GR_SYSCTL_MSG, name);
23
		return -EACCES;
24
		return -EACCES;
24
	}
25
	}

Return to bug 121250