Skip to contentSkip to conversation

audit syscall classes

PATCH Heiko Carstens 1 participant 1 message Jul 6, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 14 lines · Linux Kernel Mailing List

commit b915543b46a2aa599fdd2169e51bcfd88812a12b
tree 8025e6654829d4c245b5b6b6f47a84543ebffb7b
parent 6e5a2d1d32596850a0ebf7fb3e54c0d69901dabd
author Al Viro <[email protected]> Sat, 01 Jul 2006 11:56:16 -0400 committer Al Viro <[email protected]> Sat, 01 Jul 2006 15:44:10 -0400

[PATCH] audit syscall classes

Allow to tie upper bits of syscall bitmap in audit rules to kernel-defined sets of syscalls. Infrastructure, a couple of classes (with 32bit counterparts for biarch targets) and actual tie-in on i386, amd64 and ia64.

Quoted 15 lines
 arch/i386/kernel/Makefile               |    1 
 arch/i386/kernel/audit.c                |   23 ++++++++++++++++++
 arch/ia64/ia32/Makefile                 |    1 
 arch/ia64/ia32/audit.c                  |   11 +++++++++
 arch/ia64/kernel/Makefile               |    1 
 arch/ia64/kernel/audit.c                |   29 +++++++++++++++++++++++
 arch/x86_64/ia32/Makefile               |    3 ++
 arch/x86_64/ia32/audit.c                |   11 +++++++++
 arch/x86_64/kernel/Makefile             |    1 
 arch/x86_64/kernel/audit.c              |   29 +++++++++++++++++++++++
 include/asm-generic/audit_change_attr.h |   18 ++++++++++++++
 include/asm-generic/audit_dir_write.h   |   14 +++++++++++
 include/linux/audit.h                   |    7 +++++
 kernel/auditfilter.c                    |   39 ++++++++++++++++++++++++++++++++
 14 files changed, 188 insertions(+)

Excuse my ignorance, but this looks like every architecture needs to add something like this. If it is needed, is there some easy way to test the implementation?