summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
2008-05-01spl0() is not your friend, use splx() instead.Miod Vallat
2008-04-12bring in changes as found in libossaudioJacob Meuser
ok ratchov@, brad@ a while ago (except SETTRIGGER parts, which changed recently in libossaudio)
2008-03-16Widen some struct statfs fields to support large filesystem stataOtto Moerbeek
and add some to be able to support statvfs(2). Do the compat dance to provide backward compatibility. ok thib@ miod@
2008-03-09use the right capitalization for platform namesIgor Sobrado
ok jsing@
2008-01-05regenMiod Vallat
2008-01-05Mark vadvise(2) as obsolete and remove its implementation, so instead ofMiod Vallat
returning EINVAL, you'll get ENOSYS. No serious code has used this system call in at least fifteen years. The libc stub will be removed at the next major crank time. ok henning@ deraadt@ krw@ toby@
2007-11-28delete the compat_09_sys_uname code hereTheo de Raadt
2007-11-28syncTheo de Raadt
2007-11-28COMPAT_09 uname is only used by freebsd compat, so move it to the right placeTheo de Raadt
2007-11-28compat_25_sys_omsync is unusedTheo de Raadt
2007-11-27Missed those because they are in a weird place.Artur Grabowski
2007-11-27regenArtur Grabowski
2007-11-25Get rid of the kernel 'libcompat' framework, and instead use conf/files toTheo de Raadt
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options.
2007-11-02replace ctob/btoc with ptoa/atop (plus the usual round_page() where needed)Martin Reindl
2007-10-30MALLOC/FREE -> malloc/freeCharles Longeau
These are the latest ones needed to build a kernel (on amd64) without the MALLOC/FREE definitions in src/sys/sys/malloc.h ok krw@
2007-10-30- replace the remaining MALLOC/FREE -> malloc/free in sys/compatGilles Chehade
ok krw@, ok pyr@
2007-10-27Make sure the compat errno mapping arrays go up to ELAST, and correctlyMiod Vallat
translate the errnos added over the last few releases.
2007-10-20enuf -> enoughMiod Vallat
2007-10-01more btoc -> atopMartin Reindl
2007-09-22replace even more ctob and btoc with ptoa and atop respectively plusMartin Reindl
uvm_extern.h where needed
2007-09-15replace ctob and btoc with ptoa and atop respectivelyMartin Reindl
help and ok miod@ thib@
2007-09-01replace the machine dependant bytes-to-clicks macro by the MI ptoa()Martin Reindl
version for i386 more architectures and ctob() replacement is being worked on prodded by and ok miod
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors
2007-06-06put IPX in the unsupported boatHenning Brauer
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values
2007-05-29adapt from netbsd:Nikolay Sturm
fold sys_shmat1() back into sys_shmat(), instead add flag for shmget(2) to specify that later shmat(2) for the shared memory segment should succeed even if the segment would be marked removed; use this to implement the Linux-compatible semantics of shmat(2) this fixes current opera with shm ok millert
2007-05-29byebyeTed Unangst
2007-05-29regenTed Unangst
2007-05-29linux_getcwd is the same as the system one.Ted Unangst
discovered/ok beck
2007-05-28Maintaining a broken compatibility layer for a broken OS is not a productiveBob Beck
activity for anyone. Bye bye COMPAT_NETBSD. ok tedu@, deraadt@, and many others in the hackathon room.
2007-04-05regenTed Unangst
2007-04-05freebsd added some MAP_NOCORE flag. we don't like it, so mask it out.Ted Unangst
started by claudio. ok deraadt millert
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
it's a good idea to use atomic.h operations on it. This mechanic change updates all bit operations on p_flag to atomic_{set,clear}bits_int. Only exception is that P_OWEUPC is set by MI code before calling need_proftick and it's automatically cleared by ADDUPC. There's no reason for MD handling of that flag since everyone handles it the same way. kettenis@ ok
2007-02-06Use atomic.h operation for manipulating p_siglist in struct proc. SolvesArtur Grabowski
the problem with lost signals in MP kernels. miod@, kettenis@ ok
2007-01-16Retire VOP_LEASE(); It was a bit for NQNFS and hasThordur I. Bjornsson
effectively been a no-op for quite some time now, without promise for future usage. ok pedro@ Testing by krw@ (earlier diff) and Johan Mson Lindman (tybollt@solace.miun.se)
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@Pedro Martelletto
2006-10-08Pass linux_sys_waitpid() on to linux_sys_wait4() in order to properlyNikolay Sturm
check and translate options. from netbsd ok deraadt, kettenis
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which lead to surprising results. Spotted by from Paul Stoeber, more to come. ok miod@
2006-09-22regenPedro Martelletto
2006-09-22Remove LFS system calls from here tooPedro Martelletto
2006-06-25rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAITNikolay Sturm
requested by and ok pedro
2006-06-14move vfs_busy() to rwlocks and properly hide the locking api from vfsNikolay Sturm
ok tedu, pedro
2006-05-23Compile if no option SYSVMSG.Miod Vallat
2006-04-30remove the simplelock argument from vfs_busy() which is currently notNikolay Sturm
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn
2006-04-28Instrumentation for an in-kernel getcwd() implementation.Pedro Martelletto
Not yet activated. Diff by marius@ long ago, from NetBSD. Okay miod@ and krw@.
2006-04-19Remove unused mount list simple_lock() gooPedro Martelletto
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-02-17espie@ backed out the library part of brad's commit which broke stuff,Jolan Luff
but not the kernel part. now sound in opera via the flashplugin works again.
2006-02-16Fix a few wrong memset() sizes; ok otto@ krw@ aaron@Miod Vallat