Commit Graph

1435 Commits

Author SHA1 Message Date
eeh
cde9dba8ab Add support for -current's ELF32 exec format. 2000-02-06 16:45:56 +00:00
abs
052fdc75bc regen 2000-02-03 10:22:34 +00:00
abs
89c5ba9f00 Add Linux fsuid system calls - from Witold J. Wnuk in PR kern/9335 2000-02-03 10:02:59 +00:00
tsutsui
11c8f56d48 Revert STRIPPROG -> STRIP 2000-02-01 05:25:24 +00:00
christos
3cb8a24438 Regen 2000-01-31 16:41:20 +00:00
christos
7ccc44e6f7 __semctl13 -> ____semctl13 2000-01-31 15:59:58 +00:00
christos
72ff1dee2f Regen 2000-01-31 15:53:46 +00:00
christos
44b3655e9d __semctl13 -> ___semctl13 2000-01-31 15:53:01 +00:00
tsutsui
e61f177ab1 STRIP -> STRIPPROG 2000-01-19 16:29:54 +00:00
matt
897c73a03a Fix wait case for VAX SVR3. 2000-01-13 06:33:29 +00:00
jdolecek
600be45ffc Improve emulation of SIOCGIFHWADDR ioctl:
* when finding an interface, try the real name first before faking eth*
 * Linux kernel returns ENODEV if the request goes to unknown interface,
   so do the same here

This change makes Linux ICA client work.

Patch sent by Zdenek Salvet <salvet@ics.muni.cz> in kern/9169.
2000-01-12 17:19:11 +00:00
matt
a0bcad1505 move to ibcs2_sysi86 to arch/i386/i386/ibcs2_machdep.c.
XXX -- still need to properly MI the waitsys code.
2000-01-10 03:16:25 +00:00
matt
8e42885010 Clean things up. Only include the ELF EXEC iff EXEC_ELF32 is already
asserted.

XXX -- this should mutate into kern/exec_coff someday with a cpu_coff_hooks
ala ecoff support.
2000-01-10 03:14:56 +00:00
matt
47b5b640a7 Regen. 2000-01-10 03:12:19 +00:00
matt
61783809dc rename ibcs2_sysi86 to ibcs2_sysmachine (since ibcs2 now runs on other
things than i386).
2000-01-10 03:10:15 +00:00
tron
bfea30bc82 Regen. 2000-01-08 17:03:23 +00:00
tron
1433852cb6 Add missing system calls mlockall() and munlockall() as suggested by
Michael Eriksson in PR kern/9147.
2000-01-08 17:02:46 +00:00
eeh
a7474fcab6 netbsd32_close() would work better if it called sys_close() rather than
sys_write().
netbsd32_getfsstat() cannot just copyin()/copyout(), convert the structures,
and call sys_getffstat().  sys_getffstat() wants to do its own
copyin()/copyout().  So we need to implent the whole of sys_getffstat()
in netbsd32_getfsstat().
1999-12-31 22:26:21 +00:00
eeh
a65e57bfc6 Update to 32-bit compatibility routines. 1999-12-30 15:40:45 +00:00
tron
885afa5fce Regen. 1999-12-16 15:13:41 +00:00
tron
764eda2f33 Add ptrace(2). 1999-12-16 15:13:01 +00:00
tron
62397f55ef Add support for reading and writing non FPU register with ptrace(2). 1999-12-16 15:11:19 +00:00
tron
4aec38a7db Move MI parts of ptrace(2) emulation to "linux_misc.c". 1999-12-16 15:09:49 +00:00
tron
f5dfa6e4a0 Support a few more request types in ptrace(2) emulation. 1999-12-12 01:30:49 +00:00
tron
df8ccb921c Regen. 1999-12-12 00:00:42 +00:00
tron
0f4ddbec23 Incomplete but already working emulation of Linux's ptrace(2) for i386. 1999-12-12 00:00:16 +00:00
tron
c3ce0bc384 Architecture independent definitions for Linux's ptrace(2) system call. 1999-12-11 23:57:48 +00:00
tron
d5ed9dc998 Regen. 1999-12-05 21:26:36 +00:00
tron
c65011886d Fix incorrect system call number. 1999-12-05 21:25:36 +00:00
tron
ea2517e20d Add proper stub code to make emulation of Linux's pread(2) and pwrite(2)
work. Fixes PR kern/8945 by Dave Sainty.
1999-12-05 21:24:28 +00:00
tron
9b847640c3 Add bound checks in emulation of kill(2). This fixes the last part of
PR kern/8904 by Dave Sainty.
1999-12-04 22:26:52 +00:00
tron
96fdbb96a8 Add bound checks in emulation of sigaction(2). This fixes a part of
PR kern/8904 by Dave Sainty.
1999-12-04 22:21:12 +00:00
tron
60e5eb1dd2 Fix typo in last commit. 1999-12-04 22:17:43 +00:00
tron
f8a4b15b1c Adapt to renamed system call argument. 1999-12-04 22:15:57 +00:00
tron
a3dbb6bba5 Regen. 1999-12-04 22:14:52 +00:00
tron
8b5f9298fa Consistently call signal number arguments "signum". 1999-12-04 22:14:14 +00:00
tron
f8df357a47 Add bound checks in emulation of signal(2) and return SIG_ERR on failure.
This fixes a part of PR kern/8904 by Dave Sainty.
1999-12-04 22:08:36 +00:00
tron
5bc798bb82 Allow signal numbers upto 63 in clone(2) emulation. 1999-12-04 21:58:05 +00:00
tron
9bf4ab219a Correct signal array size. 1999-12-04 21:41:53 +00:00
tron
cd4ab88255 Extend signal mapping array to 64 entries like in the i386 emulation. 1999-12-04 21:38:57 +00:00
matt
9fcf201409 Make this compile again on sparc. 1999-11-28 18:06:46 +00:00
augustss
83c33f4fee Fix typo in comment. From Brad <brad@openbsd.org> 1999-11-19 23:50:21 +00:00
augustss
d37a1f8e3b Implement OSS_SOUND_MIXER_INFO. 1999-11-17 00:06:38 +00:00
thorpej
2859f66b8f Add register prefixes. 1999-11-11 01:27:59 +00:00
erh
5779957787 undo confusion. 1999-11-02 08:02:43 +00:00
mycroft
e45ef6abcd Emulate the Linux DVD_* ioctls(2). This gets us 90% of the way to running the
LiViD DVD player.  (See forthcoming mail to current-users.)
XXX NOTE: We should do something to probe capabilities, rather than allowing
these ioctls on any device.
1999-10-29 15:02:56 +00:00
kleink
522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
itohy
a833d94864 Add #include <machine/cpu.h> for need_resched() macro. 1999-10-21 23:24:08 +00:00
eeh
1f45477db9 Add netbsd32_compat_14.c
Rename everything from compat_netbsd32 -> netbsd32 so we don't have silly
names like compat_14_compat_netbsd32_sys_shmctl().
1999-10-11 01:36:21 +00:00
thorpej
09e277b357 Fix typos in the license notice. 1999-10-11 01:18:35 +00:00