kernel_optimize_test/arch
Nathaniel Husted 29ef73b7a8 Kernel: Audit Support For The ARM Platform
This patch provides functionality to audit system call events on the
ARM platform. The implementation was based off the structure of the
MIPS platform and information in this
(http://lists.fedoraproject.org/pipermail/arm/2009-October/000382.html)
mailing list thread. The required audit_syscall_exit and
audit_syscall_entry checks were added to ptrace using the standard
registers for system call values (r0 through r3). A thread information
flag was added for auditing (TIF_SYSCALL_AUDIT) and a meta-flag was
added (_TIF_SYSCALL_WORK) to simplify modifications to the syscall
entry/exit. Now, if either the TRACE flag is set or the AUDIT flag is
set, the syscall_trace function will be executed. The prober changes
were made to Kconfig to allow CONFIG_AUDITSYSCALL to be enabled.

Due to platform availability limitations, this patch was only tested
on the Android platform running the modified "android-goldfish-2.6.29"
kernel. A test compile was performed using Code Sourcery's
cross-compilation toolset and the current linux-3.0 stable kernel. The
changes compile without error. I'm hoping, due to the simple modifications,
the patch is "obviously correct".

Signed-off-by: Nathaniel Husted <nhusted@gmail.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
2012-01-17 16:17:01 -05:00
..
alpha Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
arm Kernel: Audit Support For The ARM Platform 2012-01-17 16:17:01 -05:00
avr32 Cleanups on various subarchitectures 2012-01-09 14:21:03 -08:00
blackfin Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
c6x C6X: replace tick_nohz_stop/restart_sched_tick calls 2012-01-08 15:13:16 -05:00
cris lib: use generic pci_iomap on all architectures 2012-01-10 18:04:27 -08:00
frv Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
h8300 Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
hexagon
ia64 audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
m32r Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2012-01-08 13:10:57 -08:00
m68k cpu: Register a generic CPU device on architectures that currently do not 2012-01-11 15:50:11 -08:00
microblaze audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
mips audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
mn10300 Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
openrisc cpu: Register a generic CPU device on architectures that currently do not 2012-01-11 15:50:11 -08:00
parisc lib: use generic pci_iomap on all architectures 2012-01-10 18:04:27 -08:00
powerpc audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
s390 audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
score cpu: Register a generic CPU device on architectures that currently do not 2012-01-11 15:50:11 -08:00
sh audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
sparc audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
tile Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
um audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
unicore32 Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci 2012-01-11 18:50:26 -08:00
x86 audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
xtensa audit: inline audit_syscall_entry to reduce burden on archs 2012-01-17 16:16:56 -05:00
.gitignore
Kconfig