Remove SyscallInitializer

PiperOrigin-RevId: 416231431
Change-Id: I83575ee3a51c348912f3d13db600d104ee927265
This commit is contained in:
Christian Blichmann 2021-12-14 00:44:53 -08:00 committed by Copybara-Service
parent 01ffc2a1c2
commit 11619a08f4

View File

@ -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);