diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-02-07 19:53:48 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-09-18 04:00:26 -0400 |
commit | cca080d9b622094831672a136e5ee4f702d116b1 (patch) | |
tree | 7a8238c1c0a0d4de682e0ebb97dc06ab3a18fdb5 /init | |
parent | e1760bd5ffae8cb98cffb030ee8e631eba28f3d8 (diff) |
userns: Convert audit to work with user namespaces enabled
- Explicitly format uids gids in audit messges in the initial user
namespace. This is safe because auditd is restrected to be in
the initial user namespace.
- Convert audit_sig_uid into a kuid_t.
- Enable building the audit code and user namespaces at the same time.
The net result is that the audit subsystem now uses kuid_t and kgid_t whenever
possible making it almost impossible to confuse a raw uid_t with a kuid_t
preventing bugs.
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig index fd8696b1a81e..b5ecb4e75518 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -927,8 +927,6 @@ config UIDGID_CONVERTED | |||
927 | # Features | 927 | # Features |
928 | depends on IMA = n | 928 | depends on IMA = n |
929 | depends on EVM = n | 929 | depends on EVM = n |
930 | depends on AUDIT = n | ||
931 | depends on AUDITSYSCALL = n | ||
932 | depends on TASKSTATS = n | 930 | depends on TASKSTATS = n |
933 | depends on TRACING = n | 931 | depends on TRACING = n |
934 | depends on FS_POSIX_ACL = n | 932 | depends on FS_POSIX_ACL = n |