summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
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
2006-02-07regenBrad Smith
2006-02-07add the new syscalls to the listBrad Smith
From jdolecek NetBSD
2006-01-25Fix problem in ioctl() handling in OSS audio emulation which causedBrad Smith
unintentional changes of the audio settings e.g. when running "kphone". From NetBSD ok jakemsr@
2006-01-21add support for SNDCTL_DSP_SETDUPLEX ioctlBrad Smith
From NetBSD in PR 4984
2006-01-19redo (w/ proper changes everywhere ;):Michael Shalayeff
take interp[MAXPATHLEN] off the stack. from mickey, ok otto while here, switch above from malloc to pool, remove stupid casts tedu@ miod@ ok
2005-12-30Missing or incorrect header sizes bounds check; ``looks ok'' mickey@Miod Vallat
2005-12-10{en,re}trys -> {en,re}tries; eyeballed by jmc@Miod Vallat
2005-11-30No need for vfs_busy() and vfs_unbusy() to take a process pointerPedro Martelletto
anymore. Testing by jolan@, thanks.
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-11-09whever -> whenever in commentsMartin Reindl
ok jmc@
2005-11-06Kill deprecated vm_offset_t and vm_size_t types on vax.Miod Vallat
2005-08-07malloc svr4_utsname struct as needed instead of on stack; ok millertTheo de Raadt
2005-07-03Extended Attributes was a piece to get to ACLs, however ACLs have notDale Rahn
been worked on, so EA is pointless. Also the code is not enabled in GENERIC so it is not being tested or maintained.
2005-06-18Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@Todd C. Miller
2005-06-17Missed in previous regen commitTodd C. Miller
2005-06-17regenTodd C. Miller
2005-06-17remove undelete syscallTodd C. Miller
2005-06-07remove CCITT handlingHenning Brauer
2005-05-26fix little nonsense introduced by my last commit herePedro Martelletto
2005-05-26RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@Pedro Martelletto
2005-05-19__unused is used nowMichael Shalayeff
2005-03-12use own hpux_sigcodeMichael Shalayeff
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2005-02-19regenMatthieu Herrb
2005-02-19Add getdents() emulation. Makes Veritas NetBackup client for FreeBSD work.Matthieu Herrb
ok deraadt@, tedu@.
2005-02-17miscellaneous typo fixes:Jean-Francois Brousseau
- sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@
2005-02-15Fix HPUX fcntl() F_GETLK compatibility. Broken since r1.10 by FREF/FRELEAaron Campbell
fixes. deraadt@ ok
2004-11-23Create the init process earlier, before the root filesystem is mounted,Miod Vallat
and have it stall on a semaphore. This allows all kthread creations which could have been requested during autoconf to be processed before root is mounted as well. This causes umass devices attached to any usb with flags 1 (such as on macppc) to configure properly instead of panicing the kernel at mountroot time. From NetBSD; tested by various.
2004-10-27regenNiklas Hallqvist
2004-10-27Add support for sys_setre[ug]id, ok deraadt@Niklas Hallqvist
2004-09-28This compiles better with the correct contents.Miod Vallat
2004-09-19regenMichael Shalayeff