summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-09-27 19:26:52 +0000
committerEd Maste <emaste@FreeBSD.org>2019-09-27 19:26:52 +0000
commitf84ed828345ba6ddbfdf292b460939536141ddb8 (patch)
tree8e2145ba2d0f3323210dff4add60b896d166af9f /tools
parent6554362c664073f963300598abc4e8ae2be6d915 (diff)
downloadsrc-test2-f84ed828345ba6ddbfdf292b460939536141ddb8.tar.gz
src-test2-f84ed828345ba6ddbfdf292b460939536141ddb8.zip
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/controlelf/controlelf.128
1 files changed, 15 insertions, 13 deletions
diff --git a/tools/tools/controlelf/controlelf.1 b/tools/tools/controlelf/controlelf.1
index a8df467a2712..74db3028d3df 100644
--- a/tools/tools/controlelf/controlelf.1
+++ b/tools/tools/controlelf/controlelf.1
@@ -26,12 +26,12 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 21, 2019
+.Dd September 27, 2019
.Dt CONTROLELF 1
.Os
.Sh NAME
.Nm controlelf
-.Nd change an ELF binary's control features
+.Nd change an ELF binary's feature control note
.Sh SYNOPSIS
.Nm
.Op Fl h | Fl -help
@@ -41,33 +41,33 @@
.Sh DESCRIPTION
The
.Nm
-utility modifies an ELF binary to change it's control features.
+utility modifies feature flags in the feature control note in an ELF binary.
.Pp
The options are as follows:
.Bl -tag -width indent
.It Fl h | Fl -help
Print a usage message and exit.
.It Fl l
-Writes the list of all known ELF types to standard output.
+List known ELF feature flags.
.It Fl e Ar featurelist
Edit features from the given comma separated list
.Ar featurelist .
.Ar featurelist
-starts with one of the three modes:
+starts with one of the three operations:
.Dq Li +
to turn on the features,
.Dq Li -
to turn off the features,
.Dq Li =
to only turn on the given features.
-Followed by a comma separated features.
+A comma separated list of feature names follows the operation.
.El
.Pp
If
-.Fl e ,
-option wasn't specified,
+.Fl e
+is not specified
.Nm
-will display the current control features for the files named by the arguments
+displays the status of each feature in the ELF note in each
.Ar .
.Sh EXIT STATUS
Exit status is 0 on success, and 1 if the command
@@ -83,10 +83,12 @@ controlelf file
controlelf -e +aslr file
.Ed
.Sh HISTORY
-The
.Nm
-manual page first appeared in
+first appeared in
.Fx 13.0 .
.Sh AUTHORS
-This manual page was written by
-.An Bora Ozarslan Mt borako.ozarslan@gmail.com .
+.Nm
+was written by
+.An Bora Ozarslan Mt borako.ozarslan@gmail.com
+under sponsorship from the
+.Fx Foundation.