Age | Commit message (Collapse) | Author |
|
* hashexec.c (check_hashbang): Count characters in interp
correctly. Fix from Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>.
|
|
* hashexec.c (check_hashbang): Use strpbrk directly instead of strsep.
Fix up INTERP_LEN properly in the no-argument case.
|
|
* main.c (S_exec_init): Don't use MOVE_SEND in Hurd RPC.
|
|
* hashexec.c (check_hashbang): Fix up multiple fencepost brainos.
|
|
* hashexec.c (check_hashbang): Fix fencepost error in last change.
|
|
* exec.c (map): Made global.
* priv.h: Declare it.
(map_fsize, map_vsize): New macros for accessing state set up by map.
* hashexec.c (check_hashbang): Use map and copying operations rather
than stdio to extract the first line from the file. Move finish call
to immediately after reading the line.
|
|
* hashexec.c (check_hashbang: user_fd): Add a user ref to DTABLE[FD]
send right, because caller (hurd_file_name_lookup internals) will
consume one.
* hashexec.c (check_hashbang): When dealloc'ing DTABLE ports,
optimize out syscall for null ports.
|
|
* exec.c (load_section): Use mmap instead of vm_allocate when
allocating in mach_task_self ().
(servercopy): Likewise.
(do_exec): Likewise.
* hashexec.c (check_hashbang): Likewise.
|
|
* core.c (core_dump_task): Use munmap instead of vm_deallocate,
when it's from our own task.
* elfcore.c: Likewise.
* exec.c (load_section): Likewise.
(map): Likewise.
(close_exec_stream): Likewise.
(finish_mapping): Likewise.
(load): Likewise.
(do_exec): Likewise.
(S_exec_setexecdata): Likewise.
* hashexec.c (check_hashbang): Likewise.
* main.c (deadboot): Likewise.
|
|
* hashexec.c (check_hashbang): Fix bug in last change.
|
|
* hashexec.c (check_hashbang): Trim trailing blanks after interpreter
argument.
|
|
* hashexec.c (check_hashbang): Fix typo: interplen -> interp_len.
|
|
* hashexec.c: Use mach_* instead of __mach_*.
|
|
* hashexec.c (check_hashbang): Keep INTERP_LEN with the correct
value (bytes of memory holding INTERP) for later use.
(check_hashbang: setup_args): Set argv[0] from the interpreter
name, not copied from the existing command line.
|
|
`preempter' -> `preemptor'.
|
|
(check_hashbang): Pass 0 for new LOOKUP arg to hurd_file_name_lookup.
|
|
|
|
auth_user_authenticate inerface.
(check_hashbang) [setup_args/search_path]: Declare PATH to be `char const *'.
|
|
|
|
|
|
|
|
|
|
search ourselves, and get rid of LOOKUP_CWDIR & associated logic.
|
|
When using executable name found on the path, don't return alloca()ed
memory from search_path(); use malloc() instead.
Use envz_get() to search the environment.
|
|
hurd_catch_signal instead of old preemption interface.
|
|
|
|
the contents.
|
|
volatile.
|
|
(check_hashbang): Fixed PATH searching in script name guessing.
|
|
of the script before resorting to /dev/fd.
|
|
|
|
|