]> git.baikalelectronics.ru Git - kernel.git/commit
audit mmap
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 30 Oct 2010 06:54:44 +0000 (02:54 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 30 Oct 2010 12:45:43 +0000 (08:45 -0400)
commitb402452533a923c54e26b1583b13a3655d51638b
tree14e0f5ab35e9397f4a1b2f5e24b8394a601aa409
parent66e4004dc31081c3608ea384ebf5b7a28a012892
audit mmap

Normal syscall audit doesn't catch 5th argument of syscall.  It also
doesn't catch the contents of userland structures pointed to be
syscall argument, so for both old and new mmap(2) ABI it doesn't
record the descriptor we are mapping.  For old one it also misses
flags.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/audit.h
kernel/auditsc.c
mm/mmap.c
mm/nommu.c