martin
cfa07275ad
Follow changes in rev. 1.79 of sys/kern/exec_conf.c
...
(if emulation uses elf32_copyargs(), it shouldn't use it's own idea
of how many AUX arguments are actually passed)
2003-02-19 15:43:56 +00:00
jdolecek
dd330529e7
add rename for emul_find_interp(), too
2002-11-29 17:11:21 +00:00
jdolecek
cee43b67cc
add generic linux compat ELF copyargs function
...
this gives:
* linux sysconf(_SC_CLK_TCK) gives correct value for linux binaries (hz)
even if hz != 100
* glibc gets proper information on real/effective uid and enables
secure mode for suid binaries
g/c LINUX_COPYARGS_FUNCTION, replaced by linux ELF copyargs function
g/c alpha-specific linux ELF copyargs function and linux ELF defines
2002-11-13 15:16:27 +00:00
christos
0bd5494ee5
make this compile again (thanks mrg)
2002-08-27 14:18:41 +00:00
thorpej
f944a0674f
Remove unnecessary -I$S; bsd.kmod.mk adds -isystem $S
2002-05-30 18:53:14 +00:00
oki
e6930c6900
PE/COFF header size is PECOFF_HDR_SIZE, not sizeof(struct exec).
2002-03-29 17:49:21 +00:00
kent
d469e9cf08
Use compat_util with overriding.
2002-03-29 17:09:30 +00:00
kent
79decd163e
Move 'pecoff' to installable SUBDIR
2002-03-24 15:01:57 +00:00
oki
e60e94456a
emul_netbsd is no longer used in exec_pecoff.
2002-03-18 08:16:08 +00:00
oki
7160cfdbde
PE/COFF exec LKM, currently for i386 platform.
2002-03-12 07:47:35 +00:00
mrg
993c6eb6ac
need core_elf32.c as well, now.
2002-02-10 16:25:49 +00:00
mrg
13ba5ca255
the exec LKMs work on sparc64.
2002-02-10 15:46:28 +00:00
thorpej
14164755e0
Switch ELF emulations to ELF core files.
2002-01-04 06:50:59 +00:00
thorpej
3d25834fb6
Fix a typo.
2001-12-14 20:51:01 +00:00
lukem
b574ee0f82
define NOMAN= once, at the real top level of lkm
2001-12-12 12:06:45 +00:00
lukem
00255d260d
define NOMAN= once, at the top level
2001-12-12 11:44:43 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
thorpej
165f442f86
Update for "coredumps now exec-format/emulation specific".
2001-12-08 00:37:07 +00:00
jdolecek
fd7c36bef3
need compat_exec.c for some old a.out formats
2001-11-26 20:38:15 +00:00
lukem
f5e6ca8797
add RCSIDs
2001-11-12 23:22:57 +00:00
jdolecek
d1842b740a
Restructure to the lkm/compat/Makefile way - the tested & installed
...
modules are on top, rest is added .if !make(install). This will avoid
such silly mistakes as rev. 1.7/1.8.
2001-11-01 19:32:53 +00:00
tron
7a726f828b
Fix botch in last commit which caused some of the "exec" LKMs not to be
...
built.
2001-11-01 13:41:42 +00:00
jdolecek
d58125dd1f
kill one more duplicate
2001-10-31 21:15:43 +00:00
jdolecek
f15ae836f3
kill duplicates
2001-10-31 21:13:23 +00:00
jdolecek
76dc75c365
svr4 compat LKMs work on i386
2001-10-31 18:30:18 +00:00
jdolecek
2b5db1a8bb
add the compat_util.c goo
...
XXX should prolly share this with lkm/compat, which has the same thing
2001-10-31 18:28:50 +00:00
jdolecek
36b128126e
change obsolete comment
...
both freebsd_aout and freebsd_elf were confirmed to work, install them
2001-10-27 12:11:17 +00:00
mrg
711d4aecaa
enable aout lkm on sparc & i386
2001-10-10 12:48:49 +00:00
mrg
41d514fe9a
framework to build an EXEC_AOUT module. tested on sparc64.
2001-10-10 12:10:10 +00:00
jdolecek
ef8abe0767
Make the setregs hook emulation-specific, rather than executable
...
format specific.
Struct emul has a e_setregs hook back, which points to emulation-specific
setregs function. es_setregs of struct execsw now only points to
optional executable-specific setup function (this is only used for
ECOFF).
2001-09-18 19:36:32 +00:00
chuck
b8a7c35e58
vax1k_subr.c is gone
2001-09-08 13:19:50 +00:00
mrg
5beff52e9c
port this to sparc64.
2001-07-18 16:53:34 +00:00
mrg
8c3d780729
build exec_elf.o LKM.
2001-06-06 21:21:30 +00:00
mrg
9a5a253ef5
an EXEC_ELF32 module, for sparc64.
2001-06-06 20:45:59 +00:00
mrg
390ea77cb0
build svr4_32_elf exec module.
2001-06-05 14:49:00 +00:00
mrg
ba3f355900
svr4_32_elf
2001-06-05 14:48:59 +00:00
lukem
6cb5e77db5
remove use of gcc syntax for designated initialisers when initialising
...
unions `union_elem: ...', and use c99 syntax `.union_elem = ...' only
where necessary.
in this case, there's no need to tag elf_probe_func because that's the
first union element, and therefore, the implicit case. only specifically
mention ecoff_probe_func where necessary.
if we decide to not use this c99 feature for now, at least there's now
less stuff to rip out.
2001-05-15 02:00:12 +00:00
mrg
499a68815c
also build sunos32_aout on sparc64
2001-02-07 13:36:04 +00:00
mrg
f50604bf29
build a sunos32 a.out exec module.
2001-02-07 13:35:39 +00:00
jdolecek
5c6130a2b1
hum, use freebsd_setregs for FreeBSD ELF binaries (this bug was introduced with
...
the execsw[] changes)
2000-12-17 21:36:49 +00:00
jdolecek
6665bd7a9d
add compat_util.c goo so that this doesn't depend on emul_find()
...
being available in the running kernel
2000-12-17 16:21:12 +00:00
jdolecek
413bdf22a1
add build glue for exec LKMs
...
for now, only i386 linux_elf is actually installed, since the others have
not been tested yet
2000-12-08 23:05:33 +00:00