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

Function InitSeccomp

libcontainer/seccomp/seccomp_unsupported.go:15–20  ·  view source on GitHub ↗

InitSeccomp does nothing because seccomp is not supported.

(config *configs.Seccomp)

Source from the content-addressed store, hash-verified

13
14// InitSeccomp does nothing because seccomp is not supported.
15func InitSeccomp(config *configs.Seccomp) (int, error) {
16 if config != nil {
17 return -1, ErrSeccompNotEnabled
18 }
19 return -1, nil
20}
21
22// FlagSupported tells if a provided seccomp flag is supported.
23func FlagSupported(_ specs.LinuxSeccompFlag) error {

Callers 2

InitMethod · 0.92
InitMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…