]> git.ipfire.org Git - thirdparty/shadow.git/commit
useradd: generate /var/spool/mail/$USER with the proper SELinux user identity 216/head
authorikerexxe <ipedrosa@redhat.com>
Wed, 5 Feb 2020 14:04:39 +0000 (15:04 +0100)
committerikerexxe <ipedrosa@redhat.com>
Wed, 19 Feb 2020 14:28:41 +0000 (15:28 +0100)
commit8a1e92aff17be6266d0dc89321082e062af05832
tree68b78107c34eb6b93736dc18f2a75d819981abca
parent2cc7da6058152ec0cd338d4e15d29bd7124ae3d7
useradd: generate /var/spool/mail/$USER with the proper SELinux user identity

Explanation: use set_selinux_file_context() and reset_selinux_file_context() for create_mail() just as is done for create_home()

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1690527
src/useradd.c