rdma_uattrs_has_raw_cap(9)
π rdma_uattrs_has_raw_cap π
okay so bestie, welcome to the rdma_uattrs_has_raw_cap page β it's section 9 of the Kernel API Manual, and honestly? it's a whole little vibe check for capabilities. let's get into it β¨
πΈ NAME πΈ
rdma_uattrs_has_raw_cap β literally just tells you whether an rdma device that's linked to the uverbs attributes file has CAP_NET_RAW capability or not. that's it. that's the whole thing. π
β¨ SYNOPSIS β¨
bool rdma_uattrs_has_raw_cap (const struct uverbs_attr_bundle *attrs );
like, you pass it the attrs bundle and it gives you back a bool. clean. simple. iconic. π
π¦ ARGUMENTS π¦
attrsβ Pointer to uverbs attributes. yes, that's the whole description, she's a woman of few words π
π DESCRIPTION π
Returns true if a rdma device's owning user namespace has CAP_NET_RAW capability, otherwise false.
no cap, that's genuinely all it does β it peeks at the user namespace that owns the rdma device, checks for that CAP_NET_RAW energy, and reports back a yes or a no. true if the capability's there, false if it's not. main character function behavior fr fr π«Ά
π SEE ALSO π
- Kernel file
./drivers/infiniband/core/rdma_core.cβ go read the source bestie, iykyk π
lowkey the whole thing lives in ./drivers/infiniband/core and it's dated October 2026 β so yeah, that's the source and the version and the date all in one cute little sign-off. slay, go check your capabilities, 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