]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r358512: Move ELF feature note tool to usr.bin/elfctl
authorEd Maste <emaste@FreeBSD.org>
Tue, 17 Mar 2020 19:53:03 +0000 (19:53 +0000)
committerEd Maste <emaste@FreeBSD.org>
Tue, 17 Mar 2020 19:53:03 +0000 (19:53 +0000)
commit99d8bf5e5dffe60384c1dbf64870ac780ae55c3f
tree767c1624a67fdffa6f02dbd76fd0daa6801302fe
parentee76a1b14f2c8276f2b4ef60fd28c3bc0800fbc5
MFC r358512: Move ELF feature note tool to usr.bin/elfctl

elfctl is a tool for modifying the NT_FREEBSD_FEATURE_CTL ELF note,
which contains a set of flags for enabling or disabling vulnerability
mitigations and other features.

Also merge follow-on commits:

r358518 elfctl: initialize features
r358546 elfctl: tiny style(9) cleanup, use bool where appropriate
r358622 elfctl: style(9): use C99 uintX_t types
r358623 elfctl: check read return value
r358889 elfctl: remove memory leak

Sponsored by: The FreeBSD Foundation
usr.bin/Makefile
usr.bin/elfctl/Makefile [moved from tools/tools/controlelf/Makefile with 76% similarity]
usr.bin/elfctl/elfctl.1 [moved from tools/tools/controlelf/controlelf.1 with 96% similarity]
usr.bin/elfctl/elfctl.c [moved from tools/tools/controlelf/controlelf.c with 89% similarity]