[Christian Sievers]
> There may be a prefered way to close pam's file descriptors that I
> don't know. A simple fix is to just unconditionally close file
> descriptor 0 again.
I believe a better way to fix this is to move the closing of the PAM
session below the point where stdin is reopened. He
Package: at
Version: 3.1.10
Severity: normal
Tags: patch
When atd is about to send a mail, it opens the jobfile and
expects open() to return file descriptor 0.
This is usually fine, as atd closes all files.
Unfortunately, pam may then get this file descriptor.
I have indeed seen the open()ing of t
2 matches
Mail list logo