userns: Add user namespace support to IMA
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 26 May 2012 00:24:12 +0000 (18:24 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 21 Sep 2012 10:13:24 +0000 (03:13 -0700)
commit8b94eea4bfb8df693c5b35d08b74f13cfb92f3de
tree908ffbf4f0bb117ca47346712dc0e57f6434cda1
parentcf9c93526f4517581a9e8f1c0d9093a4c7748ec6
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>
init/Kconfig
security/integrity/ima/ima_audit.c
security/integrity/ima/ima_policy.c