aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/syscall.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/syscall.go')
-rw-r--r--container/syscall.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/syscall.go b/container/syscall.go
index e008ecea..43e49bea 100644
--- a/container/syscall.go
+++ b/container/syscall.go
@@ -9,7 +9,7 @@ import (
// setNoNewPrivs sets the calling thread's no_new_privs attribute.
func setNoNewPrivs() error {
- return ext.Prctl(PR_SET_NO_NEW_PRIVS, 1, 0)
+ return ext.Prctl(ext.PR_SET_NO_NEW_PRIVS, 1, 0)
}
// schedParam is equivalent to struct sched_param from include/linux/sched.h.