svn commit: r368458 - head/sys/arm64/linux

Mitchell Horne mhorne at FreeBSD.org
Tue Dec 8 18:24:34 UTC 2020


Author: mhorne
Date: Tue Dec  8 18:24:33 2020
New Revision: 368458
URL: https://svnweb.freebsd.org/changeset/base/368458

Log:
  arm64: fix struct l_sigaction_t layout
  
  The definition was copied from amd64, but the layout of the struct
  differs slightly between these platforms. This fixes spurious
  `unsupported sigaction flag 0xXXXXXXXX` messages when executing some
  Linux binaries on arm64.
  
  Reviewed by:	emaste
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D27460

Modified:
  head/sys/arm64/linux/linux.h

Modified: head/sys/arm64/linux/linux.h
==============================================================================
--- head/sys/arm64/linux/linux.h	Tue Dec  8 18:11:28 2020	(r368457)
+++ head/sys/arm64/linux/linux.h	Tue Dec  8 18:24:33 2020	(r368458)
@@ -163,9 +163,9 @@ typedef void	(*l_handler_t)(l_int);
 
 typedef struct {
 	l_handler_t	lsa_handler;
-	l_sigset_t	lsa_mask;
 	l_ulong		lsa_flags;
 	l_uintptr_t	lsa_restorer;
+	l_sigset_t	lsa_mask;
 } l_sigaction_t;				/* XXX */
 
 typedef struct {


More information about the svn-src-head mailing list