From owner-freebsd-current Fri Jan 3 11:55:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA10903 for current-outgoing; Fri, 3 Jan 1997 11:55:18 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id LAA10868 for ; Fri, 3 Jan 1997 11:54:31 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id UAA18103 for ; Fri, 3 Jan 1997 20:51:21 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id UAA18393 for current@FreeBSD.ORG; Fri, 3 Jan 1997 20:51:20 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id UAA15828; Fri, 3 Jan 1997 20:39:49 +0100 (MET) Message-ID: Date: Fri, 3 Jan 1997 20:39:48 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: current@FreeBSD.ORG Subject: Re: utmp changes References: <199701031737.JAA00399@precipice.shockwave.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199701031737.JAA00399@precipice.shockwave.com>; from Paul Traina on Jan 3, 1997 09:37:19 -0800 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Paul Traina wrote: > I believe P-H wanted a larger field for the host size (16 is silly) and > an additional field for the IPv[46] address. If so, let's get them done > now before we have to re-compile and link every application twice. Well, `once' is already done now. So however you look at it, most people running -current have already upgraded their X11 etc. stuff, now there's no need to rush it again. But yes, it should happen before 3.0 will eventually ship. > (I'm really unhappy about X11 code changing. Perhaps it's time to augment > the utmp/wtmp write stuff in libutil into a full blown read/write package?) Yes, i've also suggested this to the XFree86 folks. Well, waddayathink why i wrote the libutil manpages recently? :-) It turns out that most of the functionality required is already there, except login(3) is too braindead to be used. We should probably replace every use of this function by a subsequent call to logutmp(3) (yet to be written) and logwtmp(3) (already there), and move out login(3) to libcompat. X11 should also move towards using the openpty(3)/forkpty(3) interface. If it had done this earlier, the previous vulnerability where xterm didn't revoke(2) its pty first would not have existed. Also, if we later decide to provide a better pty allocation scheme (something like a pty master device), we only have to upgrade libutil accordingly. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)