Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
234
func
setCurrentCaps(caps *capSnapshot) error {
235
return
unix.Capset(&caps.hdr, &caps.data[0])
236
}
Callers
1
startProcessWithUsernsLocked
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…