summaryrefslogtreecommitdiff
path: root/exec
AgeCommit message (Collapse)Author
2004-10-23(check_elf_phdr): Fix typo in last change.Roland McGrath
2004-10-22.Roland McGrath
2004-10-222004-10-22 Roland McGrath <roland@frob.com>Roland McGrath
* exec.c (check_elf_phdr): Return early on setting ENOEXEC. Only touch E->info.elf.phdr_addr once, on the PT_LOAD segment that actually contains the e_phoff location in the file. (do_exec): If E.info.elf.phdr_addr is zero, don't set BOOT->phdr_size.
2004-09-26(check_elf_phdr): Tweak last change.Roland McGrath
2004-09-26.Roland McGrath
2004-09-262004-09-26 Roland McGrath <roland@frob.com>Roland McGrath
* priv.h (struct execdata.info.elf): New field `phdr_addr'. * exec.c (check_elf): Set E->info.elf.phdr_addr here from e_phoff. (check_elf_phdr): Don't check for PT_PHDR, remove last two args. (do_exec): Update callers. Set BOOT->phdr_addr and BOOT->phdr_size using info saved by check_elf.
2004-02-11.Roland McGrath
2004-02-112004-02-11 Roland McGrath <roland@frob.com>Roland McGrath
* exec.c (servercopy): Change signature to avoid casted arguments. Update callers. (do_exec, S_exec_setexecdata): Update callers.
2004-02-10.Roland McGrath
2004-02-102004-01-15 Roland McGrath <roland@frob.com>Roland McGrath
* priv.h (struct execdata.info.elf): Add `execstack' flag. * exec.c (check_elf_phdr): Set it according to PT_GNU_STACK's PF_X flag bit. If no PT_GNU_STACK, default to set. (do_exec): If flag is clear, remove execute permission from stack.
2004-02-102004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c (dump_core): Include null terminator in note name size, and round up to four byte alignment. (dump_core: write_note): Don't round OFFSET after each partial write. (dump_core): Don't round up to page size before writing notes. Do round up to page size for offset of each PT_LOAD region.
2002-09-17.Roland McGrath
2002-09-172002-09-17 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c [i386_THREAD_STATE] (fetch_thread_regset): The two types are not actually identical, must rearrange some members a little.
2002-06-13.Roland McGrath
2002-06-132002-06-13 Roland McGrath <roland@frob.com>Roland McGrath
* priv.h (trivfs_protid_t): Type removed (now in trivfs.h).
2002-05-29.Roland McGrath
2002-05-292002-05-29 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c (dump_core): int -> size_t
2002-05-292002-05-29 Roland McGrath <roland@frob.com>Roland McGrath
* hashexec.c (check_hashbang): Fix fs id port arg in io_identity call.
2002-05-11(prepare): fix last changeRoland McGrath
2002-05-10.Roland McGrath
2002-05-102002-05-10 Roland McGrath <roland@frob.com>Roland McGrath
* exec.c (prepare): Do io_stat when io_map fails as for when io_map_cntl fails.
2002-05-03.Roland McGrath
2002-05-032002-05-01 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c [ALPHA_THREAD_STATE] (ELF_MACHINE, fetch_thread_regset, fetch_thread_fpregset): New definitions for Alpha CPU.
2002-04-27.Roland McGrath
2002-04-272002-04-27 Roland McGrath <roland@frob.com>Roland McGrath
* priv.h: Include <link.h> to get ElfW macro. * priv.h, exec.c, main.c, hostarch.c: Use `ElfW(TYPE)' in place of `Elf32_TYPE' throughout.
2002-03-11dead file removedRoland McGrath
2002-03-11.Roland McGrath
2002-03-112002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c: New file, used by crash server (../trans) to write ELF core dump files. Thanks to Jon Arney <jarney1@cox.net> for spurring me to write this, and for helping to test and debug it.
2002-03-112002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* core.c: File removed. * Makefile (DIST_FILES): Remove core.c from the list.
2002-03-11(dump_core): Missing munmapRoland McGrath
2002-03-11Prototype code to produce the NT_PSINFO note.Roland McGrath
2002-03-09Fixed some little bugs in the prototype code.Roland McGrath
2002-03-08Untested code.Roland McGrath
2002-01-02.Roland McGrath
2002-01-022002-01-02 Roland McGrath <roland@frob.com>Roland McGrath
* exec.c (do_exec) [KERN_INVALID_LEDGER]: Pass extra arguments to task_create for OSF variant.
2002-01-02.Roland McGrath
2002-01-022002-01-01 Roland McGrath <roland@frob.com>Roland McGrath
* execmutations.h (SERVERCOPY): New macro.
2002-01-01.Roland McGrath
2002-01-012001-12-31 Roland McGrath <roland@frob.com>Roland McGrath
* exec.c (do_exec): thread_array_t -> thread_t *
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>.