patch-1.3.78 linux/include/linux/sched.h
Next file: linux/include/linux/sdla.h
Previous file: linux/include/linux/posix_types.h
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon Mar 25 10:22:43 1996
-  Orig file: 
v1.3.77/linux/include/linux/sched.h
-  Orig date: 
Wed Mar 13 10:09:23 1996
diff -u --recursive --new-file v1.3.77/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -260,7 +260,7 @@
 #define PF_PTRACED	0x00000010	/* set if ptrace (0) has been called. */
 #define PF_TRACESYS	0x00000020	/* tracing system calls */
 #define PF_FORKNOEXEC	0x00000040	/* forked but didn't exec */
-#define PF_SUPERPREV	0x00000100	/* used super-user privileges */
+#define PF_SUPERPRIV	0x00000100	/* used super-user privileges */
 #define PF_DUMPCORE	0x00000200	/* dumped core */
 #define PF_SIGNALED	0x00000400	/* killed by a signal */
 
@@ -362,7 +362,7 @@
 extern inline int suser(void)
 {
 	if (current->euid == 0)
-		current->flags |= PF_SUPERPREV;
+		current->flags |= PF_SUPERPRIV;
 	return (current->euid == 0);
 }
 
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