patch-1.3.73 linux/include/linux/kernel.h
Next file: linux/include/linux/msdos_fs_sb.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Mar 11 09:39:34 1996
- Orig file:
v1.3.72/linux/include/linux/kernel.h
- Orig date:
Fri Feb 23 13:54:38 1996
diff -u --recursive --new-file v1.3.72/linux/include/linux/kernel.h linux/include/linux/kernel.h
@@ -58,16 +58,9 @@
__attribute__ ((format (printf, 1, 2)));
/*
- * This is defined as a macro, but at some point this might become a
- * real subroutine that sets a flag if it returns true (to do
- * BSD-style accounting where the process is flagged if it uses root
- * privs). The implication of this is that you should do normal
- * permissions checks first, and check suser() last.
- *
* "suser()" checks against the effective user id, while "fsuser()"
* is used for file permission checking and checks against the fsuid..
*/
-#define suser() (current->euid == 0)
#define fsuser() (current->fsuid == 0)
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this