| Index: sandbox/linux/bpf_dsl/syscall_set.h
|
| diff --git a/sandbox/linux/seccomp-bpf/syscall_iterator.h b/sandbox/linux/bpf_dsl/syscall_set.h
|
| similarity index 93%
|
| rename from sandbox/linux/seccomp-bpf/syscall_iterator.h
|
| rename to sandbox/linux/bpf_dsl/syscall_set.h
|
| index 5080fcc09a21070ae0d81881d9e0f37733d9e852..b9f076d9321a392b5a6f85b99430ccbe1bd008e3 100644
|
| --- a/sandbox/linux/seccomp-bpf/syscall_iterator.h
|
| +++ b/sandbox/linux/bpf_dsl/syscall_set.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef SANDBOX_LINUX_SECCOMP_BPF_SYSCALL_ITERATOR_H__
|
| -#define SANDBOX_LINUX_SECCOMP_BPF_SYSCALL_ITERATOR_H__
|
| +#ifndef SANDBOX_LINUX_BPF_DSL_SYSCALL_SET_H__
|
| +#define SANDBOX_LINUX_BPF_DSL_SYSCALL_SET_H__
|
|
|
| #include <stdint.h>
|
|
|
| @@ -14,8 +14,6 @@
|
|
|
| namespace sandbox {
|
|
|
| -// TODO(mdempsky): Rename this header to syscall_set.h.
|
| -
|
| // Iterates over the entire system call range from 0..0xFFFFFFFFu. This
|
| // iterator is aware of how system calls look like and will skip quickly
|
| // over ranges that can't contain system calls. It iterates more slowly
|
| @@ -102,4 +100,4 @@ SANDBOX_EXPORT bool operator!=(const SyscallSet::Iterator& lhs,
|
|
|
| } // namespace sandbox
|
|
|
| -#endif // SANDBOX_LINUX_SECCOMP_BPF_SYSCALL_ITERATOR_H__
|
| +#endif // SANDBOX_LINUX_BPF_DSL_SYSCALL_SET_H__
|
|
|