kernel_to_ipc64_perm(9)
π kernel_to_ipc64_perm(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're in the kernel docs now, and yes it's giving main character energy β¨ this one's a little function that flips kernel-side ipc perms into the user-facing glow-up version. let's get into it π«Ά
β¨ NAME β¨
kernel_to_ipc64_perm β convert kernel ipc permissions to user
π SYNOPSIS π
void kernel_to_ipc64_perm (struct kern_ipc_perm *in , struct ipc64_perm
*out );
πΈ ARGUMENTS πΈ
inβ kernel permissions π the in-kernel version, the original, the blueprintoutβ new style ipc permissions π the fresh-out-the-salon, userspace-ready version
π¦ DESCRIPTION π¦
okay so literally what happens is: you take the kernel object in and you turn it into a set of permissions descriptions for returning to userspace (out). that's it, that's the whole vibe. it's a glow-up pipeline, no cap β¨
π SEE ALSO π
Kernel file ./ipc/util.c β and fr fr the whole ipc squad, go say hi:
ipc_init(9)ipc_init_ids(9)ipc_init_proc_interface(9)ipc_findkey(9)ipc_addid(9)ipcget_new(9)ipc_check_perms(9)ipcget_public(9)ipc_kht_remove(9)ipc_search_maxidx(9)ipc_rmid(9)ipc_set_key_private(9)ipcperms(9)ipc64_perm_to_ipc_perm(9)ipc_obtain_object_idr(9)ipc_obtain_object_check(9)ipcget(9)ipc_update_perm(9)ipcctl_obtain_check(9)ipc_parse_version(9)sysvipc_find_ipc(9)
π that's the whole page, she's short but she ate π₯
π anyway bestie, this lil page lives in the source ./ipc and it's dated October 2026 β go off, kernel docs, we love to see it ππ
π¦ 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