summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
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
2002-01-30Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ okThomas Nordin
2002-01-22call osf1_exec_ecoff_hook for osf1 bin'sEric Jackson
2002-01-16Don't include <sys/map.h> when you don't need what's in it.Miod Vallat
2001-11-30Only m68k-based architectures need to include <machine/psl.h> here.Miod Vallat
2001-11-28Sync in more uvm changes from NetBSD.Artur Grabowski
This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead.
2001-11-27sync. -mojMats O Jansson
2001-11-27Add clock_gettime. -moj ok art@Mats O Jansson
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-14Compat layer for 1k Vax aout, from NetBSD.Hugh Graham
2001-11-07Add an alignment argument to uvm_map that specifies an alignment hintArtur Grabowski
for the virtual address.
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-11-05More fallout from the fd_getfile changes.Artur Grabowski
2001-11-05blink-matching-paren should be default in mgArtur Grabowski
2001-11-02Fix typo when assigning bds->sem_base.Todd C. Miller
The SVR4 compat stuff needs a serious sync but so far no one has been able to goat Niklas into doing it.
2001-10-31There is no need to fake handling of /dev/zero here. The vm system ↵Artur Grabowski
ultrix/ultrix_misc.c sunos/sunos_misc.c does this automagically (and has done it for ages).
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-10-10regenArtur Grabowski
2001-10-10Don't roll our own dup, we cen use the standard one.Artur Grabowski
2001-10-02Values coming from userland should be bounds checked, even if we put themConstantine Sapuntzakis
there just a couple calls ago. Thanks to Ken Ashcraft of Stanford for finding this bug.
2001-09-21Unnecessary wrapper.Artur Grabowski
2001-09-21Save some space on the stack for AuxInfo. Dynamic binaries now have the ↵Artur Grabowski
correct argv.
2001-09-21regenArtur Grabowski
2001-09-21no need for own implemenation of p{read,write}{,v}Artur Grabowski
2001-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok
2001-09-19Unify elf32 and elf64 code with macros. This forced a renamingArtur Grabowski
of a few functions from elf32.
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-09-05syncArtur Grabowski
2001-09-05Add some necessary MSG_COMPAT.Artur Grabowski
Fix some mode_t vs. netbsd_mode_t (more needed) add issetugid
2001-09-05mode_t in netbsd is not the same as our mode_tArtur Grabowski
2001-09-05Will need netbsd_types.h very soon.Artur Grabowski
2001-08-28don't reference seminfo if SYSVSEM isn't definedJason Wright
2001-08-26remove duplicate syscallargs() macrosTheo de Raadt
2001-08-26syncTheo de Raadt
2001-08-26there is no need for .bak filesTheo de Raadt
2001-08-22Consolidate svr4_waitsys with our wait4. Fixes gdt_get_slot panic, due to a ↵Niklas Hallqvist
double cpu_wait invocation.
2001-08-19correct the logic.Artur Grabowski
2001-08-19$%&@#!Artur Grabowski
2001-08-12absolutely no need to include vm_parm.h after vm.hMichael Shalayeff
2001-08-11Unnecessary and redundant includes.Artur Grabowski
2001-08-11Why is it so popular to include <vm/*.h> everywhere?Artur Grabowski
2001-08-11redundant includes.Artur Grabowski
2001-08-11Unnecessary 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.