previous: >>107889612
#define __NR_rt_sigreturn 15
https://man7.org/linux/man-pages/man2/sigreturn.2.html
more signal stuff today! except this one tells us never to use it, lol
>sigreturn() exists only to allow the implementation of signal handlers.
>It should never be called directly.
there's really not a ton to say about this one. it just helps to implement the necessary signal trampoline to restore state after executing a signal handler. but i guess that alone is pretty interesting. related, and perhaps more interesting, is https://man7.org/linux/man-pages/man0/setjmp.h.0p.html
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/