summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
AgeCommit message (Expand)Author
2011-11-06Negative offsets to pread/pwrite-family are only legal for character devices.Philip Guenthe
2011-11-05ttys can't seek, so make pread/pwrite/preadv/pwritev fail with ESPIPEPhilip Guenthe
2011-07-25Make sure vfsp is not used uninitialized in the mount -o update case;Miod Vallat
2011-07-18Add support for UTIME_OMIT and UTIME_NOW to utimensat(2), add theMatthew Dempsky
2011-07-14Add support for AT_REMOVEDIR to unlinkat(2), and switch sys_rmdir() toMatthew Dempsky
2011-07-12Fix typo that caused fchownat(2) and fchmodat(2) to try to dereferenceMatthew Dempsky
2011-07-09Fix up previous diff: use COMPAT_O48 instead of COMPAT_48, add optionMatthew Dempsky
2011-07-09More syscalls.master cleanup:Matthew Dempsky
2011-07-09Add support for the O_CLOEXEC and O_DIRECTORY flags introduced inMatthew Dempsky
2011-07-08Support sending struct info to kdump. So far for struct stat andOtto Moerbeek
2011-07-08Add support for the AT_EACCESS, AT_SYMLINK_NOFOLLOW, andMatthew Dempsky
2011-07-07Add new syscall entries to support the openat(2) family of functionsMatthew Dempsky
2011-07-06Return the correct error for fchdir(not_file_or_dir)Philip Guenthe
2011-07-06VOP_GETATTR() can sleep when accessing a file over NFS, so useMatthew Dempsky
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