summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu27@gmail.com>2010-05-26 00:15:37 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-08 22:40:18 +0100
commit67fa50fb8f0a6894e5ed6534936afb8044e66613 (patch)
tree1097db000b7c9520a67a0f07b481cc487585a895 /doc
parent6868c17b7def25beb69e7b685496e078340d8b12 (diff)
Add a new exec_exec_paths RPC
* hurd/exec.defs (exec_exec): Label as deprecated. (exec_exec_paths): New RPC. * doc/hurd.texi: Update accordingly. * exec/hashexec.c (check_hashbang): Add file_name_exec argument. Don't guess the file name if file_name_exec is set. * exec/priv.h (check_hashbang): Add path argument. * exec/exec.c (S_exec_exec): Label as deprecated. (S_exec_exec_paths): New function. (do_exec): Add path and abspath arguments, pass path to check_hashbang.
Diffstat (limited to 'doc')
-rw-r--r--doc/hurd.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/hurd.texi b/doc/hurd.texi
index 8428a77b..a9216d1d 100644
--- a/doc/hurd.texi
+++ b/doc/hurd.texi
@@ -102,7 +102,7 @@ This file documents the GNU Hurd kernel component. This edition of the
documentation was last updated for version @value{VERSION} of the Hurd.
Copyright @copyright{} 1994, 1996, 1998, 1999, 2000, 2001, 2002, 2003,
-2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
+2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
@quotation
Permission is granted to make and distribute verbatim copies of
@@ -2765,14 +2765,14 @@ If the setuid/setgid transformation adds a new uid or gid to the user's
authentication handle that was not previously present (as opposed to
merely reordering them), then the @code{EXEC_SECURE} and
@code{EXEC_NEWTASK} flags should both be added in the call to
-@code{exec_exec}.
+@code{exec_exec_paths}.
The server then needs to open a new port onto the executed file which
will not share any file pointers with the port the user passed in,
opened with @code{O_READ}. Finally, all the information (mutated
appropriately for setuid/setgid) should be sent to the execserver with
-@code{exec_exec}. Whatever error code @code{exec_exec} returns should
-returned to the caller of @code{file_exec}.
+@code{exec_exec_paths}. Whatever error code @code{exec_exec_paths}
+returns should be returned to the caller of @code{file_exec}.
@node File Locking
@subsection File Locking