summaryrefslogtreecommitdiff
path: root/sys/compat/common
AgeCommit message (Collapse)Author
2001-11-30Only m68k-based architectures need to include <machine/psl.h> here.Miod Vallat
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-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-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
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-11Why is it so popular to include <vm/*.h> everywhere?Artur Grabowski
2001-08-11Unnecessary includes.Artur Grabowski
2001-06-27Remove old vm.Artur Grabowski
2001-05-16Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.Todd C. Miller
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.
2001-05-16kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and ↵Todd C. Miller
kern_ipc_10.c for other compat modules.
2001-05-14use fo_stat in fileops instead of huge switch statements.Artur Grabowski
2001-05-14Implement a wrapper round vn_stat that takes the same argumentsArtur Grabowski
as soo_stat and pipe_stat.
2001-05-14More generic arguments to soo_stat.Artur Grabowski
2001-05-14More generic arguments to pipe_stat.Artur Grabowski
2001-05-11MAP_COPY -> MAP_PRIVATEArtur Grabowski
2001-04-10Don't seg-fault on file systems that don't support cookies. Thanks toConstantine Sapuntzakis
Jason Ish for finding this one.
2001-02-19spl sanityArtur Grabowski
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.
2000-10-16- Fix for some linux apps that broke with recent changes; from NetBSDjasoni
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-07-27some cleanup and add the emul_flags_translate from netbsd to translateEric Jackson
flags. deraadt@ OK
2000-05-01sys_semconfig goes foomTheo de Raadt
1999-11-26Use round_page(X) instead of roundup(X, NBPG), use PAGE_SIZE instead of NBPG.Artur Grabowski
1999-09-17bad style to include machine/vmparam.h carelesslyTheo de Raadt
1999-05-22Add new vm_swap code for dynamic swap. From netbsd, munged some by me, andTobias Weingartner
others. syscall commit pending.
1999-02-26vm_sysctl -> uvm_sysctl for uvmArtur Grabowski
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-12-20Use IOV_MAX, not the deprecated UIO_MAXIOVTodd C. Miller
1998-08-05add missing check for msg.msg_iovlen <= 0Todd C. Miller
1998-08-05delete bogus casts of msg_iovlen to u_int since msg_iovlen is already a u_intTodd C. Miller
1998-02-22unused var decl removedNiklas Hallqvist
1998-02-10typo fix; netbsdTheo de Raadt
1997-11-06Use lite2 vfs interfaces.Todd C. Miller
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite 2 ChangesConstantine Sapuntzakis
1997-06-06symlinks have inodes again; arnej@math.ntnu.noTheo de Raadt
1997-05-30Build nicely when $S is absoluteNiklas Hallqvist
1997-01-02pulled out the duplicated, conditional code from both kern/vfs_syscalls.cMichael Shalayeff
and compat/common/vfs_syscalls_43.c and placed a single copy of that code into miscfs/union/union_subr.c (seemed like a good place to put it, since it's union-fs related). as a side effect you can build unionfs in lkm. (netbsd pr#2950, Paul Goyette <paul@pgoyette.bdt.com>)
1996-12-23use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary typesTheo de Raadt
1996-12-16Implement more tty flags for better portability from other systems:Thorsten Lockert
XCASE - canonical input/output processing IUCLC - translate uppercase to lowercase on input OLCUC - translate lowercase to uppercase on output OCRNL - translate carriage return to newline on output ONOCR - do not output carriage return at column 0 ONLRET - newline performs carriage return function In addition the tty compatibility interface supports LCASE properly. Look at termios(4) for a more complete description of the above flags.
1996-12-08-Wcast-qual happinessNiklas Hallqvist
1996-09-06Deal with the new pipes gracefullyNiklas Hallqvist
1996-08-02Added Makefiles to build stuff from syscalls.master in some emulations.Niklas Hallqvist
Regenerated derived files from various syscalls.master files. Added $OpenBSD$.
1996-05-23syncTheo de Raadt
1996-05-22syncTheo de Raadt