csky: Enable seccomp architecture tracking
authorYiFei Zhu <yifeifz2@illinois.edu>
Wed, 11 Nov 2020 13:33:47 +0000 (07:33 -0600)
committerKees Cook <keescook@chromium.org>
Fri, 20 Nov 2020 19:16:34 +0000 (11:16 -0800)
commit6e9ae6f98809e0d123ff4d769ba2e6f652119138
treeac40d4b73dba2cb66ca99670206fc33dbc84c7b1
parent424c9102fa7b2a5c15afe47fd14278c849f4eefb
csky: Enable seccomp architecture tracking

To enable seccomp constant action bitmaps, we need to have a static
mapping to the audit architecture and system call table size. Add these
for csky.

Signed-off-by: YiFei Zhu <yifeifz2@illinois.edu>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/f9219026d4803b22f3e57e3768b4e42e004ef236.1605101222.git.yifeifz2@illinois.edu
arch/csky/include/asm/Kbuild
arch/csky/include/asm/seccomp.h [new file with mode: 0644]