apparmor_uring_sqpoll(9)
π¦ apparmor_uring_sqpoll β the Kernel API Manual moment
okay so real talk, this is a page from the Kernel API Manual (like, the kernel's own group chat of docs) and it's all about apparmor_uring_sqpoll(9). yes bestie, that's a whole mouthful, but it's lowkey iconic once you get it π
β¨ NAME β¨
apparmor_uring_sqpoll β check if a io_uring polling thread can be created
like, it's the vibe-check bouncer at the door of io_uring polling-thread creation π
πΈ SYNOPSIS πΈ
int apparmor_uring_sqpoll (void );
there she is. one function, zero drama, returns an int. periodt β¨
π ARGUMENTS π
voidβ no arguments. literally none. nothing. the function said "i need nobody" and honestly? main character energy π
π§ DESCRIPTION π§
so what does it actually do, you ask? it checks to see if the current task is allowed to create a new io_uring kernel polling thread π
that's it, that's the whole thing. it's a permission check, bestie. it looks at whoever's asking, goes "hmm, and does this task get to spin up a fresh io_uring kernel polling thread?", and that's the entire personality. no cap π«Ά
π₯ SEE ALSO π₯
the kernel file ./security/apparmor/lsm.c is where the lore lives, and here's the whole friend group it wants you to meet:
common_perm(9)common_perm_cond(9)common_perm_dir_dentry(9)common_perm_rm(9)common_perm_create(9)apparmor_uring_override_creds(9)apparmor_bprm_committing_creds(9)apparmor_bprm_committed_creds(9)apparmor_sk_clone_security(9)apparmor_unix_stream_connect(9)apparmor_unix_may_send(9)apparmor_socket_post_create(9)apparmor_socket_bind(9)apparmor_socket_getpeersec_stream(9)apparmor_socket_getpeersec_dgram(9)apparmor_sock_graft(9)apparmor_socket_sock_rcv_skb(9)set_init_ctx(9)
go read those too, they're all slaying in their own way π
that's the whole page, babe β no hidden lore, no warning section, no exit-status tea. just a clean little permission check and its very long list of mutuals. π
and that's a wrap on this one, cuties π brought to you by the ./security/apparmor source, dated October 2026, and filed under apparmor_uring_sqpoll(9) β catch you in the next manpage, mwah π«Άβ¨π
π¦ 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