Commit Graph

328 Commits

Author SHA1 Message Date
thorpej
e3669c3393 Add "use counting" to file entries. When closing a file, and it's reference
count is 0, wait for use count to drain before finishing the close.

This is necessary in order for multiple processes to safely share file
descriptor tables.
1999-05-05 20:01:01 +00:00
cgd
af8a9059d3 compute the value to be used for e_arglen via howmany(value, sizeof (char *)),
rather than just "value / sizeof (char *)".  While in these cases the latter
works as well, the former's a better example for other uses to copy (since
it handles the non-integral multiple case correctly).
1999-04-30 23:07:01 +00:00
kleink
6a9c669828 Move linux_reenter_syscall() to a common location and rename it to
reenter_syscall() - it's going to be shared with COMPAT_SVR4 and soon be
used by native code.
1999-04-19 20:58:37 +00:00
tron
ab9ea90a8e Regen. 1999-03-30 07:37:58 +00:00
tron
b46e8732dd Add poll() emulation. 1999-03-30 07:29:05 +00:00
abs
bb2d7dd6dc Regenerate (with poll()) 1999-03-30 02:25:32 +00:00
abs
9c2ef08c3e Since NetBSD has poll(), use it.
Linux oracle install now gets far enough that I want our DBA around to
see if we can finish the job.
1999-03-30 02:22:49 +00:00
tron
82f6a3397b Regen. 1999-03-27 01:15:58 +00:00
tron
5b98b641a8 Add emulation for Linux "getcwd" syscall. 1999-03-27 01:10:56 +00:00
sommerfe
280a842850 commit fix to PR7072: emulate linux non-blocking connect behavior more correctly 1999-03-25 04:26:45 +00:00
mrg
d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
thorpej
9d49c8139a Regen; pread(2) and pwrite(2). 1999-03-23 03:01:48 +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
cfcb284c09 cachectl -> cachectl1 1999-03-02 18:22:29 +00:00
itohy
da0a919754 Regen. 1999-02-10 10:38:15 +00:00
itohy
5af2655c9d const mania 1999-02-10 10:36:26 +00:00
christos
c3ae7cb2a9 Regen 1999-02-09 20:38:38 +00:00
christos
c8216580df const poisoning. 1999-02-09 20:37:19 +00:00
christos
8024779058 const poisoning 1999-02-09 20:37:00 +00:00
tron
f7f56f986f Revert last changes:
Because "linux_ipccall.h" cannot be included before "sys/shm.h" and
"sys/shm.h" needs to be included after "opt_sysv.h" include "opt_sysv.h"
in "linux_ipccall.c" again.
1999-01-10 15:05:36 +00:00
kleink
5f79ea56a1 Rearrange the emulation-specific setregs() entry to set up the FPU control
word *after* calling the native setregs(), which would clobber it again.
1999-01-08 11:59:38 +00:00
erh
5c1e9076ad Make consistent: si_ -> lsi_ 1999-01-03 05:34:39 +00:00
erh
b19295f334 Speed up compilation by #include-ing C files from common into one file. 1999-01-03 05:29:31 +00:00
erh
d9a22c586a Undo previous: Put back opt_sysv.h 1999-01-03 05:18:01 +00:00
erh
f1a0e1b396 Avoid name clash with standard si_{uid,pid} fields. 1999-01-03 04:53:59 +00:00
erh
5422cb89d9 Moved sysv opt include to header file. 1999-01-03 04:30:56 +00:00
erh
4289065a1b Moved opt include to header file. 1999-01-03 03:54:45 +00:00
erh
41590f69e2 Grab the sysv options. 1999-01-03 03:52:22 +00:00
drochner
8b9671f0f5 get "opt_compat_xxx.h" includes out of <sys/signal.h> 1998-12-19 16:27:09 +00:00
christos
f9ac5ff367 more defensive signal conversion, and fix a malloc sizeof(int) to sizeof(int *). 1998-12-16 10:21:50 +00:00
itohy
0c080222db Added linux compat support on m68k ports. 1998-12-15 19:31:30 +00:00
itohy
e0f218ab08 Generated from syscalls.master. 1998-12-15 19:28:31 +00:00
itohy
0176ca73ed Initial support of Linux/m68k compatibility. 1998-12-15 19:25:40 +00:00
augustss
57186cce33 Slight code rearrangement and more defensive tests for the sequencer device. 1998-12-15 10:32:16 +00:00
christos
f0c7751046 Regen 1998-12-10 17:13:06 +00:00
christos
35af069802 defopt COMPAT_43 1998-12-10 17:07:04 +00:00
erh
efe6591d21 Whoops, _NSIG->LINUX__NSIG. 1998-12-10 00:31:50 +00:00
erh
f7373c1eba Add mmap header. 1998-12-08 21:02:18 +00:00
erh
cdc6431c25 At least make this compile. Add linux compat version of auxillary data eventually to be used to make the emulation work correctly. 1998-12-08 21:00:11 +00:00
drochner
c48ea35c91 include missing SYSV option header - PR kern/6479 by Urban Boquist 1998-11-22 15:00:47 +00:00
erh
bda913305b Make sure the interpreter string is long enough to check against. 1998-11-05 22:19:25 +00:00
christos
7d7a80a8fd Allow kdump to compile again. 1998-10-24 19:03:53 +00:00
veego
4c127bdcd4 Include linux_errno.h to fix the recent error->errno losage. 1998-10-23 10:54:58 +00:00
erh
907ec5233d linux_error.c moved to linux_errno.c 1998-10-23 03:56:22 +00:00
erh
8b351f0104 Change linux_error to native_to_linux_errno. Add some (unrelated) debugging printfs. 1998-10-23 03:53:18 +00:00
erh
76aa1f4bcf Moved to linux_errno.c,v 1998-10-23 03:46:25 +00:00
erh
a766015254 Moved from linux_error.c,v 1998-10-23 03:45:37 +00:00
erh
dd1e5f373e Define LINUX_GCC_SIGNATURE. 1998-10-22 18:13:02 +00:00
tron
120e9f4e91 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:37:53 +00:00
tron
76a0f5408b Regen. 1998-10-19 22:25:55 +00:00