From: David Howells Date: Fri, 10 Jul 2015 21:19:58 +0000 (-0400) Subject: selinux: Create a common helper to determine an inode label [ver #3] X-Git-Tag: omap-for-v4.3/fixes-rc1~70^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3c188b2c3ed29effe8693672ee1c84184103b4e;p=pandora-kernel.git selinux: Create a common helper to determine an inode label [ver #3] Create a common helper function to determine the label for a new inode. This is then used by: - may_create() - selinux_dentry_init_security() - selinux_inode_init_security() This will change the behaviour of the functions slightly, bringing them all into line. Suggested-by: Stephen Smalley Signed-off-by: David Howells Acked-by: Stephen Smalley Signed-off-by: Paul Moore --- Reading git-diff-tree failed