-
gwr
Anyone here familiar with the rules about sigaltstack and signal handers?
-
gwr
eg what if the signal handler does not return? (and we take another signal)
-
sommerfeld
gwr: looks to me like it just pushes another frame on the alternate stack and keeps going. see how "newstack" is computed in sendsig() in uts/intel/os/sendsig.c
-
gwr
Thanks. Looking at some complicated code in dotnet that switches stacks, but leaves SS_ONSTACK set.
-
sommerfeld
it only sets the new fp to the top of the alternate stack if SS_ONSTACK is cleared in the signal stack state.
-
gwr
I think maybe it should clear that if it uses setcontext to leave the alt stack?
-
sommerfeld
depends if there's any live state on the alt stack that would be clobbered by a fresh signal.
-
gwr
Though I'm not sure we ever take more than one signal that has SA_ONSTACK in the sigaction.
-
gwr
There's some weird stuff going on, and I wondered if it was conforming to expectations around our signals implementation.
-
richlowe
So, an interesting thing we've sort of run into before is that this is all a mess
-
richlowe
a lot of the nitty gritty that turns out to matter isn't really specified
-
richlowe
so you really do have to go through looking at what they tried to make happen, and what we're going to do (just implementation-wise)
-
richlowe
gwr: have you looked at any nested stuff via uc_link?
-
richlowe
is dotnet?
-
gwr
yes
-
gwr
Yes, dotnet. I have not noticed any uc_link following
-
gwr
Just stack switching beyond what signal handlers may do for you.
-
gwr
and generally non-portable context mucking abount.
-
richlowe
yeah, stuff poking in contexts is an exciting mess :\
-
gwr
where is setcontext hiding? (opengroc doesn't show it?)
-
gwr
oh, it's a syscall
-
gwr
no in sigaction. huh.
-
unixery
Hi, I've got a question about zoned zfs datasets: If I have a zoned dataset, that is mount in zoneA, can I somehow also access the files in zoneB? E.g. via some kind of bind mounts? But not via network shares (higher latency).
-
ptribble
Not a delegated dataset. If you want to share a dataset between multiple zones, create it in the global zone and share it as an fs resource (type=lofs) into each zone that needs it
-
unixery
OK. My plan was to run the SMB server in a zone with zoned datasets. But the media server in another zone should have non network access to the files.
-
unixery
Then I'll put the SMB server in the global zone
-
papertigers
unixery: fwiw you can still share via SMB in a zone from a lofs mount
-
jbk
yeah, anything visible in the zone should be able to be shared via SMB
-
jbk
(yay power is back)
-
richlowe
glad you're above water, etc, jbk
-
nomad
How long was it gone?
-
jbk
about aa day and a half
-
jbk
my internet is still out (using my phone).. though I think that's starting to get congested as a result
-
jbk
richlowe: i'm on the 4th floor, so if i'm under water, there's far more serious problems :)
-
jbk
the flooding though from the hurricane wasn't too bad..
-
jbk
not much different from a heavy downpour and had mostly drained by the afternoon.. not like Ike where I-10 still looked like a river the next day