Re: [PATCH] selinux: fix missing dput() before selinuxfs unmount

2018-04-09 Thread Linus Torvalds
On Mon, Apr 9, 2018 at 11:36 AM, Stephen Smalley wrote: > Commit 0619f0f5e36f ("selinux: wrap selinuxfs state") triggers > a BUG when SELinux is runtime-disabled (i.e. systemd or equivalent > disables SELinux before initial policy load via /sys/fs/selinux/disable > based on /etc/selinux/config SEL

[PATCH] selinux: fix missing dput() before selinuxfs unmount

2018-04-09 Thread Stephen Smalley
Commit 0619f0f5e36f ("selinux: wrap selinuxfs state") triggers a BUG when SELinux is runtime-disabled (i.e. systemd or equivalent disables SELinux before initial policy load via /sys/fs/selinux/disable based on /etc/selinux/config SELINUX=disabled). This does not manifest if SELinux is disabled vi