previous: >>108766296
#define __NR_lookup_dcookie 212
https://man7.org/linux/man-pages/man2/lookup_dcookie.2.html
tl;dr:
get a cached directory path via cookie
well, this is certainly one of the syscalls of all time.
NOTES
lookup_dcookie() is a special-purpose system call, currently used
only by the oprofile(1) profiler. It relies on a kernel driver to
register cookies for directory entries.
https://man7.org/linux/man-pages/man1/oprofile.1.html
who the fuck greenlit this? and why??
seems like anyone can just design their own syscall and get it accepted. maybe i'll come up with one, just because. what sort of syscall would you want to create, anon?
relevant resources:
man man
man syscalls
https://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/