Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: sandbox/linux/bpf_dsl/syscall_set.h

Issue 896093002: sandbox: move SyscallSet into bpf_dsl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sandbox-deps
Patch Set: Fix bad merge conflict Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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__

Powered by Google App Engine
This is Rietveld 408576698