previous: >>108444267#define __NR_getppid 110https://man7.org/linux/man-pages/man2/getppid.2.htmltl;dr:get parent pidhehe... pp id....useful for telling whether you're daemonized. really not useful for much else. i guess this is an interesting case, though>If the caller's parent is in a different PID namespace (see pid_namespaces(7)), getppid() returns 0.relevant resources: man manman syscallshttps://man7.org/linux/man-pages/https://linux.die.net/man/https://elixir.bootlin.com/linux/https://elixir.bootlin.com/musl/https://elixir.bootlin.com/glibc/
#define __NR_getppid 110
man man
man syscalls
>>108451485>>If the caller's parent is in a different PID namespace (see pid_namespaces(7)), getppid() returns 0.>These functions are always successful.nice docs boys
>>108451485>getppidThey know where my PP is?!
>>108451645they're about to find out
>>108451485>getppidheheheh
>>108451485it's actuaally GET pipi'd, it's for rough sex and rape. hope that helps
>>108451485