seccomp action

What a seccomp profile does when a process makes a system call: allow it, fail it with an error number, kill the process, or log it.

In more detail

A profile sets a defaultAction for every call it does not name, then lists system calls with their own action. SCMP_ACT_ERRNO makes the call fail with an error the program can handle, SCMP_ACT_KILL ends the process at once, and SCMP_ACT_LOG allows the call but records it. Logging first is a safe way to learn which calls a workload needs before you block anything.

Example

"defaultAction": "SCMP_ACT_ERRNO"

Related terms

Taught in

References

Certification courses