patch-2.1.108 linux/fs/fcntl.c
Next file: linux/fs/proc/array.c
Previous file: linux/fs/coda/stats.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jun 29 23:22:29 1998
- Orig file:
v2.1.107/linux/fs/fcntl.c
- Orig date:
Sun Jun 7 11:16:36 1998
diff -u --recursive --new-file v2.1.107/linux/fs/fcntl.c linux/fs/fcntl.c
@@ -191,7 +191,7 @@
match = -p->pgrp;
if (pid != match)
continue;
- if (!euid &&
+ if ((euid != 0) &&
(euid ^ p->suid) && (euid ^ p->uid) &&
(uid ^ p->suid) && (uid ^ p->uid))
continue;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov