MCPcopy Index your code
hub / github.com/containerd/containerd / setCurrentCaps

Function setCurrentCaps

pkg/sys/unshare_linux.go:234–236  ·  view source on GitHub ↗
(caps *capSnapshot)

Source from the content-addressed store, hash-verified

232}
233
234func setCurrentCaps(caps *capSnapshot) error {
235 return unix.Capset(&caps.hdr, &caps.data[0])
236}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…