ipcget_public(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ipcget_public(9) β€” from the Kernel API Manual, bestie

okay so first of all, the manual page is literally called ipcget_public(9) and it lives in the Kernel API Manual β€” that's the whole vibe, we're in kernel land now 🐧✨


✨ NAME ✨

ipcget_public β€” get an ipc object or create a new one 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int ipcget_public (struct ipc_namespace *ns , struct ipc_ids *ids ,
       const struct ipc_ops *ops , struct ipc_params *params );

like, four args, one int back, no cap πŸ“


🌸 ARGUMENTS 🌸

  • ns β€” the ipc namespace, your whole little world for this call 🌍
  • ids β€” the ipc identifier set, aka the master list of ids πŸ’–
  • ops β€” the actual creation routine to call, so this is the plug for the real work πŸ‘‘
  • params β€” its parameters, everything the creation routine needs πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

so this routine gets called by sys_msgget, sys_semget and sys_shmget β€” but only when the key is not IPC_PRIVATE. main character energy only πŸ’…

here's the tea: if the key is not found, it adds a new entry ✨. and if the key is found, it does some permission / security checkings πŸ” (yes, "checkings" β€” that's the kernel's word, not mine, iykyk).

on success, the ipc id is returned. periodt πŸŽ‰


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./ipc/util.c β€” and literally all of these besties:

go read them, fr fr πŸ“šπŸ’œ


okay that's the whole page, and before you close the tab: this one's from ./ipc, dated October 2026 β€” so like, a little time capsule moment πŸ—“οΈπŸ’« slay, go get those ipc objects πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from