summaryrefslogtreecommitdiffstats
path: root/share/man/man9/suser.9
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-29 16:06:56 +0000
committerphk <phk@FreeBSD.org>2000-10-29 16:06:56 +0000
commitff5cdfae2d43687676881bd95b27cb1781a8baab (patch)
tree3a0dc85f55280f8af0b29effb14ef7ca2aacb220 /share/man/man9/suser.9
parent9c7c34c6a0baffc7ddae058f6497b0246a417f78 (diff)
downloadFreeBSD-src-ff5cdfae2d43687676881bd95b27cb1781a8baab.zip
FreeBSD-src-ff5cdfae2d43687676881bd95b27cb1781a8baab.tar.gz
Move suser() and suser_xxx() prototypes and a related #define from
<sys/proc.h> to <sys/systm.h>. Correctly document the #includes needed in the manpage. Add one now needed #include of <sys/systm.h>. Remove the consequent 48 unused #includes of <sys/proc.h>.
Diffstat (limited to 'share/man/man9/suser.9')
-rw-r--r--share/man/man9/suser.93
1 files changed, 1 insertions, 2 deletions
diff --git a/share/man/man9/suser.9 b/share/man/man9/suser.9
index ec63456..0677073 100644
--- a/share/man/man9/suser.9
+++ b/share/man/man9/suser.9
@@ -42,8 +42,7 @@
.Nd check if process has superuser privelige
.Sh SYNOPSIS
.Fd #include <sys/param.h>
-.Fd #include <sys/proc.h>
-.Fd #include <sys/ucred.h>
+.Fd #include <sys/systm.h>
.Ft int
.Fn suser "struct proc *proc"
.Ft int
OpenPOWER on IntegriCloud