Subject: Re: wall and no tty
To: Christos Zoulas <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 10/27/2004 17:47:40
On Wed, Oct 27, 2004 at 10:05:12AM -0400, Christos Zoulas wrote:
> | and never call check_sender() ?
> | But then this would revert wall.c 1.23, which was the fix for PR/7713.
> No, just skip the check in check_sender if we cannot find the tty of the user.
> I.e. s/if (myuid == 0)//
Ha, OK. Yes, this would be OK for wall, but write() uses check_sender() too,
and it doesn't deal with check_sender() returning NULL (but should be as simple
as if (mytty == NULL) errx("...");)
Manuel Bouyer <firstname.lastname@example.org>
NetBSD: 26 ans d'experience feront toujours la difference