[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-commits-all
Subject: svn commit: r362804 - head/sys/compat/linux
From: Edward Tomasz Napierala <trasz () FreeBSD ! org>
Date: 2020-06-30 16:18:09
Message-ID: 202006301618.05UGI9xB029466 () repo ! freebsd ! org
[Download RAW message or body]
Author: trasz
Date: Tue Jun 30 16:18:09 2020
New Revision: 362804
URL: https://svnweb.freebsd.org/changeset/base/362804
Log:
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
Modified:
head/sys/compat/linux/linux_signal.c
Modified: head/sys/compat/linux/linux_signal.c
==============================================================================
--- head/sys/compat/linux/linux_signal.c Tue Jun 30 15:58:29 2020 (r362803)
+++ head/sys/compat/linux/linux_signal.c Tue Jun 30 16:18:09 2020 (r362804)
@@ -102,6 +102,10 @@ linux_to_bsd_sigaction(l_sigaction_t *lsa, struct siga
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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic