Index: sandbox/linux/services/credentials.cc |
diff --git a/sandbox/linux/services/credentials.cc b/sandbox/linux/services/credentials.cc |
index 96702b1700a9cc9626696b5eaadaa7e5f83e219e..a745220bb5a37e7403b2cf54b768a788fb5877ae 100644 |
--- a/sandbox/linux/services/credentials.cc |
+++ b/sandbox/linux/services/credentials.cc |
@@ -24,6 +24,7 @@ |
#include "base/template_util.h" |
#include "base/third_party/valgrind/valgrind.h" |
#include "base/threading/thread.h" |
+#include "sandbox/linux/services/syscall_wrappers.h" |
namespace { |
@@ -286,7 +287,7 @@ bool Credentials::SupportsNewUserNS() { |
} |
// This is roughly a fork(). |
- const pid_t pid = syscall(__NR_clone, CLONE_NEWUSER | SIGCHLD, 0, 0, 0); |
+ const pid_t pid = sys_clone(CLONE_NEWUSER | SIGCHLD, 0, 0, 0, 0); |
if (pid == -1) { |
CheckCloneNewUserErrno(errno); |