From owner-freebsd-hackers Sat Nov 4 8:30:26 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id EFE1B37B479 for ; Sat, 4 Nov 2000 08:30:21 -0800 (PST) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 618A4A82B; Sun, 5 Nov 2000 03:30:19 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id 50F825464; Sun, 5 Nov 2000 02:30:19 +1000 (EST) Date: Sun, 5 Nov 2000 02:30:19 +1000 (EST) From: andrew@ugh.net.au To: Terry Lambert Cc: Ryan Thompson , freebsd-hackers@FreeBSD.ORG Subject: Re: Logging users out In-Reply-To: <200010310830.BAA27815@usr02.primenet.com> Message-ID: X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 31 Oct 2000, Terry Lambert wrote: > (struct tty *)->t_pgrp->pg_id > > Which is the process ID of the group leader of the foregroun > group. Isn't this what tcgetpgrp returns? Problem with this is that it probably isn't the PID of the session leader. Wouldn't I need (struct tty *)->t_session->s_leader->p_pid? Of course I could be wrong :-) > Or you could just make revoke do its thing in the right order > instead of the wrong order, I've been looking at that...but it takes a lot of looking it seems :-). I shall persevere. Thanks, Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message