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

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

Issue 11411254: SECCOMP-BPF: Added supported for inspection system call arguments from BPF filters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another attempt at fixing the rebase Created 8 years 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
« no previous file with comments | « sandbox/linux/seccomp-bpf/util.h ('k') | sandbox/linux/seccomp-bpf/verifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp-bpf/util.cc
diff --git a/sandbox/linux/seccomp-bpf/util.cc b/sandbox/linux/seccomp-bpf/util.cc
index 904a1691407241210afca094550f7d254e4b5e48..77a92d9091439127c2fce90dcaea98ef937a1da7 100644
--- a/sandbox/linux/seccomp-bpf/util.cc
+++ b/sandbox/linux/seccomp-bpf/util.cc
@@ -17,7 +17,7 @@
namespace playground2 {
-bool Util::sendFds(int transport, const void *buf, size_t len, ...) {
+bool Util::SendFds(int transport, const void *buf, size_t len, ...) {
int count = 0;
va_list ap;
va_start(ap, len);
@@ -55,7 +55,7 @@ bool Util::sendFds(int transport, const void *buf, size_t len, ...) {
static_cast<ssize_t>(sizeof(dummy) + ((buf && len > 0) ? len : 0));
}
-bool Util::getFds(int transport, void *buf, size_t *len, ...) {
+bool Util::GetFds(int transport, void *buf, size_t *len, ...) {
int count = 0;
va_list ap;
va_start(ap, len);
@@ -115,7 +115,7 @@ bool Util::getFds(int transport, void *buf, size_t *len, ...) {
return true;
}
-void Util::closeAllBut(int fd, ...) {
+void Util::CloseAllBut(int fd, ...) {
int proc_fd;
int fdir;
if ((proc_fd = Sandbox::proc_fd()) < 0 ||
« no previous file with comments | « sandbox/linux/seccomp-bpf/util.h ('k') | sandbox/linux/seccomp-bpf/verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698