commit | db978da8fa1d0819b210c137d31a339149b88875 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Thu Nov 10 22:18:28 2016 +0100 |
committer | Paul Moore <paul@paul-moore.com> | Mon Nov 14 15:39:48 2016 -0500 |
tree | 877976508c0ebadc5372fecdb82f0e91121c1c1a | |
parent | 420591128cb206201dc444c2d42fb6f299b2ecd0 [diff] |
proc: Pass file mode to proc_pid_make_inode Pass the file mode of the proc inode to be created to proc_pid_make_inode. In proc_pid_make_inode, initialize inode->i_mode before calling security_task_to_inode. This allows selinux to set isec->sclass right away without introducing "half-initialized" inode security structs. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>