diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2020-03-02 02:36:41 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2020-03-02 02:36:41 +0000 |
| commit | 79bfb05b074873a2c02f0733456ecf269656bef6 (patch) | |
| tree | a4565a06267b57db85b66a77709c356ee98c27c5 | |
| parent | 95695e4634c4ca93f07c8877f2effdba932ebab2 (diff) | |
Notes
| -rw-r--r-- | usr.bin/Makefile | 1 | ||||
| -rw-r--r-- | usr.bin/elfctl/Makefile (renamed from tools/tools/controlelf/Makefile) | 5 | ||||
| -rw-r--r-- | usr.bin/elfctl/elfctl.1 (renamed from tools/tools/controlelf/controlelf.1) | 10 | ||||
| -rw-r--r-- | usr.bin/elfctl/elfctl.c (renamed from tools/tools/controlelf/controlelf.c) | 0 |
4 files changed, 7 insertions, 9 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 7528ce8455a12..cb166e99457ef 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -31,6 +31,7 @@ SUBDIR= alias \ diff \ dirname \ du \ + elfctl \ elfdump \ enigma \ env \ diff --git a/tools/tools/controlelf/Makefile b/usr.bin/elfctl/Makefile index 3bb7021fae8cd..8b02ac727448d 100644 --- a/tools/tools/controlelf/Makefile +++ b/usr.bin/elfctl/Makefile @@ -2,13 +2,10 @@ ELFTCDIR= ${SRCTOP}/contrib/elftoolchain -PROG= controlelf -SRCS= controlelf.c +PROG= elfctl LIBADD= elftc elf CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common -WARNS?= 6 - .include <bsd.prog.mk> diff --git a/tools/tools/controlelf/controlelf.1 b/usr.bin/elfctl/elfctl.1 index 74db3028d3df5..02aa53b5f4fb3 100644 --- a/tools/tools/controlelf/controlelf.1 +++ b/usr.bin/elfctl/elfctl.1 @@ -26,11 +26,11 @@ .\" .\" $FreeBSD$ .\" -.Dd September 27, 2019 -.Dt CONTROLELF 1 +.Dd March 1, 2020 +.Dt ELFCTL 1 .Os .Sh NAME -.Nm controlelf +.Nm elfctl .Nd change an ELF binary's feature control note .Sh SYNOPSIS .Nm @@ -79,8 +79,8 @@ of the .Nm command: .Bd -literal -offset indent -controlelf file -controlelf -e +aslr file +elfctl file +elfctl -e +aslr file .Ed .Sh HISTORY .Nm diff --git a/tools/tools/controlelf/controlelf.c b/usr.bin/elfctl/elfctl.c index 1eaa0fb861812..1eaa0fb861812 100644 --- a/tools/tools/controlelf/controlelf.c +++ b/usr.bin/elfctl/elfctl.c |
