HomeFreeBSD

linux(4): Fix the type of a constant in the signal mask macro

Description

linux(4): Fix the type of a constant in the signal mask macro

Since l_sigset_t is 64-bit unsigned on all Linuxulators, fix the type
of a constant in the signal mask manipulation macro.
The suffix L indicates type long which is 32-bit on i386, therefore,
bitwise operations between a 32-bit constant and 64-bit signal mask
lead to the wrong result.

Pointy hat to: dchagin
MFC after: 2 weeks

(cherry picked from commit 669516a1a16efe51f85ef203c3b93e6db7a3ed51)

Details

Provenance
dchaginAuthored on May 30 2022, 4:53 PM
Parents
rGc272720e2a96: linux(4): Properly build argument list for the signal handler
Branches
Unknown
Tags
Unknown