summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2023-05-08 09:02:43 +0200
committerDmitry V. Levin <ldv@strace.io>2023-05-11 05:16:06 +0000
commitb030a05e149c9c1a0855475ff690d849f720637f (patch)
tree9daa0d5f4b0feac313978b189aa2cb7d3928c699 /configure.ac
parentcbe0839c89116e9c33f35b3fe185c63493ec34b2 (diff)
downloadlinux-pam-git-b030a05e149c9c1a0855475ff690d849f720637f.tar.gz
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