From 44f924bc6ccfe9f0d8b78ffbcc19975ba1a230e0 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 22 Jan 2021 02:45:33 +0100 Subject: [PATCH] doc: Document userplex' use of setsid(). --- doc/userplex.doc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/userplex.doc b/doc/userplex.doc index 1269073..db59dd9 100644 --- a/doc/userplex.doc +++ b/doc/userplex.doc @@ -99,6 +99,8 @@ LOGIN As part of the login procedure, *userplex* does the following: + * A new session is entered (with *setsid*(2)). + * The UID, GID and auxiliary groups of the new process are changed accordingly. For testing purposes, *userplex* may be running as a user other than root, and the child process will, then, simply exit -- 2.11.0