summaryrefslogtreecommitdiff
path: root/sys/compat/linux
AgeCommit message (Collapse)Author
2002-02-13FREF/FRELE where required due to fd_getfile.jasoni
- ok art@
2002-02-13More FREF/FRELE on relevant places. Now, only sys_mmap and a bunch of ioctl ↵Artur Grabowski
functions in sys/compat are left.
2002-02-12More FREF/FRELE protection. This time all users of getvnode.Artur Grabowski
2002-02-08Remove some commented out FILE_UNUSE (incorrect)Artur Grabowski
2002-02-06emulate linux behaviour by passing ioctl's down to the underlying devicejasoni
> From NetBSD; ok art@
2002-02-04syncNiels Provos
2002-02-04fcntl64 support; okay deraadt@Niels Provos
2002-02-02Be more consistent about using fd_getfile where it matters.Artur Grabowski
2001-11-15New function vn_marktext - mark a vnode as executing a text image.Artur Grabowski
Use where VTEXT was set in vnode flags before. Doesn't do anything else (yet).
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-11-06Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument,Artur Grabowski
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD.
2001-10-26Unbreak.Artur Grabowski
2001-10-26 - every new fd created by falloc() is marked as larval and should not be usedArtur Grabowski
any anyone. Every caller of falloc matures the fd when it's usable. - Since every lookup in the fd table must now check this flag and all of them do the same thing, move all the necessary checks into a function - fd_getfile.
2001-09-19Unify elf32 and elf64 code with macros. This forced a renamingArtur Grabowski
of a few functions from elf32.
2001-08-26syncTheo de Raadt
2001-08-26there is no need for .bak filesTheo de Raadt
2001-08-12absolutely no need to include vm_parm.h after vm.hMichael Shalayeff
2001-08-11Unnecessary and redundant includes.Artur Grabowski
2001-08-09Correct linux-compat sigaltstack implementation.Niklas Hallqvist
Helps HotSpot Java VMs a bit, but not totally. I can at least run javac on J2SE 1.4beta with good results, but anything that uses swing seems to fail on something else.
2001-07-27Convert array lookups to function calls that are bounds checkedConstantine Sapuntzakis
2001-07-04syncjasoni
2001-07-04add new system calls as dummies, except for those which we already havejasoni
an equivalent for; from netbsd ok niklas@
2001-07-03syncjasoni
2001-07-03rename 2 more syscalls to syscallname16 (missed last time)jasoni
2001-07-03syncjasoni
2001-07-03rename some syscalls to <syscall>16 to make room for new ones.jasoni
2001-06-21translate LINUX_AF_INET6 (10) into AF_INET6.Jun-ichiro itojun Hagino
2001-05-24style/cleanup (of function headers)jasoni
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-05-15typosjasoni
2001-04-09Handle more Linux ioctls; from NetBSD. ok deraadt@Thorsten Lockert
2001-04-09Silently ignore signals we don't handle; idea from NetBSD. Ok deraadt@Thorsten Lockert
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-13Fix copyout bug in LINUX_IPC_SET. Thanks to Dawson Engler & team at Stanford.Constantine Sapuntzakis
2001-01-29syncjasoni
2001-01-29implement ftruncate64jasoni
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.
2000-12-22syncjasoni
2000-12-22Implement truncate64, stat64, lstat64, fstat64; from NetBSDjasoni
2000-11-10seperate -> separate, okay aaron@Niels Provos
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-07common/compat_util.cEric Jackson
2000-08-18Stupid Linux redefined SBRK semanticsNiklas Hallqvist
2000-08-18Add TCSBRK emulation. bug reported by sparud@crt.seNiklas Hallqvist
2000-07-23OpenBSD -> NetBSD where previously missed.jasoni
2000-07-23Use our own pread/pwrite.jasoni
2000-07-17Oops.Artur Grabowski
2000-07-17Be more careful about return values from hzto.Artur Grabowski