diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2016-07-13 10:44:53 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-08-10 08:25:22 -0400 |
commit | a518b0a5b0d7f3397e065acb956bca9635aa892d (patch) | |
tree | bba2a0bb0bc1a5569dab8371b43367f4c5c10618 /.cocciconfig | |
parent | 2602625b7e46576b00db619ac788c508ba3bcb2c (diff) | |
download | op-kernel-dev-a518b0a5b0d7f3397e065acb956bca9635aa892d.zip op-kernel-dev-a518b0a5b0d7f3397e065acb956bca9635aa892d.tar.gz |
selinux: Implement dentry_create_files_as() hook
Calculate what would be the label of newly created file and set that
secid in the passed creds.
Context of the task which is actually creating file is retrieved from
set of creds passed in. (old->security).
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions