On Thu, Aug 14, Tomas Mraz wrote:
On Čt, 2014-08-14 at 08:40 +0200, Robin Hack wrote:
> Hi all.
>
> I know that kernel will close opened file handlers on the end of process
> life... This will make coverity more happy and also it's good habit to
> cleanup your mess :).
I'd like to have an opinion of other Linux PAM upstream developers
whether we want to fix all these cases where we do not close file
descriptors before _exit().
Since _exit closes all open file descriptors, we should not add
the additional "close()" calls.
Thorsten
--
Thorsten Kukuk, Senior Architect SLES & Common Code Base
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)