mrg
6a89288a37
use _KERNEL_OPT.
2001-05-30 11:37:21 +00:00
manu
d473f5bd8a
Improved the accuracy of gettimeofday/settimeofday: Linux stores a srtuct
...
timezone in the kernel. We now keep track of it for emulated processes.
Tested for powerpc and i386. Untested on m68k, but it should be ok
Alpha has a particular implementation (osf1_sys_gettimeofday), and it has
therefore not been touched.
2001-05-13 20:54:42 +00:00
jdolecek
c51fe2a452
use UNIMPL instead of NODEF for the dummy syscalls 218, 219
2001-03-30 18:01:20 +00:00
jdolecek
36a42f0ce8
Add new syscalls from Linux 2.4.3 to the lists. Not implemented ATM.
2001-03-30 17:59:46 +00:00
jdolecek
890850dddf
Implement linux_sys_nosys() and use it instead of sys_nosys() for
...
unimplemented syscalls. Difference is that linux_sys_nosys() doesn't
post SIGSYS to the process. Linux doesn't do that and thus glibc (and
probably other Linux code) doesn't deal with SIGSYS, even through it
generally contains fallback code for ENOSYS case.
This also addresses port-i386/12503, though the issue was already discussed
earlier.
2001-03-30 17:16:33 +00:00
thorpej
f979b01e55
getpid(2) is MP-safe.
2001-01-27 07:55:23 +00:00
fvdl
cc449a70ed
Don't pass through link(2) directly, as we need to do altpath checks.
2000-12-29 20:10:17 +00:00
fvdl
7cd004ead8
Add all uid and gid calls, and do the right thing for the older 16 bit
...
ones.
2000-12-27 22:04:05 +00:00
itohy
4aee4579ba
Declare linux_sys_setgid16() (NOARGS -> STD).
...
Change syscall #182 from linux_sys_lchown() to linux_sys_lchown16().
2000-12-26 01:57:10 +00:00
fvdl
41623d32a2
Update for Linux calls with 32 bit uids/gids.
2000-12-18 14:37:17 +00:00
jdolecek
14b2acc126
add sysinfo()
2000-12-14 20:37:57 +00:00
jdolecek
405a6ce62f
actually, we need to wrap sys_truncate() call so that the /emul/linux/...
...
path is tried first
fix ftruncate64 entry - first arg to ftruncate is int fd, not path
2000-12-12 22:23:02 +00:00
jdolecek
daff00c255
add emulation of Linux truncate64(2), ftruncate64(2), *stat64(2)
2000-12-12 19:01:59 +00:00
jdolecek
c557c9f0f9
add more unimplemented syscalls to list
2000-12-09 12:23:35 +00:00
mycroft
d47448bce6
Add the %% separators.
2000-12-09 05:31:10 +00:00
mycroft
9682cf0b09
Add the %% separators.
2000-12-09 05:27:28 +00:00
jdolecek
1acf11b550
add emulation of linux swapoff(2)
2000-12-02 16:43:50 +00:00
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
jdolecek
27d3e13121
support mlockall(), munlockall() - they are same as respective NetBSD syscalls
2000-11-01 20:38:49 +00:00
itohy
e2319847de
Add linux_sys_sigaltstack().
2000-08-31 03:46:30 +00:00
erh
dd9cf0df56
Use linux_sys_reboot instead of sys_reboot.
2000-03-18 22:16:46 +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
tron
764eda2f33
Add ptrace(2).
1999-12-16 15:13:01 +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
8b5f9298fa
Consistently call signal number arguments "signum".
1999-12-04 22:14:14 +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
tron
327a8cdf75
Add stime() to syscalls table.
1999-08-16 19:13:01 +00:00
thorpej
a03622b33f
Emulate the Linux vfork(2) (which is like NetBSD's __vfork14(2)),
...
{get,set}resuid(2), and {get,set}resgid(2). Note a few more system
calls that we don't yet emulate.
1999-05-14 18:43:58 +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
itohy
5af2655c9d
const mania
1999-02-10 10:36:26 +00:00
itohy
0176ca73ed
Initial support of Linux/m68k compatibility.
1998-12-15 19:25:40 +00:00