diff options
author | dchagin <dchagin@FreeBSD.org> | 2015-05-24 17:44:08 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2015-05-24 17:44:08 +0000 |
commit | cace25f46d7edf921baabc4101df2d4912430748 (patch) | |
tree | 1882a742118caa04116b2336dcabc078038cb933 /sys/compat/linux/linux_timer.c | |
parent | 73fcf6f585554f1aeddfcb85080a459d68167fc8 (diff) | |
download | FreeBSD-src-cace25f46d7edf921baabc4101df2d4912430748.zip FreeBSD-src-cace25f46d7edf921baabc4101df2d4912430748.tar.gz |
According to Linux man sigaltstack(3) shall return EINVAL if the ss
argument is not a null pointer, and the ss_flags member pointed to by ss
contains flags other than SS_DISABLE. However, in fact, Linux also
allows SS_ONSTACK flag which is simply ignored.
For buggy apps (at least mono) ignore other than SS_DISABLE
flags as a Linux do.
While here move MI part of sigaltstack code to the appropriate place.
Reported by: abi at abinet dot ru
Diffstat (limited to 'sys/compat/linux/linux_timer.c')
0 files changed, 0 insertions, 0 deletions