diff options
Diffstat (limited to 'container/syscall.go')
| -rw-r--r-- | container/syscall.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/container/syscall.go b/container/syscall.go index c71e298c..e008ecea 100644 --- a/container/syscall.go +++ b/container/syscall.go @@ -7,8 +7,8 @@ import ( "hakurei.app/ext" ) -// SetNoNewPrivs sets the calling thread's no_new_privs attribute. -func SetNoNewPrivs() error { +// setNoNewPrivs sets the calling thread's no_new_privs attribute. +func setNoNewPrivs() error { return ext.Prctl(PR_SET_NO_NEW_PRIVS, 1, 0) } |
