The branch main has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=3eaf271d3c0e4fa18b74971a71c950fd43fa4189
commit 3eaf271d3c0e4fa18b74971a71c950fd43fa4189 Author: Edward Tomasz Napierala <[email protected]> AuthorDate: 2021-07-13 09:38:08 +0000 Commit: Edward Tomasz Napierala <[email protected]> CommitDate: 2021-07-13 10:13:17 +0000 linux(4): Improve comment about SA_RESTORER No functional changes. Sponsored By: EPSRC --- sys/compat/linux/linux_signal.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c index d0f1bb1c3b32..43213301239c 100644 --- a/sys/compat/linux/linux_signal.c +++ b/sys/compat/linux/linux_signal.c @@ -96,7 +96,12 @@ linux_to_bsd_sigaction(l_sigaction_t *lsa, struct sigaction *bsa) } if (lsa->lsa_flags & LINUX_SA_RESTORER) { flags &= ~LINUX_SA_RESTORER; - /* XXX: We might want to handle it; see Linux sigreturn(2). */ + /* + * We ignore the lsa_restorer and always use our own signal + * trampoline instead. It looks like SA_RESTORER is obsolete + * in Linux too - it doesn't seem to be used at all on arm64. + * In any case: see Linux sigreturn(2). + */ } if (lsa->lsa_flags & LINUX_SA_ONSTACK) { flags &= ~LINUX_SA_ONSTACK; _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "[email protected]"
