seccomp_can_sync_threads(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– seccomp_can_sync_threads(9) β€” Kernel API Manual πŸ’–

Okay bestie, welcome to the seccomp_can_sync_threads(9) page from the Kernel API Manual β€” manual name folded in near the top, cute and correct. This one checks if all threads can be synchronized. ✨

πŸŽ€ SYNOPSIS πŸŽ€

The whole signature vibe is:

pid_t seccomp_can_sync_threads (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments. literally none. not a single one. πŸ’…

🌸 DESCRIPTION 🌸

This function expects the sighand and cred_guard_mutex locks to be held. Like, hold those locks first, bestie β€” that's the assignment. πŸ”’

It returns 0 on success, -ve on error, or the pid of a thread which was either not in the correct seccomp mode or did not have an ancestral seccomp filter. So yeah: success? 0. Error? -ve. A specific thread being not-correct about seccomp mode or missing an ancestral filter? You get its pid. periodt. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Bestie, the required reference crew β€” every single one, no cap:


mwah πŸ’‹ cute little footer moment: source/version is ./kernel, dated October 2026, and the manual page is seccomp_can_sync_threads(9). 🫢✨

πŸ“¦ where this page comes from