summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorCharlie Jenkins <thecharlesjenkins@gmail.com>2026-04-18 17:08:49 -0400
committerJonathan Corbet <corbet@lwn.net>2026-04-27 03:58:19 -0600
commit49984b903a92ccf9dafeca4ed4f18f86ee9adb72 (patch)
tree4ff1d6af3c9cde023446fe36322dceb40ac30fa8 /Documentation/admin-guide
parent1cf4830de25495c071a78f307fd66e83ddd586df (diff)
downloadlwn-49984b903a92ccf9dafeca4ed4f18f86ee9adb72.tar.gz
lwn-49984b903a92ccf9dafeca4ed4f18f86ee9adb72.zip
Documentation/binfmt-misc.rst: Specify aux vector for "O" flag description
Instead of replacing the file path in the argument vector, the file descriptor is passed as AT_EXECFD in the auxilary vector. This appears to have been the case at least since the git port, update the documentation to reflect this. Signed-off-by: Charlie Jenkins <thecharlesjenkins@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260418-binfmt_misc_doc_update-v1-1-c2e9601ab868@gmail.com>
Diffstat (limited to 'Documentation/admin-guide')
-rw-r--r--Documentation/admin-guide/binfmt-misc.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/admin-guide/binfmt-misc.rst b/Documentation/admin-guide/binfmt-misc.rst
index 59cd902e3549..c0a34fbf8022 100644
--- a/Documentation/admin-guide/binfmt-misc.rst
+++ b/Documentation/admin-guide/binfmt-misc.rst
@@ -68,10 +68,10 @@ Here is what the fields mean:
Legacy behavior of binfmt_misc is to pass the full path
of the binary to the interpreter as an argument. When this flag is
included, binfmt_misc will open the file for reading and pass its
- descriptor as an argument, instead of the full path, thus allowing
- the interpreter to execute non-readable binaries. This feature
- should be used with care - the interpreter has to be trusted not to
- emit the contents of the non-readable binary.
+ descriptor into the auxilary vector with the key "AT_EXECFD", thus
+ allowing the interpreter to execute non-readable binaries. This
+ feature should be used with care - the interpreter has to be trusted
+ not to emit the contents of the non-readable binary.
``C`` - credentials
Currently, the behavior of binfmt_misc is to calculate
the credentials and security token of the new process according to