summaryrefslogtreecommitdiff
path: root/static/v10/man2/setuid.2
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/v10/man2/setuid.2
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/v10/man2/setuid.2')
-rw-r--r--static/v10/man2/setuid.250
1 files changed, 0 insertions, 50 deletions
diff --git a/static/v10/man2/setuid.2 b/static/v10/man2/setuid.2
deleted file mode 100644
index 80bf9121..00000000
--- a/static/v10/man2/setuid.2
+++ /dev/null
@@ -1,50 +0,0 @@
-.TH SETUID 2
-.CT 2 sa secur
-.SH NAME
-setuid, setgid, setruid, setlogname \(mi set userid and groupid
-.SH SYNOPSIS
-.nf
-.B int setuid(uid)
-.PP
-.B int setgid(gid)
-.PP
-.B int setruid(uid)
-.PP
-.B int setlogname(buf)
-.B char buf[8];
-.fi
-.SH DESCRIPTION
-.I Setuid
-.RI ( setgid )
-sets the effective and real userid (groupid) of the current process to
-.I uid
-.RI ( gid ).
-Both the effective and the real userid (groupid) are set.
-.I Setruid
-only sets the real userid.
-These calls are only permitted to the super-user
-or if the argument is the real or effective userid.
-.I Setruid
-may only be used by the super-user.
-.PP
-.I Setlogname
-sets the login name
-returned by
-.IR getlogname .
-Only the super-user may use this call.
-For all of these calls, capability
-.B T_UAREA
-is required whenever superuser status is required; see
-.IR getplab (2).
-.PP
-Certain ids have predefined uses:
-.IP
-uid 0 superuser
-.br
-gid \-1 automatically assigned to /proc files
-.SH "SEE ALSO"
-.IR getuid (2)
-.SH DIAGNOSTICS
-.B EFAULT
-.RI ( "setlogname " only),
-.B EPERM