seccomp_can_sync_threads(9)
π 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:
- Kernel file
./kernel/seccomp.c struct seccomp_kaddfd(9)struct notification(9)struct action_cache(9)struct seccomp_filter(9)seccomp_check_filter(9)seccomp_cache_check_allow(9)seccomp_run_filters(9)seccomp_filter_release(9)seccomp_sync_threads(9)seccomp_prepare_filter(9)seccomp_prepare_user_filter(9)seccomp_is_const_allow(9)seccomp_cache_prepare(9)seccomp_attach_filter(9)seccomp_set_mode_strict(9)seccomp_set_mode_filter(9)prctl_set_seccomp(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms