]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
audit: support the "standard" <asm-generic/unistd.h>
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 2 May 2011 20:52:19 +0000 (16:52 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 4 May 2011 18:41:28 +0000 (14:41 -0400)
commitaaeb012fe4700cb808562c2daf7ccc464e7f18cf
treec46c547b8cc287acad328c2c937485349a0df456
parentd07bd86d82622247dba8cc29974d3860f857ea33
audit: support the "standard" <asm-generic/unistd.h>

Many of the syscalls mentioned in the audit code are not present
for architectures that implement only the "standard" set of
Linux syscalls (e.g. openat, but not open, etc.).  This change
adds proper #ifdefs for all those syscalls.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
include/asm-generic/audit_change_attr.h
include/asm-generic/audit_dir_write.h
include/asm-generic/audit_read.h
include/asm-generic/audit_write.h
lib/audit.c