patch-2.2.18 linux/fs/exec.c
Next file: linux/fs/ext2/balloc.c
Previous file: linux/fs/dquot.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Nov 28 16:35:07 2000
- Orig file:
v2.2.17/fs/exec.c
- Orig date:
Sat Sep 9 18:42:46 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/fs/exec.c linux/fs/exec.c
@@ -705,6 +705,8 @@
if (current->euid != current->uid || current->egid != current->gid ||
!cap_issubset(new_permitted, current->cap_permitted))
current->dumpable = 0;
+
+ current->keep_capabilities = 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)