summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
2001-04-03We now can emulate vfork14 correctlyNiklas Hallqvist
2001-04-02syncNiklas Hallqvist
2001-04-02On popular demand, the Linux-compatibility clone(2) implementation basedNiklas Hallqvist
on NetBSD's code, as well as some faked Posix RT extensions by me. This makes at least simple linuxthreads tests work.
2001-04-01Add a macro to initialize the contents of a vmcmd set.Artur Grabowski
Correctly initialize the vmcmds in linux_exec.
2001-03-25Don't access user space pointer directly. Thanks to dawson and teamConstantine Sapuntzakis
2001-03-16More copyin bugs.Constantine Sapuntzakis
2001-03-16Fix copyin argument order bug. Thanks to Dawson Engler and team.Constantine Sapuntzakis
2001-03-13Fix copyout bug in LINUX_IPC_SET. Thanks to Dawson Engler & team at Stanford.Constantine Sapuntzakis
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
2001-02-26Since netbsd_sys_fdatasync is the same code as sys_fsync, weArtur Grabowski
can simply call sys_fsync instead of copying code.
2001-02-26adapt to new softupdates changes.Artur Grabowski
2001-02-19spl sanityArtur Grabowski
2001-02-09constify static dataMichael Shalayeff
2001-02-03make it compileMichael Shalayeff
2001-02-02Emulate some FreeBSD 4.x signal syscalls -- makes more new binaries workThorsten Lockert
2001-02-02syncThorsten Lockert
2001-02-02Emulate some 4.x signal-related syscallsThorsten Lockert
2001-02-02Missed one change to do ELF fixups on execs...Thorsten Lockert
2001-02-02Correct setup for running ELF binaries from FreeBSD; ok deraadt@Thorsten Lockert
2001-01-29syncjasoni
2001-01-29implement ftruncate64jasoni
2001-01-26fix compile error by including compat_dir.hMarco S Hyman
2001-01-25fix comment.Brad Smith
2001-01-23Clamp malloc in compat_43_sys_getdirentries to 64kConstantine Sapuntzakis
We should really get rid of all mallocs in the compat and VOP_READDIRs.
2001-01-23SunOS, IBCS2, Linux, and SVR4 all require translations of directory entriesConstantine Sapuntzakis
from OpenBSD format to their respective native formats. A lot of common code here for interfacing with OpenBSD VOP_READDIR. Most of this code and logic has been moved to common/compat_dir.c When reading a portion of the directory, the compatibility layer registers a callback which is passed an OpenBSD-style dirent and the cookie/offset.
2001-01-15Make this code build.Artur Grabowski
This could have never worked. XXX - do we need this at all now that we have native p{read,write}{,v}?
2001-01-15Unbreak UNION code.Artur Grabowski
2000-12-28TypoMiod Vallat
2000-12-22syncjasoni
2000-12-22Implement truncate64, stat64, lstat64, fstat64; from NetBSDjasoni
2000-12-06s/packed/__packed__/Michael Shalayeff
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
traced proc. The vnode is in the proc and all functions need the proc.
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-11-08UVMArtur Grabowski
2000-10-16- Fix for some linux apps that broke with recent changes; from NetBSDjasoni
2000-09-10Linux mmap ignores the fd argument when MAP_ANON is on. Always pass -1jasoni
to the native mmap system call (in case the linux app doesn't). - From NetBSD
2000-09-07Add bounds checking to stackgap_alloc and return NULL if space cant beEric Jackson
given. Make emul_find() check for this situation as well. Changes based partly on FreeBSD and NetBSD changes. aaron@ ok
2000-09-07common/compat_util.cEric Jackson
2000-09-06add mag tape ioctl emulation; from freebsd. Other cleanup.Eric Jackson
2000-08-30remove duplicate inclusion of sys/ioctl.hBrad Smith
2000-08-30additional range checking; From: NetBSDBrad Smith
2000-08-29remove duplicate inclusion of sys/ioctl.hBrad Smith
2000-08-24Be careful about hzto returning <= 0.Artur Grabowski
2000-08-23regen.Federico G. Schwindt
2000-08-23- Simplify pread and pwrite now that we have a native implementation.Federico G. Schwindt
- Implement pread/pwrite 64. - Add DUP2FD fcntl command, which is nothing else than dup2 (according to solaris manpage). This solves the dup error and the freezing problem on netscape-solaris (DNS still not working, tho). code from NetBSD.
2000-08-23NetBSD RCS idBrad Smith
2000-08-23svr4_error -> native_to_svr4_errnoBrad Smith
2000-08-23svr4_error -> native_to_svr4_errnoBrad Smith
2000-08-23rename to svr4_error.c to svr4_errno.cBrad Smith
2000-08-18Stupid Linux redefined SBRK semanticsNiklas Hallqvist