From ad2c9f36cddfd8adcd06fbe9238d176a8eb89614 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 10 Apr 2026 23:45:51 +0900 Subject: 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 --- container/dispatcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/dispatcher.go') 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) } -- cgit v1.3.1