Thread #108613877
HomeIndexCatalogAll ThreadsNew ThreadReply
H
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 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/
+Showing all 5 replies.
>>
>>108613877
Debian is DEI shit, cringe to mention it
>>
>>108614034
yeah okay kid whatever you say
>>
installing debian with OP
>>
i will install debian too, let me in!!!!
>>
installing debian with >>108614562 and OP

Reply to Thread #108613877


Supported: JPG, PNG, GIF, WebP, WebM, MP4, MP3 (max 4MB)