ima: add support for new "euid" policy condition

commit 139069eff7 upstream.

The new "euid" policy condition measures files with the specified
effective uid (euid).  In addition, for CAP_SETUID files it measures
files with the specified uid or suid.

Changelog:
- fixed checkpatch.pl warnings
- fixed avc denied {setuid} messages - based on Roberto's feedback

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Dr. Greg Wettstein <gw@idfusion.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Mimi Zohar 2014-11-05 07:48:36 -05:00 • committed by Luis Henriques
commit aced8cce2e
2 changed files with 25 additions and 5 deletions