[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1768629403698389.png (48 KB, 2028x2842)
48 KB
48 KB PNG
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/
>>
bampu
>>
>>107902152
is that cs_assaults ?
>>
>>107902792
no idea !
>>
>It should never be called directly.

Cool technique:
https://cr0mll.github.io/cyberclopaedia/Exploitation/Binary%20Exploitation/Stack%20Exploitation/Sigreturn-oriented%20Programming%20(SROP).html
>>
>>107902152
>sigreturn() exists only to allow the implementation of signal handlers.
>It should never be called directly.
What the FUCK is sigreturn()'s problem?
>>
>>107902152
Why is linux so weird and obtuse? Can't they release a new set of good syscalls and leave these ones to rot



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.