patch-2.1.31 linux/kernel/sys.c

Next file: linux/kernel/sysctl.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/kernel/sys.c linux/kernel/sys.c
@@ -893,14 +893,13 @@
 			gid_t *groups = current->groups;
 			do {
 				if (*groups == grp)
-					goto out;
+					break;
 				groups++;
 				i--;
 			} while (i);
 		}
 		return 0;
 	}
-out:
 	return 1;
 }
 

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