[Bug 252629] Need infrastructure to set ELF feature note flags via elfctl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 22 17:31:19 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252629

--- Comment #13 from Ed Maste <emaste at freebsd.org> ---
Another proposed change to allow flags to be set by value:
https://reviews.freebsd.org/D28284

then we could do e.g.

NT_FREEBSD_FCTL_ASLR_DISABLE=0x1
NT_FREEBSD_FCTL_PROTMAX_DISABLE=0x2
NT_FREEBSD_FCTL_STKGAP_DISABLE=0x4

elfctl -e =${NT_FREEBSD_FCTL_ASLR_DISABLE},${NT_FREEBSD_FCTL_STKGAP_DISABLE}
/path/to/file

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list