mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #2043 from lubinszARM:pr_clean1
PiperOrigin-RevId: 298683502
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user