jdolecek
058a5a87bd
replace compat_09_sys_setdomainname() with linux_sys_setdomainname(),
...
compat_12_sys_swapon() with linux_sys_swapon() - this is to drop dependency
on COMPAT_12/COMPAT_09
2000-12-01 21:02:55 +00:00
erh
f96aee80d6
Make the linux compatibilty code work on the alpha. (horay!) (at last!)
...
Two main changes:
Create a linux_elf64_copyargs that uses the linux specific LinuxAuxInfo
structure. This is only used on the alpha. i386 and m68k use the
standard elf copyargs function.
Since linux's approach to binary compatibilty is to look as much
like osf1 as possible, add all the osf1 syscalls that we have
implemented to the linux syscall table. This includes get/setsysinfo,
ported from FreeBSD.
In order for linux compat to work you must have COMPAT_OSF1, COMPAT_43,
COMPAT_09, COMPAT_12 and COMPAT_13 on also.
2000-11-17 03:55:17 +00:00
erh
1f16400706
Update the names of some unimplemented syscalls to match what linux calls them. Match const in parameters to our sys_writev.
2000-11-08 04:19:00 +00:00
jdolecek
27d3e13121
support mlockall(), munlockall() - they are same as respective NetBSD syscalls
2000-11-01 20:38:49 +00:00
erh
c21d536f5d
sys_clone isn't MD on linux.
2000-03-20 00:50:14 +00:00
erh
38cf426930
Fix the msgrcv prototype.
2000-03-18 23:53:24 +00:00
erh
2648835399
Use the new linux_sys_reboot and linux_sys_connect.
2000-03-18 22:46:27 +00:00
erh
50ef430f08
resync NOARGS lines with their definitions in kern/syscalls.master. resync STD lines with what is expected in .c files. (especially wrt adding const). Add missing prototype for setfsuid. Fix ptrace prototype.
2000-03-18 20:43:33 +00:00
tron
764eda2f33
Add ptrace(2).
1999-12-16 15:13:01 +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
9b451861b9
Add emulation for scheduler related syscalls. Although they are dummies
...
even under Linux the posix thread library for "glibc2" requires them.
1999-10-04 16:55:54 +00:00
thorpej
ba8fcafa16
Emulate the Linux vfork(2) (which is like OSF/1 vfork(2) and NetBSD's
...
__vfork14(2)) and {get,set}resuid(2). Linux does not have {get,set}resgid(2)
on their Alpha port!
1999-05-14 18:39:38 +00:00
thorpej
fa1c5fed1a
Emulate the Linux clone(2) system call.
1999-05-13 23:42:34 +00:00
tron
b46e8732dd
Add poll() emulation.
1999-03-30 07:29:05 +00:00
tron
5b98b641a8
Add emulation for Linux "getcwd" syscall.
1999-03-27 01:10:56 +00:00
thorpej
e8a3256e7f
Add support for emulating the Linux pread(2) and pwrite(2) system calls;
...
just call the native NetBSD versions.
PR #7202 , Jaromir Dolecek <dolecek@ics.muni.cz>.
1999-03-23 03:00:51 +00:00
christos
35af069802
defopt COMPAT_43
1998-12-10 17:07:04 +00:00
erh
f7373c1eba
Add mmap header.
1998-12-08 21:02:18 +00:00
tron
c71ccab136
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:21:19 +00:00
erh
358899800e
Change sys_mmap to NOARGS. (args defined in linux_sys_mmap.h). Typo: siginfo_t->linux_siginfo_t.
1998-10-07 23:07:30 +00:00
christos
908291d2fe
Attempt to fix the mess.
1998-10-03 20:17:36 +00:00
erh
847d4565e9
Initial support for linux compat on the alpha. Not quite working.
1998-09-30 18:01:53 +00:00