MCPcopy
hub / github.com/opencontainers/runc / applyProfile

Function applyProfile

libcontainer/apparmor/apparmor_linux.go:62–68  ·  view source on GitHub ↗

applyProfile will apply the profile with the specified name to the process after the next exec.

(name string)

Source from the content-addressed store, hash-verified

60// applyProfile will apply the profile with the specified name to the process
61// after the next exec.
62func applyProfile(name string) error {
63 if name == "" {
64 return nil
65 }
66
67 return changeOnExec(name)
68}

Callers 1

ApplyProfileFunction · 0.70

Calls 1

changeOnExecFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…