[PATCH] audit: add ppc64 mach support

Tony Jones tonyj at suse.de
Tue Dec 2 21:27:05 UTC 2014


On 12/02/2014 12:29 PM, Steve Grubb wrote:
> On Tuesday, December 02, 2014 03:18:35 PM Paul Moore wrote:
>> On Monday, December 01, 2014 03:58:09 PM Tony Jones wrote:
>>> Mainline kernel reports ppc64le (per
>>> a0588015deab1844261b27a67ae6f5b910fe2830) but there is no matching
>>> AUDIT_ARCH_PPC64LE.  Eric just pinged me on irc about it.   Fix to add it
>>> to include/uapi/linux/audit.h shoudld probably go upstream.
>>
>> Untested, uncompiled too, but beyond the patch below, is there anything else
>> we would need in the kernel to enable proper ppc64le support?
> 
> The only question I have is whether or not PPC LE is just 64 bit or if it has 
> a 32 bit ABI also. The uname patch referenced above seems to show a ppcle and 
> ppc64le return. The original patch accepted was only for 64 bit ABI.
> 
> Thanks,
> -Steve

Hmmn, initially when I ran into the problem it was due to perf trace (which uses the audit libs) failing.  I didn't notice any other kernel issues,  I'll have to look closer (wrt Pauls patch).    As far as 32bit,
I was told by our IBM liason that LE is 64 bit only.

Tony




More information about the Linux-audit mailing list