From owner-freebsd-commit Fri Feb 23 02:28:27 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA26149 for freebsd-commit-outgoing; Fri, 23 Feb 1996 02:28:27 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA26138 for cvs-all-outgoing; Fri, 23 Feb 1996 02:28:22 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA26071 Fri, 23 Feb 1996 02:28:05 -0800 (PST) Date: Fri, 23 Feb 1996 02:28:05 -0800 (PST) From: Peter Wemm Message-Id: <199602231028.CAA26071@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys getlogin.2 Sender: owner-commit@FreeBSD.ORG Precedence: bulk peter 96/02/23 02:28:04 Modified: lib/libc/sys getlogin.2 Log: Add a dire warning about misusing the setlogin() system call. Be very explicit that it is global to the entire "session", and that setsid() or daemon() are need to have been called at some point. The most notable offender of setlogin() misuse is XFree86's xdm. Revision Changes Path 1.2 +46 -1 src/lib/libc/sys/getlogin.2