seccomp_prepare_filter(9)
π seccomp_prepare_filter(9) β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual entry for seccomp_prepare_filter(9). this one is short and sweet, but every detail matters, so letβs go π«Ά
πΈ NAME πΈ
seccomp_prepare_filter β prepares a seccomp filter for use. periodt.
π¦ SYNOPSIS π¦
struct seccomp_filter * seccomp_prepare_filter (struct sock_fprog *fprog
);
π ARGUMENTS π
fprogβ BPF program to install. thatβs the whole argument, no cap π
π DESCRIPTION π
on success? you get the filter. on failure? you get an ERR_PTR. thatβs the deal πβ¨
π SEE ALSO π
Kernel file ./kernel/seccomp.c, bestie β hereβs the whole squad π:
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_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)
okay bye bestie π this page came from ./kernel, dated October 2026, and itβs the seccomp_prepare_filter(9) page. go prep that filter and slay β¨π¦
π¦ 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