Make linux(4) ignore SA_INTERRUPT. The zsh(1) binary from Bionic uses it.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25499
This commit is contained in:
parent
518da7ace8
commit
9bc42c18cb
@ -102,6 +102,10 @@ linux_to_bsd_sigaction(l_sigaction_t *lsa, struct sigaction *bsa)
|
||||
flags &= ~LINUX_SA_RESTART;
|
||||
bsa->sa_flags |= SA_RESTART;
|
||||
}
|
||||
if (lsa->lsa_flags & LINUX_SA_INTERRUPT) {
|
||||
flags &= ~LINUX_SA_INTERRUPT;
|
||||
/* Documented to be a "historical no-op". */
|
||||
}
|
||||
if (lsa->lsa_flags & LINUX_SA_ONESHOT) {
|
||||
flags &= ~LINUX_SA_ONESHOT;
|
||||
bsa->sa_flags |= SA_RESETHAND;
|
||||
|
Loading…
x
Reference in New Issue
Block a user