summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-05-29 21:34:00 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-05-29 21:34:00 +0000
commitb7a6926524f7aa6d7dcd3c553991be610ab0da55 (patch)
treea07a43e9a62a339326fda4373312ab1f81013a6f /lib
parent7fceea211587eb39dc724d295c2ba28876d01eb2 (diff)
mention setusercontext() return value
Diffstat (limited to 'lib')
-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: