diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2023-05-08 09:02:43 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-05-11 05:16:06 +0000 |
commit | b030a05e149c9c1a0855475ff690d849f720637f (patch) | |
tree | 9daa0d5f4b0feac313978b189aa2cb7d3928c699 /configure.ac | |
parent | cbe0839c89116e9c33f35b3fe185c63493ec34b2 (diff) | |
download | pam-b030a05e149c9c1a0855475ff690d849f720637f.tar.gz pam-b030a05e149c9c1a0855475ff690d849f720637f.tar.bz2 pam-b030a05e149c9c1a0855475ff690d849f720637f.zip |
pam_nologin: explicitly fail when nologin path is a directory
On some systems (e.g. GNU/Hurd), read() succeeds on the fd of a
directory; since the module assumes that read() fails (and thus
pam_modutil_read() as well), manually fail in case the open fd refers
to a directory.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions