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..e9e75904038a2c7a09b95a3079efa97187ee12cd 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,10 +115,10 @@ 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 || |
+ if ((proc_fd = Sandbox::ProcFd()) < 0 || |
(fdir = openat(proc_fd, "self/fd", O_RDONLY|O_DIRECTORY)) < 0) { |
SANDBOX_DIE("Cannot access \"/proc/self/fd\""); |
} |