aboutsummaryrefslogtreecommitdiff
path: root/contrib/sendmail/cf/feature/relay_hosts_only.m4
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2014-01-26 22:49:24 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2014-01-26 22:49:24 +0000
commit2482c270bb1343686d0ac2ed740396ba777f258f (patch)
tree28775373bb278ff01fa6de4fa0f841d005abb657 /contrib/sendmail/cf/feature/relay_hosts_only.m4
parent48f49aac531366b93e207718e2fbc015badb152d (diff)
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 Reviewed by: ed
Notes
Notes: svn path=/head/; revision=261193
Diffstat (limited to 'contrib/sendmail/cf/feature/relay_hosts_only.m4')
0 files changed, 0 insertions, 0 deletions