Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 2020 16:42:00 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r367452 - head/sys/kern
Message-ID:  <202011071642.0A7Gg0B6083572@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Sat Nov  7 16:41:59 2020
New Revision: 367452
URL: https://svnweb.freebsd.org/changeset/base/367452

Log:
  imgact_binmisc: reorder members of struct imgact_binmisc_entry (NFC)
  
  This doesn't change anything at the moment since the out-of-order elements
  were a pair of uint32_t, but future additions may have caused unnecessary
  padding by following the existing precedent.
  
  MFC after:	1 week

Modified:
  head/sys/kern/imgact_binmisc.c

Modified: head/sys/kern/imgact_binmisc.c
==============================================================================
--- head/sys/kern/imgact_binmisc.c	Sat Nov  7 16:35:48 2020	(r367451)
+++ head/sys/kern/imgact_binmisc.c	Sat Nov  7 16:41:59 2020	(r367452)
@@ -58,16 +58,16 @@ __FBSDID("$FreeBSD$");
  * Node of the interpreter list.
  */
 typedef struct imgact_binmisc_entry {
+	SLIST_ENTRY(imgact_binmisc_entry) link;
 	char				 *ibe_name;
 	uint8_t				 *ibe_magic;
-	uint32_t			  ibe_moffset;
-	uint32_t			  ibe_msize;
 	uint8_t				 *ibe_mask;
 	uint8_t				 *ibe_interpreter;
 	uint32_t			  ibe_interp_argcnt;
 	uint32_t			  ibe_interp_length;
 	uint32_t			  ibe_flags;
-	SLIST_ENTRY(imgact_binmisc_entry) link;
+	uint32_t			  ibe_moffset;
+	uint32_t			  ibe_msize;
 } imgact_binmisc_entry_t;
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011071642.0A7Gg0B6083572>