mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 09:48:07 +07:00
0451623ad7
Since Alpha supports syscall audit it now needs to have a syscall.h which implements syscall_get_arch() rather than hard coding this value into audit_syscall_entry(). Based-on-patch-by: Richard Briggs <rgb@redhat.com> Signed-off-by: Eric Paris <eparis@redhat.com> Cc: linux-alpha@vger.kernel.org
12 lines
196 B
C
12 lines
196 B
C
#ifndef _ASM_ALPHA_SYSCALL_H
|
|
#define _ASM_ALPHA_SYSCALL_H
|
|
|
|
#include <uapi/linux/audit.h>
|
|
|
|
static inline int syscall_get_arch(void)
|
|
{
|
|
return AUDIT_ARCH_ALPHA;
|
|
}
|
|
|
|
#endif /* _ASM_ALPHA_SYSCALL_H */
|