diff options
Diffstat (limited to 'contrib/openbsm/man/setauid.2')
-rw-r--r-- | contrib/openbsm/man/setauid.2 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/contrib/openbsm/man/setauid.2 b/contrib/openbsm/man/setauid.2 index a736a34..770c32b 100644 --- a/contrib/openbsm/man/setauid.2 +++ b/contrib/openbsm/man/setauid.2 @@ -1,5 +1,6 @@ .\"- .\" Copyright (c) 2005 Robert N. M. Watson +.\" Copyright (c) 2008 Apple Inc. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -23,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $P4: //depot/projects/trustedbsd/openbsm/man/setauid.2#7 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/man/setauid.2#9 $ .\" .Dd April 19, 2005 .Dt SETAUID 2 @@ -47,6 +48,18 @@ pointed to by This system call requires an appropriate privilege to complete. .Sh RETURN VALUES .Rv -std +.Sh ERRORS +The +.Fn setauid +function will fail if: +.Bl -tag -width Er +.It Bq Er EFAULT +A failure occurred while data transferred to +the kernel failed. +.It Bq Er EPERM +The process does not have sufficient permission to complete +the operation. +.El .Sh SEE ALSO .Xr audit 2 , .Xr auditon 2 , |