summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
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.
2001-07-27#ifdef vax -> #ifdef __vax__Miod Vallat
2001-07-27Convert array lookups to function calls that are bounds checkedConstantine Sapuntzakis
2001-07-10ANSI C does not like labels: without a statement after that.Marc Espie
Restore missing breaks.
2001-07-09OpenBSD tags.Federico G. Schwindt
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-27Remove old vm.Artur Grabowski
2001-06-21Do not FREE() stuff allocated in a poolNiklas Hallqvist
2001-06-21translate LINUX_AF_INET6 (10) into AF_INET6.Jun-ichiro itojun Hagino
2001-05-24style/cleanup (of function headers)jasoni