previous: >>108525108#define __NR_uselib 134https://man7.org/linux/man-pages/man2/uselib.2.htmltl;dr:dlopen, but as a syscallbit of a weird one today. this syscall is basically nonexistent on modern platforms, but if you really wanted to, you could enable its compilation flag. honestly quite strange that this ever existed. i wonder if any of those anons who know a lot about the history of *nix systems might have anything to say about this one? 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_uselib 134
man man
man syscalls
>>108532493Good Thread™ as usual, thank you anon. I'm honestly quite puzzled as well regarding the reasons for this syscall existing.
bampu
what if a static syscall to make a copy of the library so you can'td corrupt it, like it has it's own, CoW lib or something? like how you could do it if it made it's own and somehow a program calls it and overwrites the string functions, you'd still have yours