Date: Wed, 29 Oct 2008 19:26:50 +0300 From: =?koi8-r?Q?=ED=C9=C8=C1=C9=CC_=EB=C9=D0=C1?= <msnkipa@mail.ru> To: freebsd-stable@freebsd.org Subject: Where is new session creation in init-getty-login Message-ID: <E1KvDsg-0005JZ-00.msnkipa-mail-ru@f177.mail.ru>
next in thread | raw e-mail | index | archive | help
I can`t find the place in the source where new session creates when I login via local terminal. There is no call to setsid() after init forks in start_getty(session_t *sp) and no calls to that function in getty and login. But when I login to the local terminal, exit and login again I will have different session ID`s (pid numbers of session leader process). So I wan`t to know where login process become a session leader? Mihail.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1KvDsg-0005JZ-00.msnkipa-mail-ru>