From owner-freebsd-security Sun Nov 12 10:18:23 1995 Return-Path: owner-security Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA17779 for security-outgoing; Sun, 12 Nov 1995 10:18:23 -0800 Received: from jhome.DIALix.COM (jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA17773 for ; Sun, 12 Nov 1995 10:18:14 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id CAA03915; Mon, 13 Nov 1995 02:15:21 +0800 Date: Mon, 13 Nov 1995 02:15:21 +0800 (WST) From: Peter Wemm To: David Greenman cc: ache@astral.msk.su, CVS-commiters@freefall.freebsd.org, security@freebsd.org Subject: Re: cvs commit: CVSROOT log_accum.pl In-Reply-To: <199511121803.KAA02195@corbin.Root.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-security@freebsd.org Precedence: bulk On Sun, 12 Nov 1995, David Greenman wrote: > >In message > > Peter Wemm writes: > > > >>I'm running a variant of what you proposed in my kernel at the moment.. > >> if (!SESS_LEADER(p)) > >> printf("setlogin called from a non session leader, pid %d\n", p->p_pid); > > > >>I do not doubt that your fix is a "good thing" and will be required sooner > >>or later, I just want to make sure we are not going to to have a hundred > >>bug reports "xdm doesn't work any more" or some other program that we're > >>not aware of yet. > > > >Peter, do you have any progress in this issue for now? > >Maybe it is time to commit my fix to -current? > > If we decide to change setlogin() so that it only works for session > leaders, then I'd prefer that we leave out the printf(). If you want to add > that to your own sources, fine, but I prefer to keep console noise minimized > to important failures. Yes; If it was to go in, IMHO it would have been better with log() anyway (like bde's "" == "." change). I guess the real question is; are we prepared to loose XFree86 3.1.2 xdm compatability until their next release? Maybe this isn't such a big deal anyway, because running xdm corrupts the session "name" anyway. -Peter > -DG >