[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: 1561560501920.jpg (27 KB, 574x574)
27 KB
27 KB JPG
previous: >>108500959

#define __NR_sigaltstack        131

https://man7.org/linux/man-pages/man2/sigaltstack.2.html

tl;dr:
manage an alternative signal stack

pretty much there just to let you handle SIGSEGVs from stack overflows.
i always read this syscall as "sigal stack", like the manpages are baby talking at me lol. for that reason, i rather like it, but it's got a pretty niche use case. have any of you anons ever had occasion to use it before?

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/
>>
>>108507823
what's your goal ? Showing this whole board you're the most annoying autist ?
>>
>>108507929
yep
>>
>>108507823
show boob and vegan
>>
>>108508007
nyo u
>>
File: FoldpX7aMAAYTqI.jpg (83 KB, 1077x862)
83 KB
83 KB JPG
>>108507823
this is used in the JVM to test if stack guard pages are removed when thread is detached

JDK-6929067
>>
>>108508343
https://github.com/openjdk/jdk/blob/master/test/hotspot/jtreg/runtime/StackGuardPages/exeinvoke.c#L97
>>
>>108507823
You're not a baby, you're a grown adult. Get a grip.
>>
>>108507929
shut the fuck up, i like learning random ass syscalls.



[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.