diff options
author | Eric Paris <eparis@redhat.com> | 2008-11-11 21:48:22 +1100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-11-11 21:48:22 +1100 |
commit | e68b75a027bb94066576139ee33676264f867b87 (patch) | |
tree | 2c31f59a4abe9d7bb3cb75fdf3b57772feeeb6f6 /README | |
parent | 3fc689e96c0c90b6fede5946d6c31075e9464f69 (diff) | |
download | linux-e68b75a027bb94066576139ee33676264f867b87.tar.gz linux-e68b75a027bb94066576139ee33676264f867b87.tar.bz2 linux-e68b75a027bb94066576139ee33676264f867b87.zip |
When the capset syscall is used it is not possible for audit to record the
actual capbilities being added/removed. This patch adds a new record type
which emits the target pid and the eff, inh, and perm cap sets.
example output if you audit capset syscalls would be:
type=SYSCALL msg=audit(1225743140.465:76): arch=c000003e syscall=126 success=yes exit=0 a0=17f2014 a1=17f201c a2=80000000 a3=7fff2ab7f060 items=0 ppid=2160 pid=2223 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="setcap" exe="/usr/sbin/setcap" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)
type=UNKNOWN[1322] msg=audit(1225743140.465:76): pid=0 cap_pi=ffffffffffffffff cap_pp=ffffffffffffffff cap_pe=ffffffffffffffff
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions