mycroft
72623d8443
Use linux_setregs().
1998-01-24 12:32:15 +00:00
christos
d551a4edf9
catch up with Jason's exec.h inclusion.
1996-10-13 18:30:05 +00:00
christos
5476886e52
printf -> kprintf, sprintf -> ksprintf
1996-10-10 17:47:29 +00:00
cgd
912e6fef44
include <sys/exec.h> rather than <machine/exec.h>
1996-10-07 21:47:33 +00:00
jtk
fb2727b7e6
update to compile; needs new enum name 'Elf_sht_progbits'
1996-10-05 00:12:49 +00:00
cgd
65148dea43
kill (re)definitions of EXEC_ELF32. They're no longer necessary
...
(because of the EXEC_* option changes), and now cause warnings.
1996-10-03 05:02:05 +00:00
thorpej
8dd444adbd
Fix a section header check that didn't get updated with the elf32/elf64
...
changes. Make this compile again with the new EXEC_* options.
1996-10-03 02:16:18 +00:00
christos
76f9ea8676
Elf32_sht_progbits -> Elf_sht_progbits
1996-09-30 23:56:01 +00:00
cgd
7c3255776d
slightly clean up some of the changes made when ELF64 support went in
1996-09-27 18:14:23 +00:00
cgd
9c3e274c7b
adapt ELF-using compat code to use new ELF definitions/code. At this point,
...
these are restricted to 32-bit ELF, and should be severely cleaned.
1996-09-26 20:52:42 +00:00
mycroft
a8fd25767d
Define execv() and execve() consistently across emulations.
...
Do path name translation.
1996-09-03 03:12:17 +00:00
christos
d83602c110
Simplify and add comments.
1996-06-13 19:27:01 +00:00
christos
4d9a6e0930
- Pass the Elf32_Ehdr in the linux probe function, and use it!
...
Since linux binaries are (mostly) always compiled with gcc, look for
the gcc signature in the .comment section header: "\0 GCC: (GNU) ".
I've changed the probe order in kern/exec_elf.c to probe for linux ELF
binaries first and fall back to SVR4 binaries. This makes statically
linked binaries work for both linux and svr4. Note that gcc-compiled
svr4 binaries, still contain the operating system signature first and
then the GCC signature, so there is no conflict. Yes this is a hack.
1996-06-13 18:42:01 +00:00
christos
151fa70f78
Prototyping changes.
1996-04-05 00:01:10 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
thorpej
e1da0d5390
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:37:27 +00:00
mycroft
88b8e43a80
Rearrange #includes.
1995-08-14 01:27:43 +00:00
christos
6b95b513b0
Use compat_util.[ch].
1995-06-24 20:20:04 +00:00
fvdl
c4aaa6000c
* Changed to use generic ELF code from kern/exec_elf.c (which was taken
...
from the svr4 exec code plus the linux compat mods)
* Include file change
* Add multicast sockopts (from John Brezak)
1995-06-22 21:34:27 +00:00
fvdl
fb777788b1
Don't forget to acknowledge that all the ELF stuff was taken from
...
Christos' svr4 code.
1995-06-11 15:15:09 +00:00
fvdl
fc7cfb5f0b
* Make Linux ELF binaries work. Lots of code duplication, but it will have to do
...
for now.
* Add a sanity check in linux_uselib
1995-06-11 14:56:47 +00:00
mycroft
bfd22ffde8
Generate the new ps_strings format.
1995-05-16 14:19:03 +00:00
christos
44eef7c28b
- added struct emul to all emulations.
...
- removed all setup functions.
- added copyargs() functions where needed.
1995-04-22 19:48:19 +00:00
fvdl
623f1e3986
Handle Linux signal tramp code differently. Some changes because of the
...
now seperate Linux signal trampoline code. Add linux_sigreturn to
syscalls.master.
1995-04-07 22:23:22 +00:00
fvdl
182c23c8bc
Added a few more system calls.
...
More consistent alternate root file semantics throughout.
1995-03-05 23:23:37 +00:00
fvdl
3bf459f350
Added Linux compat code.
1995-02-28 23:24:35 +00:00