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.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"