aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/container.go')
-rw-r--r--container/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/container.go b/container/container.go
index 75d225a1..aeea3dcc 100644
--- a/container/container.go
+++ b/container/container.go
@@ -307,7 +307,7 @@ func (p *Container) Start() error {
done <- func() error {
// PR_SET_NO_NEW_PRIVS: thread-directed but acts on all processes
// created from the calling thread
- if err := SetNoNewPrivs(); err != nil {
+ if err := setNoNewPrivs(); err != nil {
return &StartError{
Fatal: true,
Step: "prctl(PR_SET_NO_NEW_PRIVS)",