summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
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
2000-08-18Add TCSBRK emulation. bug reported by sparud@crt.seNiklas Hallqvist
2000-08-15keep file naming consistent, rename exec.h -> sunos_exec.hBrad Smith
2000-08-12emulate uname correctlyEric Jackson
2000-08-12use osf1_sigcodeEric Jackson
2000-08-04regenEric Jackson
2000-08-04Merge in NetBSD changes. This now works for most statically compiled osf1Eric Jackson
bins. Shared osf1 libs don't work quite yet.
2000-07-27some cleanup and add the emul_flags_translate from netbsd to translateEric Jackson
flags. deraadt@ OK
2000-07-23OpenBSD -> NetBSD where previously missed.jasoni
2000-07-23Use our own pread/pwrite.jasoni
2000-07-21regenEric Jackson
2000-07-21added listen and accept syscalls. from NetBSDEric Jackson
2000-07-17Oops.Artur Grabowski
2000-07-17Be more careful about return values from hzto.Artur Grabowski