mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
regression tests: define arch specific bits for s390x
bug: https://bugs.launchpad.net/bugs/1531325 This patch defines the arch specific registers struct for s390 for the ptrace regression test. Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
33dd6776dc
commit
2443abda9d
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ int interp_status(int status)
|
|||
# endif
|
||||
# elif defined(__arm__) || defined(__powerpc__) || defined(__powerpc64__)
|
||||
# define ARCH_REGS_STRUCT struct pt_regs
|
||||
# elif defined(__s390__) || defined(__s390x__)
|
||||
# define ARCH_REGS_STRUCT struct _user_regs_struct
|
||||
# else
|
||||
# error "Need to define ARCH_REGS_STRUCT for this architecture"
|
||||
# endif
|
||||
|
|
Loading…
Add table
Reference in a new issue