mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
make sure we can run this outside the tree
This commit is contained in:
parent
80a63fd4b1
commit
99763d520b
@ -9,15 +9,16 @@
|
||||
# Not the hottest stuff to be honest..
|
||||
|
||||
PLATFORM=$(uname -m)
|
||||
BASE=$(dirname $0)
|
||||
|
||||
case "$PLATFORM" in
|
||||
x86_64*)
|
||||
seccomp_audit_arch=AUDIT_ARCH_X86_64
|
||||
syscall_file=linux/syscall_64.tbl
|
||||
syscall_file=$BASE/linux/syscall_64.tbl
|
||||
;;
|
||||
i*86*)
|
||||
seccomp_audit_arch=AUDIT_ARCH_I386
|
||||
syscall_file=linux/syscall_32.tbl
|
||||
syscall_file=$BASE/linux/syscall_32.tbl
|
||||
;;
|
||||
arm*)
|
||||
seccomp_audit_arch=AUDIT_ARCH_ARM
|
||||
|
Loading…
x
Reference in New Issue
Block a user