tomoyo_sys_getppid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so picture this: it's a whole man page about one (1) tiny function, and honestly? it's iconic. this is tomoyo_sys_getppid, living its best life in the Kernel API Manual. let's get into it πŸŽ€


🌸 NAME 🌸

tomoyo_sys_getppid β€” literally just a copy of getppid(). that's it. that's the whole vibe. no cap πŸ’–


✨ SYNOPSIS ✨

pid_t tomoyo_sys_getppid (void );

she takes nothing, she returns a pid_t. lowkey perfect 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. zero. none. she doesn't need them, she's booked and busy πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns the parent process's PID. simple, clean, does exactly what it says on the tin ⭐

ok so here's the lore, and it's giving "I did it for the build" 😭 β€” Alpha does not have getppid defined. and because of that, to be able to build this module on Alpha, the author had to copy getppid from kernel/timer.c. yes, literally copy it. we respect the hustle πŸ™ˆ


🌈 SEE ALSO 🌈

Kernel file ./security/tomoyo/common.h, plus the whole friend group:

like, go read them, iykyk πŸ”₯


k bye bestie!! this page came to you from ./security/tomoyo, dated October 2026, and yes it lives rent-free in the Kernel API Manual πŸ’œβœ¨

πŸ“¦ where this page comes from