ipc64_perm_to_ipc_perm(9)
π« ipc64_perm_to_ipc_perm(9) π«
omg hi bestie, welcome to the Kernel API Manual β today's episode is literally all about one tiny little function in ipc64_perm_to_ipc_perm(9) and honestly? she's a glow-up moment. no cap.
β¨ NAME β¨
ipc64_perm_to_ipc_perm β convert new ipc permissions to old, aka the permission object's "throwback era" arc π
πΈ SYNOPSIS πΈ
void ipc64_perm_to_ipc_perm (struct ipc64_perm *in , struct ipc_perm
*out );
like, that's the whole signature bestie. two pointers, zero drama. π
π¦ ARGUMENTS π¦
inβ the new style ipc permissions β¨ this is the main character, the one we're converting fromoutβ the old style ipc permissions π this is where the compat version lands, it's giving "receiving end of the glow-down" (affectionate)
π₯ DESCRIPTION π₯
okay so picture this: you got a new style permissions object sitting in in, and it's lowkey living its best 64-bit life. this function literally turns in into a compatibility object and stores it right into the out pointer. that's it. that's the whole vibe. no cap, no extra steps, just a clean little conversion. periodt. π
π SEE ALSO π
bestie, the friend group is huge β and every single one of them is iconic in her own way. all of these live in the Kernel file ./ipc/util.c:
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)kernel_to_ipc64_perm(9)β hi yes this is literally her reverse-birth, obsessed π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)
iykyk, go read them all π«Ά
ok that's the whole page bestie, you ate that. now go convert some permissions responsibly π
that's a wrap on this little manpage era π β brought to you from ./ipc, dated October 2026, under the official name ipc64_perm_to_ipc_perm(9). mwah, bye 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