Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-09 | Remove the VREF() macro and replaces all instances with a call to verf(), | Thordur I. Bjornsson | |
which is exactly what the macro does. Macro's that are nothing more then: #define FUNCTION(arg) function(arg) are almost always pointless and should go away. OK blambert@ Agreed by many. | |||
2009-06-04 | Put readv/writev changes back in, as they no longer hang ckuethe's ntpd. | Bret Lambert | |
Special thanks to ckuethe's ntpd for noticing the problem. ok deraadt@ | |||
2009-06-03 | Revert readv/writev changes, as they trigger an apparent file descriptor | Bret Lambert | |
deadlock for ckuethe@ "if you have to revert, you have to revert" deraadt@ | |||
2009-06-02 | dofile{read,write} are essentially identical to their iovec equivalents, | Bret Lambert | |
dofile{read,write}v, so remove the former and rework it so that everything uses the latter "nice" deraadt@ "reads ok" oga@ spastic 'OMG Ponies!!!!' weingart@ | |||
2008-11-11 | make sure that any messing we do with a process's directories happens ↵ | Ted Unangst | |
atomically and not after sleeping. ok deraadt pedro | |||
2008-11-01 | change vrele() to return an int. if it returns 0, it can gaurantee that | Theo de Raadt | |
it did not sleep. this is used to avoid checkdirs() to avoid having to restart the allproc walk every time through idea from tedu, ok thib pedro | |||
2008-10-31 | checkdirs() walks allproc and calls sleeping functions if directories have | Theo de Raadt | |
to be snapped. Change it so that everytime it sleeps it restarts from the top of the list. ok art | |||
2008-08-08 | remove an if notyet block from sys_fstatfs(), that will never be needed, | Thordur I. Bjornsson | |
softupdates are reported too statfs via other means. missed this block in in rev1.148 where the same block was removed from sys_statfs(). | |||
2008-07-28 | remove an #if noyet block that will never be needed. | Thordur I. Bjornsson | |
softupdates are reported too statfs via the mount point flags or the mount_info part of statfs; ok pedro@ | |||
2008-06-13 | Delete vfs_bufstats() leftovers and unbreak compile with -DDEBUG | Rainer Giedat | |
Ok reyk@, "kill kill kill" thib@ | |||
2008-05-22 | Use LIST_FOREACH() instead of handrolling. | Thordur I. Bjornsson | |
From: Pierre Riteau pierre.riteau_att_gmail.com OK miod@ | |||
2008-01-22 | Fix a double VOP_UNLOCK() that was introduced into the error path | Todd C. Miller | |
in rev 1.141. From Christian Ehrhardt and Pedro Martelletto. OK hshoexer@ miod@ | |||
2007-11-28 | a few more places where getmicrotime is good enough. ok miod | Ted Unangst | |
2007-09-07 | Use M_ZERO in a few more places to shave bytes from the kernel. | Artur Grabowski | |
eyeballed and ok dlg@ | |||
2007-08-30 | Fix lock ordering problems when updating mount points, in some | Thordur I. Bjornsson | |
cases we could end up releasing an unlocked lock. fixes pr's 5534 and 5564, confirmed by submitters. thanks!. ok art@ | |||
2007-08-06 | Fix error path in sys_fhopen() if VOP_ADVLOCK fails. Spotted by aaron@ | Todd C. Miller | |
2007-06-14 | Forgotten hackton diff: bounds check for seek on special devices | Otto Moerbeek | |
with a disklabel. Original diff from pedro@; ok pedro@ deraadt@ | |||
2007-01-16 | Retire VOP_LEASE(); It was a bit for NQNFS and has | Thordur 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-11-24 | When copying out struct statfs to userland, we need to zero out the fsid | Artur Grabowski | |
field unless it's root that's asking. This far, this has been done by putting a struct statfs on the stack and modifying it. struct statfs is large. Large things on the stack are bad. Create copyout_statfs() that copies out a struct statfs to userland, does the necessary root check and gives userland what it needs withtout wasting stack space. pedro@, deraadt@ ok. | |||
2006-06-25 | rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAIT | Nikolay Sturm | |
requested by and ok pedro | |||
2006-06-14 | move vfs_busy() to rwlocks and properly hide the locking api from vfs | Nikolay Sturm | |
ok tedu, pedro | |||
2006-05-27 | remove useless error check and irritating comment | Nikolay Sturm | |
ok pedro | |||
2006-04-30 | remove the simplelock argument from vfs_busy() which is currently not | Nikolay Sturm | |
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn | |||
2006-04-19 | Remove unused mount list simple_lock() goo | Pedro Martelletto | |
2006-03-26 | do per file io accounting and show that in fstat as well; pedro@ marco@ ok | Michael Shalayeff | |
2006-01-07 | p_dupfd need only be -1, nothing else. but this is nothing like what aaron ↵ | Theo de Raadt | |
has coming... | |||
2005-11-30 | No need for vfs_busy() and vfs_unbusy() to take a process pointer | Pedro Martelletto | |
anymore. Testing by jolan@, thanks. | |||
2005-11-27 | Don't set MNT_UPDATE and MNT_RELOAD before acquiring the mount point | Pedro Martelletto | |
lock. Fixes a race as seen on PR kern/4915. Okay miod@ and joris@, tested by krw@ and hshoexer@, thanks. | |||
2005-11-19 | Remove unnecessary lockmgr() archaism that was costing too much in terms | Pedro Martelletto | |
of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks. | |||
2005-11-08 | Use ANSI function declarations and deregister, no binary change | Pedro Martelletto | |
2005-07-03 | Extended Attributes was a piece to get to ACLs, however ACLs have not | Dale 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-17 | remove undelete syscall | Todd C. Miller | |
2005-05-27 | remove some dead code. | marius eriksen | |
ok pedro@ | |||
2005-05-27 | remove references of VOP_WHITEOUT from the kernel, okay millert@ | Pedro Martelletto | |
2005-05-27 | prepare the removal of sys_undelete(), make it a stub, okay millert@ | Pedro Martelletto | |
2005-05-26 | RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@ | Pedro Martelletto | |
2005-05-24 | when a device vnode associated with a mount point disappears, mark the | Pedro Martelletto | |
filesystem as doomed and unmount it | |||
2004-12-26 | Use list and queue macros where applicable to make the code easier to read; | Miod Vallat | |
no change in compiler assembly output. | |||
2004-09-16 | check for VBAD vnodes on getvnode(). ok andreas@, tedu@ and marius@ | Pedro Martelletto | |
2004-08-05 | don't attempt to put processes back in a directory after unmount. | Ted Unangst | |
it could never always work, and worse, may cause other bugs/crashes. | |||
2004-07-22 | remove p arg from fdplock | Ted Unangst | |
2004-07-18 | return EINVAL if ftruncate(2) is passed a negative offset | Anil Madhavapeddy | |
ok millert@, miod@, marius@ | |||
2004-07-13 | Change mode_t and nlink_t from 16bit to 32bit. This allows us to | Todd C. Miller | |
use mode_t in syscalls.master and to use mode_t in more places in the kernel. It also makes lint much more useful on kernel code. I've also added a placeholder for st_birthtime to make a UFS2 import easier at some future date. Requested by and OK deraadt@ | |||
2004-07-03 | if vinvalbuf() fails, unlock the vnode and release it. ok marius@ | Pedro Martelletto | |
2004-06-21 | First step towards more sane time handling in the kernel -- this changes | Thorsten Lockert | |
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@ | |||
2004-05-14 | use pool for namei pathbuf. testing ok millert@ tdeval@ | Ted Unangst | |
2004-05-10 | when doing user mounts, inherit the MNT_NOEXEC flag from the covered | Pedro Martelletto | |
vnode's mount point. this makes it impossible for a user to bypass the noexec protection of a mount point by null-mounting it on top of itself. ok tedu@ millert@ | |||
2004-04-13 | useless caddr_t cast removal. same md5s. | Ted Unangst | |
2004-01-06 | lock filedesc before manipulating. avoids some rare races. | Ted Unangst | |
testing for quite some time by brad + otto | |||
2003-09-01 | match syscallargs comments with reality | Henning Brauer | |
from Patrick Latifi <patrick.l@hermes.usherb.ca> ok jason@ tedu@ |