patch-2.0.30 linux/kernel/sysctl.c

Next file: linux/mm/swapfile.c
Previous file: linux/kernel/sys.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.29/linux/kernel/sysctl.c linux/kernel/sysctl.c
@@ -228,7 +228,7 @@
 {
 	int	i;
 
-	if (grp == current->euid)
+	if (grp == current->egid)
 		return 1;
 
 	for (i = 0; i < NGROUPS; i++) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov