diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-10 23:45:51 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-10 23:45:51 +0900 |
| commit | ad2c9f36cddfd8adcd06fbe9238d176a8eb89614 (patch) | |
| tree | 2e400cc460b9f6233910fa0999e1fab00eb82946 /container/dispatcher.go | |
| parent | 67db3fbb8d7ba95071e50c43e96a0dd79e55a476 (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.go | 2 |
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) } |
