+9
−14
+2
−4
+1
−1
+1
−2
+1
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>