Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2001 13:17:36 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        rwatson@FreeBSD.ORG
Cc:        arch@FreeBSD.ORG
Subject:   Re: /etc/ttys, /var/run/utmp, ttyslot(3) and {get|put}utx* API
Message-ID:  <200111071817.fA7IHaT22823@khavrinen.lcs.mit.edu>
In-Reply-To: <Pine.NEB.3.96L.1011107074837.14344B-100000@fledge.watson.org>
References:  <15786.1004869680@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <Pine.NEB.3.96L.1011107074837.14344B-100000@fledge.watson.org> you write:
>On occasion, I've wondered if this information couldn't be stored
>in-kernel and managed using calls similar to get/setlogin().

In point of fact, some of it is stored in the kernel and managed using
precisely those calls!

Every tty being used for a login is the controlling terminal of some
process group, which is associated with a particular session.
lognames are stored in the session structure.

- -GAWollman

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE76XqxI+eG6b7tlG4RAoqdAKCYknx2Y4x7+5/PZP+zuty/FJJxRACgk+RR
TZTrFanNvcxfH7lj2y1Alro=
=DJMF
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111071817.fA7IHaT22823>