diff options
| author | Dmitry Chagin <dchagin@FreeBSD.org> | 2015-05-24 17:44:08 +0000 |
|---|---|---|
| committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2015-05-24 17:44:08 +0000 |
| commit | a7ac45761335b1d514804cd0bfe44bdb2c3a3e0c (patch) | |
| tree | 1882a742118caa04116b2336dcabc078038cb933 /contrib | |
| parent | 76672e1113cc6f2c90a245434e64c8c07a60ab4a (diff) | |
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
Notes
svn path=/head/; revision=283471
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
