From: Paul M. <le...@li...> - 2007-11-07 15:24:57
|
On Wed, Nov 07, 2007 at 10:15:33AM -0500, Steve Grubb wrote: > On Wednesday 07 November 2007 12:04:46 am Yuichi Nakamura wrote: > > I found syscall audit does not work on SH(SuperH). > > I made patch to support syscall audit for SH. > > I think this is close, but it looks like you missed the syscall classification > piece. You can find an example here: > > arch/x86_64/kernel/audit.c > > Its used for determining which syscalls we are interested in for watches. > Looking at this, it seems like the classification stuff for 32-bit is generic, it's just the compat bits that are special cased and wrap back in through the 32-bit classifier. Is there any point in keeping the 32-bit audit.c rather than simply moving it to kernel/ or lib/ and leaving the arch/ bits as compat wrappers only? At least powerpc, x86, and ia64 look like they could go that way. |