diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-08-05 22:03:11 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-08-16 13:30:58 +0200 |
commit | 79402313dc0d7f854b4334dd427e03b7baf0b9db (patch) | |
tree | f08cf039ee45ae4bb47deb5f19af024eec9e146b /m4 | |
parent | af824bac568ebe8a03273f73246ac78b415ea756 (diff) | |
download | sssd-79402313dc0d7f854b4334dd427e03b7baf0b9db.tar.gz sssd-79402313dc0d7f854b4334dd427e03b7baf0b9db.tar.xz sssd-79402313dc0d7f854b4334dd427e03b7baf0b9db.zip |
Do not try to remove the temp login file if already renamed
write_selinux_string() would try to unlink the temporary file even after
it was renamed. Failure to unlink the file would not be fatal, but would
produce a confusing error message.
Also don't use "0" for the default fd number, that's reserved for stdin.
Using -1 is safer.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions