Commit 768877b
committed
selftests/seccomp: add xtensa support
Xtensa syscall number can be obtained and changed through the
struct user_pt_regs. Syscall return value register is fixed relatively
to the current register window in the user_pt_regs, so it needs a bit of
special treatment.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>1 parent da94a40 commit 768877b
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
1622 | 1624 | | |
1623 | 1625 | | |
1624 | 1626 | | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
1625 | 1635 | | |
1626 | 1636 | | |
1627 | 1637 | | |
| |||
1693 | 1703 | | |
1694 | 1704 | | |
1695 | 1705 | | |
1696 | | - | |
| 1706 | + | |
| 1707 | + | |
1697 | 1708 | | |
1698 | 1709 | | |
1699 | 1710 | | |
| |||
1736 | 1747 | | |
1737 | 1748 | | |
1738 | 1749 | | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
1739 | 1753 | | |
1740 | 1754 | | |
1741 | 1755 | | |
| |||
0 commit comments