| 828 | } |
| 829 | |
| 830 | void TestDisallowedSandboxCall() |
| 831 | { |
| 832 | // The getgroups syscall is assumed NOT to be allowed by the syscall sandbox policy. |
| 833 | std::array<gid_t, 1> groups; |
| 834 | [[maybe_unused]] int32_t ignored = getgroups(groups.size(), groups.data()); |
| 835 | } |
| 836 | #endif // defined(USE_SYSCALL_SANDBOX) |
| 837 | |
| 838 | void SetSyscallSandboxPolicy(SyscallSandboxPolicy syscall_policy) |
no test coverage detected