mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Remove SyscallInitializer
PiperOrigin-RevId: 416231431 Change-Id: I83575ee3a51c348912f3d13db600d104ee927265
This commit is contained in:
parent
01ffc2a1c2
commit
11619a08f4
|
@ -107,9 +107,6 @@ class PolicyBuilder final {
|
||||||
|
|
||||||
using BpfFunc = const std::function<std::vector<sock_filter>(bpf_labels&)>&;
|
using BpfFunc = const std::function<std::vector<sock_filter>(bpf_labels&)>&;
|
||||||
|
|
||||||
using SyscallInitializer = std::initializer_list<unsigned int>
|
|
||||||
ABSL_DEPRECATED("Use absl::Span<const uint32_t> instead");
|
|
||||||
|
|
||||||
// Appends code to allow a specific syscall
|
// Appends code to allow a specific syscall
|
||||||
PolicyBuilder& AllowSyscall(uint32_t num);
|
PolicyBuilder& AllowSyscall(uint32_t num);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user