commit | a518b0a5b0d7f3397e065acb956bca9635aa892d | [log] [tgz] |
---|---|---|
author | Vivek Goyal <vgoyal@redhat.com> | Wed Jul 13 10:44:53 2016 -0400 |
committer | Paul Moore <paul@paul-moore.com> | Wed Aug 10 08:25:22 2016 -0400 |
tree | bba2a0bb0bc1a5569dab8371b43367f4c5c10618 | |
parent | 2602625b7e46576b00db619ac788c508ba3bcb2c [diff] |
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>