From owner-freebsd-doc Fri Jan 19 12:51:14 2001 Delivered-To: freebsd-doc@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 90ADB37B401 for ; Fri, 19 Jan 2001 12:50:57 -0800 (PST) Received: from hamlet.nectar.com (hamlet.nectar.com [10.0.1.102]) by gw.nectar.com (Postfix) with ESMTP id 187ED193EE for ; Fri, 19 Jan 2001 14:50:56 -0600 (CST) Received: (from nectar@localhost) by hamlet.nectar.com (8.11.1/8.9.3) id f0JKouo67171 for freebsd-doc@freebsd.org; Fri, 19 Jan 2001 14:50:56 -0600 (CST) (envelope-from nectar@spawn.nectar.com) Date: Fri, 19 Jan 2001 14:50:56 -0600 From: "Jacques A. Vidrine" To: freebsd-doc@freebsd.org Subject: doc committer, please review and update setreuid(2) Message-ID: <20010119145055.F66917@hamlet.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , freebsd-doc@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Url: http://www.nectar.com/ Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Good Folks, Please review for style and commit this patch to setreuid(2). Thanks much! -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org --- /usr/src/lib/libc/sys/setreuid.2 Sun Sep 24 13:01:04 2000 +++ setreuid.2 Fri Jan 19 14:45:23 2001 @@ -56,6 +56,11 @@ ID to the effective user ID and vice-versa; only the super-user may make other changes. .Pp +If the real user ID is changed (i.e. +.Fa ruid +is not -1) or the effective user ID is changed to something other than +the real user ID, then the saved user ID will be set to the effective user ID. +.Pp The .Fn setreuid function has been used to swap the real and effective user IDs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message