HomeFreeBSD

stand: Narrow the 'signal emulation' we provide

Description

stand: Narrow the 'signal emulation' we provide

We only need to provide sig_atomic_t in emulation. However, including
machine/signal.h brings in too much namespace pollution related to
signals. Instead, define sig_atomic_t as long. Setting long is async
atomic on all platforms (though powerpc64 defines it to an int), though
that doesn't matter since the boot loader doesn't use signals.

Sponsored by: Netflix

Details

Provenance
impAuthored on Nov 20 2024, 3:05 AM
Parents
rG6a88766ecdd3: stand: We don't want signal definitions in the boot loader
Branches
Unknown
Tags
Unknown