On Wed, Apr 02, 2014 at 11:56:23AM -0400, Richard Guy Briggs wrote:
(Adding dwmw2 who might give some insight on the purpose of __AUDIT_ARCH_LE
to cc.)
> > this is the first cut of the MIPS auditing patches. MIPS doesn't quite
> > fit into the existing pattern of other architectures and I'd appr
These are the userland patches to go along with the recently posted
kernel patches. Many of the comments posted along with those also apply
here, in particular wrt. to the ABI situation.
Signed-off-by: Ralf Baechle
---
lib/Makefile.am| 23 +++-
lib/libaudit.c | 37
UDIT_ARCH_ALT)
#define AUDIT_ARCH_MIPS64EL_N32 (EM_MIPS|__AUDIT_ARCH_ALT|__AUDIT_ARCH_LE
N32 is a 32-bit ABI but one that only runs on 64-bit processors as it
uses 64-bit registers for 64-bit integers. So I'm uncertain if the
__AUDIT_ARCH_64BIT flags should be set or not.
This is the first cut of the MIPS auditing patches. MIPS doesn't quite
fit into the existing pattern of other architectures and I'd appreciate
your comments and maybe even an Acked-by for the kernel part so I can
feed that upstream.
Ralf
Changes to v2:
The kernel patch went stale due to anoth
These are the userland patches to go along with the recently posted
kernel patches. Many of the comments posted along with those also apply
here, in particular wrt. to the ABI situation.
Signed-off-by: Ralf Baechle
---
lib/Makefile.am| 23 +++-
lib/libaudit.c | 37
UDIT_ARCH_ALT)
#define AUDIT_ARCH_MIPS64EL_N32 (EM_MIPS|__AUDIT_ARCH_ALT|__AUDIT_ARCH_LE
N32 is a 32-bit ABI but one that only runs on 64-bit processors as it
uses 64-bit registers for 64-bit integers. So I'm uncertain if the
__AUDIT_ARCH_64BIT flags should be set or not.
Thanks i