summaryrefslogtreecommitdiff
path: root/sys/compat/common
AgeCommit message (Collapse)Author
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
1996-04-18Merge of NetBSD 960317Niklas Hallqvist
1996-03-03Makefiles seemed to be broken a bit, i don't evenMichael Shalayeff
know how it happens to work still ... probably nobody rebuilt libcompat.a. Fron NetBSD: kern_info_*.c, seemed to be a bug fix.
1996-02-26From NetBSD: update to 960217 sourcesNiklas Hallqvist
1996-02-02Wrap long lines.etheisen
1996-02-02Added code to handle BSDI's 4.3 net-2 funky uname call. Netscape was usingetheisen
this to determine system name. Failure of this call caused netscape to print "uname() failed" on app startup. Also affected netscape mail headers and http sysname. Code taken from FreeBSD with minor mods. Good work guys. Let the world, or at the very least, netscape, know that you use OpenBSD. Include COMPAT_43 in kernel config to enable functionality.
1996-01-05ss_sp is correct, ss_base is not. noticed by agc@sde.uts.amdahl.com; netbsd ↵Theo de Raadt
pr#1784
1995-12-14update from netbsdTheo de Raadt
1995-10-26update to netbsdTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt