svn commit: r367452 - head/sys/kern
Kyle Evans
kevans at FreeBSD.org
Sat Nov 7 16:42:00 UTC 2020
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;
/*
More information about the svn-src-all
mailing list