summaryrefslogtreecommitdiffstats
path: root/kernel/user_namespace.c
diff options
context:
space:
mode:
authorDavid Howells2008-11-14 00:39:22 +0100
committerJames Morris2008-11-14 00:39:22 +0100
commit745ca2475a6ac596e3d8d37c2759c0fbe2586227 (patch)
treef87c34bdfbc8542477b16a014bbb4e3b415b286a /kernel/user_namespace.c
parentCRED: Make inode_has_perm() and file_has_perm() take a cred pointer (diff)
downloadkernel-qcow2-linux-745ca2475a6ac596e3d8d37c2759c0fbe2586227.tar.gz
kernel-qcow2-linux-745ca2475a6ac596e3d8d37c2759c0fbe2586227.tar.xz
kernel-qcow2-linux-745ca2475a6ac596e3d8d37c2759c0fbe2586227.zip
CRED: Pass credentials through dentry_open()
Pass credentials through dentry_open() so that the COW creds patch can have SELinux's flush_unauthorized_files() pass the appropriate creds back to itself when it opens its null chardev. The security_dentry_open() call also now takes a creds pointer, as does the dentry_open hook in struct security_operations. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions