Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2000 02:30:19 +1000 (EST)
From:      andrew@ugh.net.au
To:        Terry Lambert <tlambert@primenet.com>
Cc:        Ryan Thompson <ryan@sasknow.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Logging users out
Message-ID:  <Pine.BSF.4.21.0010312012070.55112-100000@starbug.ugh.net.au>
In-Reply-To: <200010310830.BAA27815@usr02.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010312012070.55112-100000>