diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2024-01-04 17:46:49 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2024-01-04 17:46:49 +0100 |
commit | 8a400c3d15a1beefb2d804c176b806566091ded8 (patch) | |
tree | b357e542ec1bead3094abee16174881a312453fb /modules/pam_timestamp | |
parent | 4fbed4be20377e5b1a6e71f572eb28ed049ed3fe (diff) | |
download | pam-8a400c3d15a1beefb2d804c176b806566091ded8.tar.gz pam-8a400c3d15a1beefb2d804c176b806566091ded8.tar.bz2 pam-8a400c3d15a1beefb2d804c176b806566091ded8.zip |
pam_filter: drop invalid tty hack
The open(3) flag O_NOCTTY does not detach the calling process from the
opened file descriptor, like TIOCNOTTY, see tty(4), does.
Drop the invalid hack to avoid the file descriptor being leaked.
Reported by cppcheck.
Diffstat (limited to 'modules/pam_timestamp')
0 files changed, 0 insertions, 0 deletions