seccomp_cache_prepare(9)
π seccomp_cache_prepare(9)
okay bestie, welcome to the Kernel API Manual β this is the page for seccomp_cache_prepare, and yes it's a whole vibe β¨
πΈ NAME πΈ
seccomp_cache_prepare β emulate the filter to find cacheable syscalls π§
β¨ SYNOPSIS β¨
void seccomp_cache_prepare (struct seccomp_filter *sfilter );
like, that's the whole signature. short king. π
π ARGUMENTS π
sfilterβ the seccomp filter π that's it, that's the argument.
π¦ DESCRIPTION π¦
so here's the tea: it returns 0 if it's successful, or -errno if an error occurred π that's literally the description, no cap.
ngl the synopsis says void and the description is out here talking about return values β i'm just reporting what the page says, bestie, don't come for me π
π₯ SEE ALSO π₯
the whole friend group, fr fr π«Ά:
- 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_can_sync_threads(9)seccomp_filter_release(9)seccomp_sync_threads(9)seccomp_prepare_filter(9)seccomp_prepare_user_filter(9)seccomp_is_const_allow(9)seccomp_attach_filter(9)seccomp_set_mode_strict(9)seccomp_set_mode_filter(9)prctl_set_seccomp(9)
and that's the page!! π this little icon came from ./kernel, dated October 2026 β mwah, slay, periodt ππ
π¦ 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