userns: Add user namespace support to IMA

Use kuid's in the IMA rules.

When reporting the current uid in audit logs use from_kuid
to get a usable value.

Cc: Mimi Zohar <zohar@us.ibm.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
Eric W. Biederman
2012-05-25 18:24:12 -06:00
parent cf9c93526f
commit 8b94eea4bf
3 changed files with 10 additions and 13 deletions
-4
View File
@@ -923,10 +923,6 @@ config UIDGID_CONVERTED
bool
default y
# List of kernel pieces that need user namespace work
# Features
depends on IMA = n
# Networking
depends on NET_9P = n