seccomp_set_mode_strict(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Bestie, welcome to seccomp_set_mode_strict(9) from the Kernel API Manual β€” manual name folded in near the top, just like you asked, no boring header line. seccomp_set_mode_strict is the internal function for setting strict seccomp. That's the name, that's the vibe. Slay.


✨ SYNOPSIS ✨

long seccomp_set_mode_strict (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. Literally nothing to pass, bestie; it's giving β€œno arguments” and we respect it.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the whole vibe check: once current->seccomp.mode is non-zero, it may not be changed. Periodt. That's the important bit β€” it may not be changed after that point.

It returns 0 on success or -EINVAL on failure. Those are the outcomes, no cap. ✨


🌈 SEE ALSO 🌈

Kernel file: ./kernel/seccomp.c β€” yes, that exact path, bestie.


Bye bestie! πŸ’…πŸ’– This page's source/version is ./kernel, dated October 2026, and it's still serving seccomp_set_mode_strict(9) energy. 🫢✨

πŸ“¦ where this page comes from