summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
AgeCommit message (Expand)Author
2011-07-05Don't worry about lseek(2)ing past the end of raw disk devices. TheMatthew Dempsky
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *Todd C. Miller
2010-10-27The previous two commits cannot be right. If in fact offsets > 4GB areTheo de Raadt
2010-07-01Oops. Lost the < 0 check on file position I had in the circulatedKenneth R Westerback
2010-07-01Return EINVAL if the file position is greater than LONG_MAX, sinceKenneth R Westerback
2010-06-29Remove the "if the string address faulted, see if it looks like an int"Ted Unangst
2010-06-29eliminate some very redundant SCARG usage. ok artTed Unangst
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
2009-09-08copyout() the correct size in sys_fhstatfs(), broken since 1.138.Miod Vallat
2009-09-02check if we have access to the vnode before checking if we can write toFederico G. Schwindt
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2009-06-04Put readv/writev changes back in, as they no longer hang ckuethe's ntpd.Bret Lambert
2009-06-03Revert readv/writev changes, as they trigger an apparent file descriptorBret Lambert
2009-06-02dofile{read,write} are essentially identical to their iovec equivalents,Bret Lambert
2008-11-11make sure that any messing we do with a process's directories happens atomica...Ted Unangst
2008-11-01change vrele() to return an int. if it returns 0, it can gaurantee thatTheo de Raadt
2008-10-31checkdirs() walks allproc and calls sleeping functions if directories haveTheo de Raadt
2008-08-08remove an if notyet block from sys_fstatfs(), that will never be needed,Thordur I. Bjornsson
2008-07-28remove an #if noyet block that will never be needed.Thordur I. Bjornsson
2008-06-13Delete vfs_bufstats() leftovers and unbreak compile with -DDEBUGRainer Giedat
2008-05-22Use LIST_FOREACH() instead of handrolling.Thordur I. Bjornsson
2008-01-22Fix a double VOP_UNLOCK() that was introduced into the error pathTodd C. Miller
2007-11-28a few more places where getmicrotime is good enough. ok miodTed Unangst
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2007-08-30Fix lock ordering problems when updating mount points, in someThordur I. Bjornsson
2007-08-06Fix error path in sys_fhopen() if VOP_ADVLOCK fails. Spotted by aaron@Todd C. Miller
2007-06-14Forgotten hackton diff: bounds check for seek on special devicesOtto Moerbeek
2007-01-16Retire VOP_LEASE(); It was a bit for NQNFS and hasThordur I. Bjornsson
2006-11-24When copying out struct statfs to userland, we need to zero out the fsidArtur Grabowski
2006-06-25rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAITNikolay Sturm
2006-06-14move vfs_busy() to rwlocks and properly hide the locking api from vfsNikolay Sturm
2006-05-27remove useless error check and irritating commentNikolay Sturm
2006-04-30remove the simplelock argument from vfs_busy() which is currently notNikolay Sturm
2006-04-19Remove unused mount list simple_lock() gooPedro Martelletto
2006-03-26do per file io accounting and show that in fstat as well; pedro@ marco@ okMichael Shalayeff
2006-01-07p_dupfd need only be -1, nothing else. but this is nothing like what aaron h...Theo de Raadt
2005-11-30No need for vfs_busy() and vfs_unbusy() to take a process pointerPedro Martelletto
2005-11-27Don't set MNT_UPDATE and MNT_RELOAD before acquiring the mount pointPedro Martelletto
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
2005-11-08Use ANSI function declarations and deregister, no binary changePedro Martelletto
2005-07-03Extended Attributes was a piece to get to ACLs, however ACLs have notDale Rahn
2005-06-17remove undelete syscallTodd C. Miller
2005-05-27remove some dead code.marius eriksen
2005-05-27remove references of VOP_WHITEOUT from the kernel, okay millert@Pedro Martelletto
2005-05-27prepare the removal of sys_undelete(), make it a stub, okay millert@Pedro Martelletto
2005-05-26RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@Pedro Martelletto
2005-05-24when a device vnode associated with a mount point disappears, mark thePedro Martelletto
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2004-09-16check for VBAD vnodes on getvnode(). ok andreas@, tedu@ and marius@Pedro Martelletto
2004-08-05don't attempt to put processes back in a directory after unmount.Ted Unangst