This will allow elfctl on older releases to set bits that are not yet known there, so that the binary will have the correct settings applied if run on a later FreeBSD version.
Suggested by: kib
Sponsored by: The FreeBSD Foundation
Differential D28284 Authored by emaste on Jan 22 2021, 5:25 PM.
Tags None Referenced Files
Subscribers
Details Summary This will allow elfctl on older releases to set bits that are not yet known there, so that the binary will have the correct settings applied if run on a later FreeBSD version. Suggested by: kib
Diff Detail
Event Timelineemaste created this revision.
This revision is now accepted and ready to land.Jan 22 2021, 7:25 PM2021-01-22 19:25:51 (UTC+0) Closed by commit rG86f33b5fcf60: elfctl: allow features to be specified by value (authored by emaste). · Explain WhyJan 22 2021, 7:41 PM2021-01-22 19:41:13 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 82733 usr.bin/elfctl/elfctl.1
usr.bin/elfctl/elfctl.c
|
This could also be an int or u:_int. The acceptable range is 0..65535.