Hi Dave,

* John David Anglin <d...@parisc-linux.org> [230803]:
[..]
> The audit architecture defines for hppa are defined in 
> /usr/include/linux/audit.h:
>
> #define AUDIT_ARCH_PARISC       (EM_PARISC)
> #define AUDIT_ARCH_PARISC64     (EM_PARISC|__AUDIT_ARCH_64BIT)
> 
> Please add the architecture defines for hppa to include/audit-arch.h.

could you please forward your patch to util-li...@vger.kernel.org
including a proper Signed-Off-By line? Then upstream can apply it
and downstreams do not need to carry the same patches over and over
again.

* John David Anglin <d...@parisc-linux.org> [230803]:
> Patch.
> 
> Regards,
> Dave Anglin

Thanks,
Chris


> --- ./include/audit-arch.h.save       2023-08-03 20:42:00.937401304 +0000
> +++ ./include/audit-arch.h    2023-08-03 20:53:40.755627981 +0000
> @@ -57,6 +57,12 @@
>  #    else
>  #     define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64
>  #    endif
> +#elif __hppa__
> +#    if __SIZEOF_POINTER__ == 4
> +#     define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC
> +#    else
> +#     define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64
> +#    endif
>  #else
>  #    error Unknown target architecture
>  #endif

Reply via email to