git: 31a248318023 - main - sys/elf_common.h: add the DF_1_INITFIRST flag definition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 May 2025 17:15:07 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=31a24831802389f52f3ebb7fdf670ee0e4dd608e
commit 31a24831802389f52f3ebb7fdf670ee0e4dd608e
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-05-03 10:49:45 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-05-06 17:14:56 +0000
sys/elf_common.h: add the DF_1_INITFIRST flag definition
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D50132
---
sys/sys/elf_common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 7febfc1fbaf4..1c33b55fc5b6 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -790,6 +790,7 @@ typedef struct {
#define DF_1_GLOBAL 0x00000002 /* Set the RTLD_GLOBAL for object */
#define DF_1_NODELETE 0x00000008 /* Set the RTLD_NODELETE for object */
#define DF_1_LOADFLTR 0x00000010 /* Immediate loading of filtees */
+#define DF_1_INITFIRST 0x00000020 /* Initialize DSO first at runtime */
#define DF_1_NOOPEN 0x00000040 /* Do not allow loading on dlopen() */
#define DF_1_ORIGIN 0x00000080 /* Process $ORIGIN */
#define DF_1_INTERPOSE 0x00000400 /* Interpose all objects but main */