ipc_rmid(9)
π ipc_rmid(9) β like, the Kernel API Manual page for removing an ipc identifier β¨
okay bestie, buckle up π this one's from the Kernel API Manual, and no cap it's a tiny little function that does exactly one (1) thing.
β¨ NAME β¨
ipc_rmid β remove an ipc identifier ποΈπ
β¨ SYNOPSIS β¨
void ipc_rmid (struct ipc_ids *ids , struct kern_ipc_perm *ipcp );
literally that's it. void. no return value. she doesn't need to give you anything back π
β¨ ARGUMENTS β¨
idsβ the ipc identifier set ποΈ like, the whole collection she's living inipcpβ the ipc perm structure that holds the identifier you wanna remove π― iykyk
β¨ DESCRIPTION β¨
okay so here's the vibe check π«Ά: before anybody even thinks about calling this function, two locks are already held β
ipc_ids.rwsem(as a writer) π- the spinlock for this ID π
and the way that they stay locked on the exit?? iconic. they are not released when this function returns β they're still held, still doing their thing. no unlocking, no cleanup, not me handing back the locks π so whoever called you better know what they're doing, fr fr.
β¨ SEE ALSO β¨
bestie this list is long, but she ate and left no crumbs π β the kernel file is ./ipc/util.c and here's the whole friend group:
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_set_key_private(9), ipcperms(9), kernel_to_ipc64_perm(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)
and that's the whole page, bestie π go forth and remove those identifiers responsibly π
πΈ this cutie lives under ./ipc and the page itself is dated October 2026 β mwah, xx ππ§
π¦ 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