patch-2.0.35 linux/fs/fcntl.c
Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/fat/dir.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Jul 13 13:47:35 1998
- Orig file:
v2.0.34/linux/fs/fcntl.c
- Orig date:
Tue Sep 16 15:47:57 1997
diff -u --recursive --new-file v2.0.34/linux/fs/fcntl.c linux/fs/fcntl.c
@@ -102,7 +102,7 @@
/*
* XXX If f_owner is a process group, the
* negative return value will get converted
- * into an error. Oops. If we keep the the
+ * into an error. Oops. If we keep the
* current syscall conventions, the only way
* to fix this will be in libc.
*/
@@ -134,7 +134,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