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

Unified Diff: sandbox/linux/seccomp-bpf/util.h

Issue 12223109: SECCOMP-BPF: Refactor the BPF sandbox API to use fewer "static" fields and methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (now, that the bitmask change has landed in the tree) Created 7 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/seccomp-bpf/util.h
diff --git a/sandbox/linux/seccomp-bpf/util.h b/sandbox/linux/seccomp-bpf/util.h
index 2b3f22a63096edc91a8329b87dda69614c45ee20..27fc69173827e2c883e4eeafbfc5654525622385 100644
--- a/sandbox/linux/seccomp-bpf/util.h
+++ b/sandbox/linux/seccomp-bpf/util.h
@@ -11,7 +11,7 @@ class Util {
public:
static bool SendFds(int transport, const void *buf, size_t len, ...);
static bool GetFds(int transport, void *buf, size_t *len, ...);
- static void CloseAllBut(int fd, ...);
+ static void CloseAllBut(int proc_fd, int fd, ...);
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698