]> git.baikalelectronics.ru Git - kernel.git/commit
eCryptfs: make key module subsystem respect namespaces
authorMichael Halcrow <mhalcrow@us.ibm.com>
Tue, 29 Apr 2008 07:59:52 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:07 +0000 (08:06 -0700)
commit1cfd9f4435e6a539dae1d0e2fb6117010b130fa1
treed65917432ffd0e6223dab3500819205433de22bd
parentea3a332f4c6bb91f06a9aed6cc43b6ed2ee928a1
eCryptfs: make key module subsystem respect namespaces

Make eCryptfs key module subsystem respect namespaces.

Since I will be removing the netlink interface in a future patch, I just made
changes to the netlink.c code so that it will not break the build.  With my
recent patches, the kernel module currently defaults to the device handle
interface rather than the netlink interface.

[akpm@linux-foundation.org: export free_user_ns()]
Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/ecryptfs_kernel.h
fs/ecryptfs/messaging.c
fs/ecryptfs/miscdev.c
fs/ecryptfs/netlink.c
kernel/user_namespace.c