diff options
author | David Howells <dhowells@redhat.com> | 2015-07-10 17:19:58 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-07-13 13:31:59 -0400 |
commit | c3c188b2c3ed29effe8693672ee1c84184103b4e (patch) | |
tree | 54782e4ec8029c70b7acf0ad684a34b7b1e84b98 /scripts | |
parent | bd1741f4cf05d7709348f591d16eeb5f786de673 (diff) | |
download | op-kernel-dev-c3c188b2c3ed29effe8693672ee1c84184103b4e.zip op-kernel-dev-c3c188b2c3ed29effe8693672ee1c84184103b4e.tar.gz |
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 <sds@tycho.nsa.gov>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions