aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/dispatcher.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-10 23:45:51 +0900
committerOphestra <cat@gensokyo.uk>2026-04-10 23:45:51 +0900
commitad2c9f36cddfd8adcd06fbe9238d176a8eb89614 (patch)
tree2e400cc460b9f6233910fa0999e1fab00eb82946 /container/dispatcher.go
parent67db3fbb8d7ba95071e50c43e96a0dd79e55a476 (diff)
container: unexport PR_SET_NO_NEW_PRIVS wrapper
This is subtle to use correctly. It also does not make sense as part of the container API. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/dispatcher.go')
-rw-r--r--container/dispatcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/dispatcher.go b/container/dispatcher.go
index fd885014..e583dc21 100644
--- a/container/dispatcher.go
+++ b/container/dispatcher.go
@@ -148,7 +148,7 @@ func (direct) lockOSThread() { runtime.LockOSThread() }
func (direct) setPtracer(pid uintptr) error { return ext.SetPtracer(pid) }
func (direct) setDumpable(dumpable uintptr) error { return ext.SetDumpable(dumpable) }
-func (direct) setNoNewPrivs() error { return SetNoNewPrivs() }
+func (direct) setNoNewPrivs() error { return setNoNewPrivs() }
func (direct) lastcap(msg message.Msg) uintptr { return LastCap(msg) }
func (direct) capset(hdrp *capHeader, datap *[2]capData) error { return capset(hdrp, datap) }