| Index: sandbox/linux/seccomp-bpf/util.cc
|
| diff --git a/sandbox/linux/seccomp-bpf/util.cc b/sandbox/linux/seccomp-bpf/util.cc
|
| index ac751460b9cecc7a7c58b35b79bdce66f4c0c44e..904a1691407241210afca094550f7d254e4b5e48 100644
|
| --- a/sandbox/linux/seccomp-bpf/util.cc
|
| +++ b/sandbox/linux/seccomp-bpf/util.cc
|
| @@ -118,7 +118,7 @@ bool Util::getFds(int transport, void *buf, size_t *len, ...) {
|
| void Util::closeAllBut(int fd, ...) {
|
| int proc_fd;
|
| int fdir;
|
| - if ((proc_fd = Sandbox::getProcFd()) < 0 ||
|
| + if ((proc_fd = Sandbox::proc_fd()) < 0 ||
|
| (fdir = openat(proc_fd, "self/fd", O_RDONLY|O_DIRECTORY)) < 0) {
|
| SANDBOX_DIE("Cannot access \"/proc/self/fd\"");
|
| }
|
|
|