summaryrefslogtreecommitdiff
path: root/exec
AgeCommit message (Collapse)Author
2001-11-232001-11-23 Roland McGrath <roland@frob.com>Roland McGrath
* gcore.c: File moved to ../utils. * Makefile (DIST_FILES): Remove it.
2001-11-232001-11-23 Roland McGrath <roland@frob.com>Roland McGrath
* gcore.c: File moved to ../utils. * Makefile (DIST_FILES): Remove it.
2001-06-162001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* main.c (S_exec_init): Use iohelp_create_empty_iouser.
2001-06-16.Roland McGrath
2001-06-16.Roland McGrath
2001-06-162001-06-15 Roland McGrath <roland@frob.com>Roland McGrath
* exec.c (do_exec: user_fd): Add a user ref to returned port.
2001-02-12auth/Marcus Brinkmann
2001-02-12 Marcus Brinkmann <marcus@gnu.org> * auth.c (main): New variable ARGP defining a doc string. Pass address of ARGP to argp_parse(). exec/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * main.c: Change hurd version name from proc to exec. (main): Add period to doc string. ftpfs/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * ftpfs.c: Include <version.h>. Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. hostmux/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * hostmux.c: Include <version.h>. Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. usermux/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * usermux.c (options): Include <version.h>. Add global variable ARGP_PROGRAM_VERSION. Add period to DOC. trans/ 2001-02-12 Marcus Brinkmann <marcus@gnu.org> * fifo.c: Make version string say `fifo', not `null'. Add period to doc text in ARGP. * firmlink.c: Add period to doc text in ARGP_DOC, convert semi-colon to colon. * magic.c (options): Add period to DOC. * new-fifo.c (fifo_trans_parse_args): Add doc string to ARGP. Include <version.h>, new global variable ARGP_PROGRAM_VERSION. * crash.c: Include <version.h>, add global variable ARGP_PROGRAM_VERSION. * hello.c: Include <version.h>, add global variable ARGP_PROGRAM_VERSION. (hello_argp): Add doc string. * hello-mt.c: Likewise. * streamio.c: Add period to DOC. Change streamdev to streamio in version string. * password.c (main): Add period to doc string in ARGP.
2000-10-01.Roland McGrath
2000-10-012000-10-01 Roland McGrath <roland@frob.com>Roland McGrath
* exec.c: Comments. 2000-09-24 Roland McGrath <roland@frob.com> * exec.c (map): Bail if the requested position + data size does not fit in the file size.
2000-07-26* Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis
comes before the ports lib. This makes sure the functions in libthreads properly override the stubs in libports with the new dynamic linker semantics in glibc 2.2.
2000-07-202000-07-20 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* hashexec.c (check_hashbang): Count characters in interp correctly. Fix from Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>.
2000-03-262000-03-23 Mark Kettenis <kettenis@gnu.org>Mark Kettenis
* exec.c (do_exec): Set interp.file to MACH_PORT_NULL before the first `goto out'.
2000-03-20.Roland McGrath
2000-03-202000-03-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exectrans.c: Obsolete file removed.
2000-03-202000-03-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exectrans.c: Obsolete file removed. * Makefile (DIST_FILES): Remove it.
2000-03-202000-03-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* main.c (trivfs_allow_open): Initialize to zero. (trivfs_support_read, trivfs_support_write): Likewise. (trivfs_support_exec): Variable removed.
2000-03-17.Roland McGrath
2000-03-172000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hashexec.c (check_hashbang): Use strpbrk directly instead of strsep. Fix up INTERP_LEN properly in the no-argument case.
2000-03-17*** empty log message ***Thomas Bushnell
2000-03-172000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* main.c (S_exec_init): Don't use MOVE_SEND in Hurd RPC.
2000-03-17.Roland McGrath
2000-03-172000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exec.c (do_exec): Use ports_get_send_right.
2000-03-13.Roland McGrath
2000-03-132000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exec.c [! EXECDATA_STREAM] (prepare_stream): Replace no-op with real function to initialize map_* members to zero.
2000-03-132000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* priv.h (EXECDATA_STREAM): Define this only #ifdef BFD. The non-BFD exec server is now completely independent of stdio magic; it uses only those interfaces documented in the C library manual, which are provided both by old GNU stdio and by GNU libio. Resurrecting the BFD exec server will require using magic again, for which libio-specific magic needs to be written.
2000-03-13.Roland McGrath
2000-03-132000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* priv.h (EXECDATA_STREAM): New macro, always defined for now. (struct execdata) [! EXECDATA_STREAM]: Add members map_buffer, map_bsize, map_fsize, map_filepos in place of stream. (map_buffer, map_filepos, map_set_fsize): New macros for accessing those or stream. [! EXECDATA_STREAM] (map_fsize, map_vsize): Define using new members. * exec.c (map): Rewritten purely using those accessor macros. (input_room): Set the __target, __bufp, __error, and __eof members, which are no longer set by map. [! EXECDATA_STREAM] (prepare_stream, prepare_in_memory): Make no-ops. (input_room, close_exec_stream, fake_seek, prepare_stream, prepare_in_memory): Conditionalize these defns on [EXECDATA_STREAM]. (load_section): Always use map instead of stdio. Replace bcopy with memcpy. (check_gzip: zipread): Rewrite using map instead of stdio. (check_bzip2: zipread): Likewise.
2000-03-13.Roland McGrath
2000-03-132000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hashexec.c (check_hashbang): Fix up multiple fencepost brainos.
2000-03-13.Roland McGrath
2000-03-132000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hashexec.c (check_hashbang): Fix fencepost error in last change.
2000-03-13.Roland McGrath
2000-03-132000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
2000-03-132000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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. * exec.c (map): If E->file_data is set, diagnose EOF before going to direct io_read. (prepare_in_memory): New function, broken out of check_gzip before last change. (check_gzip, check_bzip2): Use it.
2000-03-13.Roland McGrath
2000-03-132000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exec.c (prepare_stream): New function, broken out of prepare. (prepare): Call it. [_STDIO_USES_IOSTREAM]: Do #error if this is defined. (map, input_room, close_exec_stream, fake_seek, prepare_stream): Conditionalize all these definitions on [! _STDIO_USES_IOSTREAM]. Only map and prepare_stream are called from elsewhere in the code. (check_gzip): Don't reinitialize E->stream, since it will in fact not be used again. (check_bzip2): Likewise.
2000-03-10.Roland McGrath
2000-03-102000-03-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hostarch.c (elf_machine_matches_host): Don't recognize EM_486, since newer <elf.h>'s don't define it any more.
2000-02-28.Roland McGrath
2000-02-282000-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-11-08.Roland McGrath
1999-11-081999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exectrans.c (trivfs_support_write, trivfs_support_exec): Variables removed. (trivfs_allow_open): Set to just O_READ.
1999-09-13ChangeLogRoland McGrath
1999-09-131999-09-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (exec.static-LDFLAGS): Variable removed.
1999-07-18.Roland McGrath
1999-07-181999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exec.c (servercopy): Removed unused variable.
1999-07-11.Roland McGrath
1999-07-111999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exec.c (load_section): Fix typos in last change.
1999-07-111999-07-06 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1999-07-11.Roland McGrath