aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2017-07-14 15:42:12 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2017-07-14 15:42:12 +0000
commit9152cb3868a4bd259a420f1c6354802316f0e296 (patch)
tree93ada42b8906b83113dc82fd56c32d40a88ac8a3 /libexec
parentaf5147ecafb2e5376b43b5cc367c7ac9d94ae6b0 (diff)
downloadsrc-9152cb3868a4bd259a420f1c6354802316f0e296.tar.gz
src-9152cb3868a4bd259a420f1c6354802316f0e296.zip
Language improvements.
Submitted by: wblock MFC after: 3 days Differential revision: https://reviews.freebsd.org/D10826
Notes
Notes: svn path=/head/; revision=320989
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/rtld.119
1 files changed, 10 insertions, 9 deletions
diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1
index 19b0aa063796..fc68867879a8 100644
--- a/libexec/rtld-elf/rtld.1
+++ b/libexec/rtld-elf/rtld.1
@@ -309,7 +309,7 @@ The syntax of the direct invocation is
.Op Ar image arguments
.Ed
.Pp
-The options are as follows:
+The options are:
.Bl -tag -width indent
.It Fl f Ar fd
File descriptor
@@ -339,21 +339,22 @@ Ends the
options.
The argument following
.Fl -
-is interpreted as the path of binary to execute.
+is interpreted as the path of the binary to execute.
.El
.Pp
-To conform to user expectation to not break some naively restricted
-execution environments, in the direct execution mode
+In the direct execution mode,
.Nm
-emulates verification of the binary execute permission
-for current user.
+emulates verification of the binary execute permission for the
+current user.
+This is done to avoid breaking user expectations in naively restricted
+execution environments.
The verification only uses Unix
.Dv DACs ,
ignores
.Dv ACLs
-and is racy by its nature.
-The environments which rely on such restrictions are weak
-and breakable on its own.
+and is naturally prone to race conditions.
+Environments which rely on such restrictions are weak
+and breakable on their own.
.Sh FILES
.Bl -tag -width ".Pa /var/run/ld-elf32.so.hints" -compact
.It Pa /var/run/ld-elf.so.hints