hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
Yorlik_ has joined #ste||ar
Yorlik has quit [Ping timeout: 252 seconds]
jtsylve has joined #ste||ar
<jtsylve>
Hello! Are coroutine stacks required to be executable? On my M1 running macOS 12.6.1 with SIP enabled, mmap throws EPERM in the alloc_stack function.
<jtsylve>
Apple's man page for mmap states "When the hardened runtime is enabled (See the links in the SEE ALSO section), the protections cannot be both PROT_WRITE and PROT_EXEC without also having the flag MAP_JIT and the process possessing the com.apple.security.cs.allow-jit entitlement"
<jtsylve>
Removing the PROT_EXEC flag fixes the issue for my simple test, but before I submit a patch, I wanted to check if there was a reason that they were marked executable in the first place.
<hkaiser>
jtsylve: interesting
<hkaiser>
I don't think that stacks need to be executab;e
<hkaiser>
however, we don't have anybody maintaining HPX on M1, so anything is possible there
<hkaiser>
so your patch would be appreciated
<jtsylve>
From a security perspective, it's certainly better that they aren't executable. No problem. I'll submit a PR.
jtsylve has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hkaiser has quit [Quit: Bye!]
K-ballo has quit [Ping timeout: 272 seconds]
K-ballo has joined #ste||ar
K-ballo1 has joined #ste||ar
K-ballo has quit [Ping timeout: 256 seconds]
K-ballo1 is now known as K-ballo
hkaiser has joined #ste||ar
jtsylve has joined #ste||ar
hkaiser has quit [Quit: Bye!]
jtsylve has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
diehlpk_work has joined #ste||ar
hkaiser has joined #ste||ar
hkaiser has quit [Quit: Bye!]
K-ballo has quit [Ping timeout: 252 seconds]
K-ballo1 has joined #ste||ar
K-ballo1 is now known as K-ballo
<gonidelis[m]>
K-ballo: Do you know why `std::is_convertible_v<std::tuple<unsigned int, unsigned int> &, std::tuple<unsigned int &, unsigned int &>>` evaluates to false?
<satacker[m]>
ref tuple<T1,T2> and tupe<ref T1, ref T2> , is one convertible to other?
<gonidelis[m]>
no its nto
<gonidelis[m]>
not*
<satacker[m]>
s/</\</, s/tupe</tuple\</
K-ballo has quit [Ping timeout: 272 seconds]
hkaiser has joined #ste||ar
jtsylve has joined #ste||ar
jtsylve has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]