rxrpc_kernel...all_security(9)
π rxrpc_kernel_query_call_security β bestie edition
okay so real talk, this page lives in the Kernel API Manual (yes the big scary one, don't worry, we got this π«Ά) and the header literally reads rxrpc_kernel...all_security(9) because someone got tired of typing. the actual grown-up name is right below, come on.
β¨ NAME β¨
rxrpc_kernel_query_call_security β literally just "query the call's security parameters" π
no cap, that's the whole vibe.
πΈ SYNOPSIS πΈ
u8 rxrpc_kernel_query_call_security (struct rxrpc_call *call , u16
*_service_id , u32 *_enctype );
yes bestie it returns a u8, yes it takes three things, yes you're gonna be fine. β¨
π ARGUMENTS π
callβ the call you're querying. like, the actual call object. that one. π¦_service_idβ a pointer to where it should drop the service ID for you. it's au16 *, it's gotta point somewhere real, don't be weird about it._enctypeβ a pointer to where the "encoding type" goes (their quotes, not mine π). it's au32 *, same deal, point it at actual memory please.
π DESCRIPTION π
so this is the whole thing: it queries the security parameters of a call. it sets *_service_id and *_enctype for you (yes, through the pointers, that's literally the point of the pointers), and returns the security class. it's giving one-function-three-outputs main character energy honestly. π
β RETURN β
the security class protocol number. that's the u8. that's what you get back. slay. β¨
π SEE ALSO π
- Kernel file
./net/rxrpc/call_object.cβ that's where the actual code lives, go peek, iykyk π₯
fr fr the only thing this function does is hand you back the service ID, the encoding type, and the security class β don't read anything extra into it, bestie. π
and that's the whole page, you ate that honestly π π
from the ./net/rxrpc corner of the kernel, dated October 2026 β go forth and query those security parameters, bestie π¦β¨
π¦ 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