summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/c-cppbuiltin.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2014-04-06 10:56:27 +0000
committerjilles <jilles@FreeBSD.org>2014-04-06 10:56:27 +0000
commit68268e8fb3ae5c79091f06e6c61a1858b82d1f64 (patch)
tree04b30fdcae15b63f04db7cac3e8002a36933ef3e /contrib/gcc/c-cppbuiltin.c
parenta3f8ed8103c77a93817b34e4aba4a8758e84d9db (diff)
downloadFreeBSD-src-68268e8fb3ae5c79091f06e6c61a1858b82d1f64.zip
FreeBSD-src-68268e8fb3ae5c79091f06e6c61a1858b82d1f64.tar.gz
login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM.
This avoids leaving stale entries in utmpx after the connection is closed on an open login session. It also allows a clean way (SIGTERM) to forcibly terminate a user's terminal session. This does not affect the situation for "hung" processes after the connection is closed. The foreground process group receives SIGHUP and the tty becomes inaccessible. Also replace all use of the obsolete signal() function with sigaction() (not only the part where it is actually required: SIGHUP and SIGTERM must mask the other as well when caught). PR: misc/183495
Diffstat (limited to 'contrib/gcc/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud