summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
1999-06-08better fd leak preventionTheo de Raadt
1999-06-08use sys_opipe(), but note the descriptor leakageTheo de Raadt
1999-06-07syncTheo de Raadt
1999-06-07replacement pipe() system call; copies data into place inside kernel, soTheo de Raadt
that EFAULT return value is possible
1999-06-06use __sparc__Theo de Raadt
1999-06-03use __sparc__ just in caseTheo de Raadt
1999-06-01Fix some mips -> __mips__ stuff.Per Fogelstrom
1999-05-31regenTodd C. Miller
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
1999-05-22Add new vm_swap code for dynamic swap. From netbsd, munged some by me, andTobias Weingartner
others. syscall commit pending.
1999-05-21remove duplicate contents from MakefileBrad Smith
1999-02-26cnt is called uvmexp in uvm and the names of the members have changed.Artur Grabowski
Different allocation and deallocation for uvm.
1999-02-26vm_sysctl -> uvm_sysctl for uvmArtur Grabowski
1999-02-10syncTheo de Raadt
1999-02-10branding support and freebsd elfTheo de Raadt
1999-02-10freebsd madvise() clone, always returns 0 for nowTheo de Raadt
1999-02-10more ioctl supportTheo de Raadt
1999-02-10IP_HDRINCL support, will need tweaking; freebsdTheo de Raadt
1999-02-10linux sendmsg/recvmsgTheo de Raadt
1999-02-10more socket/file ioctlTheo de Raadt
1999-02-10strncpy; edx trashing solution in sys_pipe(); freebsdTheo de Raadt
1999-02-10Correct directory entry reads, big directories lost entries as it were.Niklas Hallqvist
Also, fix the NCR SVR4 rdebug syscall emulation.
1999-01-23Kill svr4 #pragma pack.Marc Espie
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-12-23Granted this is #if 0'd out, but it should have a chance of compiling anywayTodd C. Miller
1998-12-22range check signal [] conversionsTheo de Raadt
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-07-28Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned ↵Todd C. Miller
(size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more
1998-07-19no; linux connect() appears busted in blocking mode tooTheo de Raadt
1998-07-13oops; mwp@aba.net.auTheo de Raadt
1998-07-05fix netbsd bug; from boquist@cs.chalmers.seJason Downs
1998-07-04emulate shrinking in mremap(); boquist@cs.chalmers.seTheo de Raadt
1998-04-26NetBSD mergeNiklas Hallqvist
1998-04-26$Niels Provos
1998-04-26New audio adaption; netbsdNiklas Hallqvist
1998-04-262nd try: compat ossaudio from NetBSD mostly byNiels Provos
Lennart Augustsson <augustss@cs.chalmers.se>
1998-04-26use osscompat for audio emulation.Niels Provos
1998-04-26correct utimes() emulationTheo de Raadt
1998-04-25Aparently the socketpair bug is fixed in current Linux kernels soTodd C. Miller
back out my last change.
1998-04-25Linux has SHUT_RD and SHUT_WR reversed in the ``how'' argument. PresumablyTodd C. Miller
they will fix this sometime, after which this change should be backed out. Pointed out by tchrist@perl.com
1998-03-23regenTodd C. Miller
1998-03-23Emulated version of SunOS ostime(2) wass totally wrong. For nowTodd C. Miller
we will just return EPERM. Correct code is #if 0'd out as it needs to call settime() which is static to kern_time.c (and it's not clear that we really want to be setting the clock from an emulated program anyway).
1998-03-23Emulate otimes(2)Todd C. Miller
1998-03-22correct a commentTodd C. Miller
1998-03-06Just alter the tag if it is not already setNiklas Hallqvist
1998-03-06Just set the OS tag if it is not already setNiklas Hallqvist
1998-03-06NCR is handled per process nowNiklas Hallqvist
1998-03-06regenNiklas Hallqvist