Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153267425
D23909.id69172.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D23909.id69172.diff
View Options
Index: head/contrib/elftoolchain/readelf/readelf.c
===================================================================
--- head/contrib/elftoolchain/readelf/readelf.c
+++ head/contrib/elftoolchain/readelf/readelf.c
@@ -3671,6 +3671,7 @@
{ NT_FREEBSD_FCTL_ASLR_DISABLE, "ASLR_DISABLE" },
{ NT_FREEBSD_FCTL_PROTMAX_DISABLE, "PROTMAX_DISABLE" },
{ NT_FREEBSD_FCTL_STKGAP_DISABLE, "STKGAP_DISABLE" },
+ { NT_FREEBSD_FCTL_WXNEEDED, "WXNEEDED" },
{ 0, NULL }
};
Index: head/sys/sys/elf_common.h
===================================================================
--- head/sys/sys/elf_common.h
+++ head/sys/sys/elf_common.h
@@ -790,6 +790,7 @@
#define NT_FREEBSD_FCTL_ASLR_DISABLE 0x00000001
#define NT_FREEBSD_FCTL_PROTMAX_DISABLE 0x00000002
#define NT_FREEBSD_FCTL_STKGAP_DISABLE 0x00000004
+#define NT_FREEBSD_FCTL_WXNEEDED 0x00000008
/* Values for n_type. Used in core files. */
#define NT_PRSTATUS 1 /* Process status. */
Index: head/usr.bin/elfctl/elfctl.c
===================================================================
--- head/usr.bin/elfctl/elfctl.c
+++ head/usr.bin/elfctl/elfctl.c
@@ -66,6 +66,7 @@
{ "protmax", NT_FREEBSD_FCTL_PROTMAX_DISABLE,
"Disable implicit PROT_MAX" },
{ "stackgap", NT_FREEBSD_FCTL_STKGAP_DISABLE, "Disable stack gap" },
+ { "wxneeded", NT_FREEBSD_FCTL_WXNEEDED, "Requires W+X mappings" },
};
static struct option long_opts[] = {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 3:53 AM (16 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31835232
Default Alt Text
D23909.id69172.diff (1 KB)
Attached To
Mode
D23909: Reserve WXNEEDED ELF feature control flag
Attached
Detach File
Event Timeline
Log In to Comment