code clean: minor changes to compatible with ubuntu18.04
Signed-off-by: Bin Lu <bin.lu@arm.com>
This commit is contained in:
parent
43abb24657
commit
fc3a09cd3c
|
@ -28,7 +28,7 @@ namespace {
|
|||
constexpr uint32_t kNotImplementedSyscall = SYS_get_kernel_syms;
|
||||
#elif __aarch64__
|
||||
// Use the last of arch_specific_syscalls which are not implemented on arm64.
|
||||
constexpr uint32_t kNotImplementedSyscall = SYS_arch_specific_syscall + 15;
|
||||
constexpr uint32_t kNotImplementedSyscall = __NR_arch_specific_syscall + 15;
|
||||
#endif
|
||||
|
||||
TEST(BadSyscallTest, NotImplemented) {
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace {
|
|||
constexpr uint32_t kFilteredSyscall = SYS_vserver;
|
||||
#elif __aarch64__
|
||||
// Use the last of arch_specific_syscalls which are not implemented on arm64.
|
||||
constexpr uint32_t kFilteredSyscall = SYS_arch_specific_syscall + 15;
|
||||
constexpr uint32_t kFilteredSyscall = __NR_arch_specific_syscall + 15;
|
||||
#endif
|
||||
|
||||
// Applies a seccomp-bpf filter that returns `filtered_result` for
|
||||
|
|
Loading…
Reference in New Issue