Skip to content
  • Andrew Turner's avatar
    Allow exceptions to be masked when in userspace · 739e4482
    Andrew Turner authored
    We may want to mask exceptions when in userspace. This was previously
    impossible as threads are created with all exceptions unmasked and
    signals expected userspace to mask any. Fix these by copying the
    mask state on thread creation and allow exceptions to be masked on
    signal return, as long as they don't change.
    
    Sponsored by:	DARPA, AFRL
    739e4482