summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_selinux.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-08-05 22:03:11 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-08-16 13:30:58 +0200
commit79402313dc0d7f854b4334dd427e03b7baf0b9db (patch)
treef08cf039ee45ae4bb47deb5f19af024eec9e146b /src/db/sysdb_selinux.c
parentaf824bac568ebe8a03273f73246ac78b415ea756 (diff)
downloadsssd_unused-79402313dc0d7f854b4334dd427e03b7baf0b9db.tar.gz
sssd_unused-79402313dc0d7f854b4334dd427e03b7baf0b9db.tar.xz
sssd_unused-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 'src/db/sysdb_selinux.c')
0 files changed, 0 insertions, 0 deletions