Thread #108244624
File: 1715336431552843.png (2.1 MB)
2.1 MB PNG
previous: >>108236633#define __NR_kill 62
#define __NR_tkill 200
#define __NR_tgkill 234
https://man7.org/linux/man-pages/man2/kill.2.html
https://man7.org/linux/man-pages/man2/tkill.2.html
tl;dr:
signal processes, or specific threads within processes
this aspect is pretty neat. it's a useful trick that not everyone knows about
>If sig is 0, then no signal is sent, but existence and permission checks are still performed; this can be used to check for the existence of a process ID or process group ID that the caller is permitted to signal.
other than that, though, it's breddy simple. not much to say about it. i guess it's convenient to be able toraise(SIGSTOP)and perform a bit of process introspection without having to bust out gdb. so, if you haven't tried that before, i recommend it
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/
15 RepliesView Thread
>>
>>
>>
>>
>>
>>108245049
you should bump them for me then ;___;
>>108246220
huh?
>>108247518
yeah! it's really handy
>>
>>
>>
>>
>>
>>108244624
I like your threads, anon. I'm sorry I never come here and never post, but it's way above my two brain cells. I weep for the day you'll finish covering all of syscalls.
This world will be a sadder place when you're gone, and I mean it, anon.
>>
>>
File: 1689040282692546.png (16.4 KB)
16.4 KB PNG
>>108244624
>tgkill
>>
File: 1769956682984757.jpg (44.2 KB)
44.2 KB JPG
>>108252325
lol i think about that every time i use it
there are lots of other funny collisions like that for those of us who are brainrotted enough
>>
>>108252295
True, syscall anon is one of the few real people on here, and I really like syscalls as a thread idea, but I don't know what to contribute. Maybe OP should give us a hint what he expects from his threads, because often times I come here, and have no clue what to write about, other than the fact that I know the syscall and might have used it somewhere...