]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use a switch to convert the Linux sigprocmask flags to the equivalent
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 25 Apr 2003 19:26:18 +0000 (19:26 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 25 Apr 2003 19:26:18 +0000 (19:26 +0000)
commit19dde5cd3bfa1ac7b0980022c3a13c771f51d84d
treee01a16d61d78df65d550803daf7b43f5f79b8c9f
parent90d1947ebc4a7bf0437c526b146004aa6a48f45d
Use a switch to convert the Linux sigprocmask flags to the equivalent
FreeBSD flags instead of just adding one to the Linux flags.  This should
be identical to the previous version except that I have at least one report
of this patch fixing problems people were having with Linux apps after my
last commit to this file.  It is safer to use the switch then to make
assumptions about the flag values anyways, esp. since we currently use
MD defines for the values of the flags and this is MI code.

Tested by: Michael Class <michael_class@gmx.net>
sys/compat/linux/linux_signal.c