aboutsummaryrefslogtreecommitdiff
path: root/exec
Commit message (Collapse)AuthorAgeFilesLines
...
* .Roland McGrath1999-07-181-0/+4
|
* 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-181-2/+1
| | | | * exec.c (servercopy): Removed unused variable.
* .Roland McGrath1999-07-111-8/+12
|
* 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-1/+2
| | | | * exec.c (load_section): Fix typos in last change.
* 1999-07-06 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-113-22/+35
| | | | | | | | * 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.
* .Roland McGrath1999-07-111-0/+6
|
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-26/+41
| | | | | | | | | | | | | | | | * hostarch.c (mach_host_elf_machine): Replaced with ... (elf_machine_matches_host): New function. Instead of returning an ELF EM_* code, take one and check if it matches the host; operate only on mach_host_self(), cache results, Grok CPU_TYPE_{I486,PENTIUM,PENTIUMPRO} to accept EM_386 or EM_486. Grok POWERPC, ALPHA, HPPA types. * exec.c (check_elf): Call elf_machine_matches_host instead of comparing against elf_machine. (load_section): #if 0 out no-op code that uses elf_machine. * priv.h (elf_machine_matches_host): Declare it. (elf_machine, mach_host_elf_machine): Remove decls. * main.c (main) [!BFD]: Don't call mach_host_elf_machine. (elf_machine): Variable removed.
* .Roland McGrath1999-07-101-0/+14
|
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-101-2/+6
| | | | | | | | | | | * exec.c (check_elf): Call elf_machine_matches_host instead of comparing against elf_machine. (load_section): #if 0 out no-op code that uses elf_machine. * priv.h (elf_machine_matches_host): Declare it. (elf_machine, mach_host_elf_machine): Remove decls. * main.c (main) [!BFD]: Don't call mach_host_elf_machine. (elf_machine): Variable removed. * exec.c (map): Don't cast arg to munmap to vm_address_t.
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-101-5/+1
| | | | | | | | | | * exec.c (check_elf): Call elf_machine_matches_host instead of comparing against elf_machine. (load_section): #if 0 out no-op code that uses elf_machine. * priv.h (elf_machine_matches_host): Declare it. (elf_machine, mach_host_elf_machine): Remove decls. * main.c (main) [!BFD]: Don't call mach_host_elf_machine. (elf_machine): Variable removed.
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-101-5/+4
| | | | | | | | | | | * exec.c (check_elf): Call elf_machine_matches_host instead of comparing against elf_machine. (load_section): #if 0 out no-op code that uses elf_machine. * priv.h (elf_machine_matches_host): Declare it. (elf_machine, mach_host_elf_machine): Remove decls. * main.c (main) [!BFD]: Don't call mach_host_elf_machine. (elf_machine): Variable removed. * priv.h: Add #include <sys/mman.h> for munmap decl.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-036-54/+46
| | | | | | | | | | | | | | | * 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.
* .Roland McGrath1999-06-041-0/+5
|
* 1999-06-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-041-2/+2
| | | | | * exec.c (map): Fix mapping calls to use F->__offset consistently instead of F->__target.
* .Roland McGrath1999-05-161-0/+4
|
* 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-161-3/+2
| | | | * hashexec.c (check_hashbang): Fix bug in last change.
* .Roland McGrath1999-05-151-1/+6
|
* 1999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-9/+19
| | | | | * hashexec.c (check_hashbang): Trim trailing blanks after interpreter argument.
* 1998-09-05 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>Thomas Bushnell1999-04-304-2/+1875
| | | | | | | | | * do-bunzip2.c: New file. * exec.c (check_bzip2): New function. (BZIP2): New cpp symbol. If defined, bunzip2 engine is enabled. * Makefile (bzip2-objects): New variable. (OBJS): Add bzip2-objects. (CPPFLAGS): Add -DBZIP2.
* .Roland McGrath1999-04-271-0/+4
|
* 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-04-271-2/+26
| | | | * exec.c (do_exec): Implement EXEC_SIGTRAP flag.
* .Roland McGrath1998-12-301-0/+4
|
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-301-0/+1
| | | | * main.c (S_exec_init): Deallocate PROCSERVER port when finished.
* .Roland McGrath1998-12-271-0/+21
|
* 1998-12-21 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-4/+8
| | | | * Makefile (HURDLIBS): Add missing implied library deps.
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-48/+19
| | | | | | | | | | | * main.c (S_exec_init): Remove variable DEV_MASTER; pass null instead since we don't need it. Use assert_perror on getting the host-priv port and on startup_essential_task, since init will hang until we've done made that RPC. 1998-12-21 Roland McGrath <roland@baalperazim.frob.com> * main.c (S_exec_init): Don't call set_active_trans. (set_active_trans): Function removed.
* 1998-12-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-1/+1
| | | | | | | * exec.c (do_exec): Fix conditional for cleaning up INTERP, from nonnull E.interp.section to nonnull INTERP.file. If we failed to open the interpreter file, INTERP.file will be null and the rest of INTERP will be uninitialized.
* .Roland McGrath1998-11-291-0/+7
|
* 1998-11-25 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-11-291-2/+2
| | | | | * main.c (S_exec_init): Call _hurd_proc_init with new args set to zero.
* 1998-11-25 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-11-291-1/+1
| | | | * hashexec.c (check_hashbang): Fix typo: interplen -> interp_len.
* *** empty log message ***Thomas Bushnell1998-11-161-1/+1
|
* .Roland McGrath1998-11-071-1/+5
|
* 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-11-071-6/+6
| | | | * hashexec.c: Use mach_* instead of __mach_*.
* Thu Nov 5 15:26:50 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-11-052-8/+30
| | | | | | | * 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.
* .Roland McGrath1998-07-161-5/+10
|
* 1998-07-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-161-10/+16
| | | | | * exec.c (do_exec): Set boot->phdr_addr and boot->user_entry after loading, to addresses adjusted for actual run-time load address.
* Wed Aug 20 14:02:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-202-2/+6
| | | | | * main.c (main): New args for ports_manage_port_operations_multithread.
* .Miles Bader1997-06-301-0/+6
|
* (main):Miles Bader1997-06-301-14/+20
| | | | | | | Arg parsing added. (argp_program_version): New variable. Include <argp.h>.
* .Miles Bader1997-02-051-0/+4
|
* (check_hashbang):Miles Bader1997-02-051-3/+3
| | | | `preempter' -> `preemptor'.
* Sat Nov 23 16:26:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-12-053-1/+8
| | | | | * priv.h (mach_host_elf_machine): New prototype. * hostarch.c: Include "priv.h".
* Mon Nov 18 17:45:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-183-2/+17
| | | | | | | | | | | | * exec.c (load_section): If ANYWHERE, then make sure ADDR starts out at least past the first page, so that we don't take it. Then the library can (if desired) make the page no-access. Fri Nov 15 17:34:23 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * exec.c: Don't include <hurd/shared.h> any more. * main.c (S_exec_init): New arg syntax of trivfs_open.
* Mon Oct 7 21:31:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-10-082-2/+33
| | | | | | | * exec.c (fake_seek): New function. (prepare): Initialize E->stream.__io_funcs.seek to fake_seek; this is called now that stdio doesn't assume it always knows the file position.
* *** empty log message ***Thomas Bushnell1996-09-172-2/+6
|
* *** empty log message ***Thomas Bushnell1996-09-052-3/+9
|
* *** empty log message ***Thomas Bushnell1996-08-294-12/+90
|
* *** empty log message ***Michael I. Bushnell1996-07-184-0/+533
|
* Initial revisionRoland McGrath1996-07-171-0/+643
|
* (S_exec_exec): Don't use unsafe MOVE_SEND in call to interruptibleMichael I. Bushnell1996-07-081-12/+20
| | | | exec_exec stub.