Age | Commit message (Collapse) | Author |
|
|
|
|
|
* 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.
|
|
|
|
|
|
* 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.
|
|
|
|
* exec.c (servercopy): Change signature to avoid casted arguments.
Update callers.
(do_exec, S_exec_setexecdata): Update callers.
|
|
|
|
* 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.
|
|
* 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.
|
|
|
|
* elfcore.c [i386_THREAD_STATE] (fetch_thread_regset): The two types
are not actually identical, must rearrange some members a little.
|
|
|
|
* priv.h (trivfs_protid_t): Type removed (now in trivfs.h).
|
|
|
|
* elfcore.c (dump_core): int -> size_t
|
|
* hashexec.c (check_hashbang): Fix fs id port arg in io_identity call.
|
|
|
|
|
|
* exec.c (prepare): Do io_stat when io_map fails as for when
io_map_cntl fails.
|
|
|
|
* elfcore.c [ALPHA_THREAD_STATE]
(ELF_MACHINE, fetch_thread_regset, fetch_thread_fpregset):
New definitions for Alpha CPU.
|
|
|
|
* 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.
|
|
|
|
|
|
* 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.
|
|
* core.c: File removed.
* Makefile (DIST_FILES): Remove core.c from the list.
|
|
|
|
|
|
|
|
|
|
|
|
* exec.c (do_exec) [KERN_INVALID_LEDGER]:
Pass extra arguments to task_create for OSF variant.
|
|
|
|
* execmutations.h (SERVERCOPY): New macro.
|
|
|
|
* exec.c (do_exec): thread_array_t -> thread_t *
|
|
* gcore.c: File moved to ../utils.
* Makefile (DIST_FILES): Remove it.
|
|
* gcore.c: File moved to ../utils.
* Makefile (DIST_FILES): Remove it.
|
|
* main.c (S_exec_init): Use iohelp_create_empty_iouser.
|
|
|
|
|
|
* exec.c (do_exec: user_fd): Add a user ref to returned port.
|
|
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.
|
|
|
|
* 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.
|
|
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.
|
|
* hashexec.c (check_hashbang): Count characters in interp
correctly. Fix from Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>.
|