mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-02 12:56:05 +00:00
sigprocmask keeps the first word of the title's set as it is, where FreeBSD keeps signal n at bit n - 1 (_SIG_BIT), but Dispatch tested bit n. A title that blocked SIGTERM with a FreeBSD-built set (bit 14) was not protected, and a set with bit 15 blocked SIGTERM instead of SIGURG. Dispatch now tests bit n - 1; the stored mask and the set returned by sigprocmask are unchanged. Co-Authored-By: Claude Fable 5.1 <[email protected]>