summaryrefslogtreecommitdiffstats
path: root/src/util/memory.c
diff options
context:
space:
mode:
authorPetr Cech <pcech@redhat.com>2015-10-06 07:57:17 -0400
committerJakub Hrozek <jhrozek@redhat.com>2015-10-14 13:27:21 +0200
commita0ad4f2a4a342214acd4ab4b77cc5ccce22b35ad (patch)
tree27435de0e6cdfdd15b34383ffdf1071a8eaa26e8 /src/util/memory.c
parentae627e216689b0a5834f36aaaa007ed584ef033d (diff)
downloadsssd-a0ad4f2a4a342214acd4ab4b77cc5ccce22b35ad.tar.gz
sssd-a0ad4f2a4a342214acd4ab4b77cc5ccce22b35ad.tar.xz
sssd-a0ad4f2a4a342214acd4ab4b77cc5ccce22b35ad.zip
UTILS: More restrictive permissions in domain_info
There are two occurances of creating temp. file under SSS_DFL_X_UMASK permissions which enable possibility to grant executable permission. After writting to those temp. files, they are renamed and they get 0644 permissions. So SSS_DFL_UMASK is good enough fot this case. Resolves: https://fedorahosted.org/sssd/ticket/2424 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/util/memory.c')
0 files changed, 0 insertions, 0 deletions