]> git.baikalelectronics.ru Git - kernel.git/commit
audit: allow matching on obj_uid
authorEric Paris <eparis@redhat.com>
Tue, 3 Jan 2012 19:23:07 +0000 (14:23 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 17 Jan 2012 21:16:59 +0000 (16:16 -0500)
commitec0c12cad05d49cfca9cf0e624adfb79ce8000cb
treea59ee886b609bbf761fb75744e5e468264c67ab5
parent24a72df0b99f9402a286de1a365270cd474dcea2
audit: allow matching on obj_uid

Allow syscall exit filter matching based on the uid of the owner of an
inode used in a syscall.  aka:

auditctl -a always,exit -S open -F obj_uid=0 -F perm=wa

Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/audit.h
kernel/auditfilter.c
kernel/auditsc.c