summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/login_cap.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/gen/login_cap.3 b/lib/libc/gen/login_cap.3
index 105d853edf7..8c4f2c1c2b0 100644
--- a/lib/libc/gen/login_cap.3
+++ b/lib/libc/gen/login_cap.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: login_cap.3,v 1.4 2000/12/24 00:30:50 aaron Exp $
+.\" $OpenBSD: login_cap.3,v 1.5 2001/05/29 21:33:59 millert Exp $
.\" BSDI $From: login_cap.3,v 1.4 1997/11/07 16:22:27 jch Exp $
.\"
.Dd July 16, 1996
@@ -224,6 +224,9 @@ argument is used in place of the user ID contained in the
.Ar pwd
structure when calling
.Xr setuid 2 .
+The
+.Fn setusercontext
+function returns 0 on success and -1 on failure.
The various bits available to be or-ed together to make up
.Ar flags
are: