Thread #108613877
File: 1768315495791687.png (29.6 KB)
29.6 KB PNG
previous: >>108609319#define __NR_prctl 157
#define __NR_arch_prctl 158
https://man7.org/linux/man-pages/man2/prctl.2.html
https://man7.org/linux/man-pages/man2/arch_prctl.2.html
tl;dr:
manage your process state
this is one of my all-time favorite syscalls. it's SO powerful. if you want to do anything even moderately interesting to your process, then you are beholden to this syscall. i might honestly just try to keep this thread bumped until the weekend and then answer questions about specific arguments, if people have them. you're definitely going to want to look at the "see also" section for this one. it's basically dozens of syscalls bundled into one
have you ever used any of these features, anon? in what circumstances?
relevant resources:man manman 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/
5 RepliesView Thread
>>
>>
>>
>>