summaryrefslogtreecommitdiffstats
path: root/sys/miscfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* remove more caddr_ttedu2004-05-209-36/+33
|
* Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpckettenis2004-05-201-2/+10
| | | | | and m68k. ok drahn@, millert@
* useless caddr_t casts removal, same sha1spedro2004-05-183-13/+13
|
* fix memory leak, ok tedu@pedro2004-05-181-1/+2
|
* Fix a bug that occurs when a FIFO is opened for writing withmillert2004-05-141-3/+5
| | | | | | | | | | O_NONBLOCK set and there are no readers. Before returning ENXIO fifo_open calls VOP_CLOSE (and hence fifo_close). However, since fi_writers has not yet been incremented, when fifo_close decements fi_writers it is one too few. This could cause qmail processes to spin, consuming all the CPU. Noticed by avsm@ and henning@, test case provided by claudio@, Ok pedro@
* use pool for namei pathbuf. testing ok millert@ tdeval@tedu2004-05-141-4/+5
|
* make sure uio_offset is a safe value, with suggestions from millert@tedu2004-05-057-27/+24
| | | | | ok deraadt@ millert@ problem noticed by deprotect.com
* useless caststedu2004-04-253-12/+10
|
* if you don't want the parent, don't use WANTPARENT. from pedro martellettotedu2004-04-251-5/+2
|
* only use um_cred for lookups, fixes pr 745.tedu2004-04-251-4/+5
| | | | from pedro martelletto
* fix typos/spelling in comments, from pedro martellettojolan2004-04-251-2/+2
|
* use CMSG macros. netbsd via pedro marteletto.tedu2004-04-231-3/+3
|
* allow force umount here tootedu2004-03-031-2/+2
|
* repair status by not repeating fields. fixes pr2101 from jim razmustedu2004-03-031-5/+6
|
* support forced unmounts. pr2394 from peter wernertedu2004-03-032-4/+4
|
* save room for nul, so we can unmount later. pr2327 from peter wernertedu2004-03-031-2/+2
|
* prevent memory leak on revoke by freeing resources in a real reclaimtedu2004-03-022-4/+25
| | | | | | function. also check fifoinfo is valid before deref. ok millert@
* FIFO fixes adapted from FreeBSD:millert2004-02-241-56/+53
| | | | | | | | | | o use different wchan string for reading and writing o make O_RDWR not block forever o remove some useless casts o reorganize the normal, blocking code path (ie: O_NONBLOCK not set) o fix select/poll semantics wrt EOF. With these changes we pass the FIFO regress. OK tedu@
* fiddle with filedesc lock to prevent recursion. crash and fix confirmedtedu2004-02-211-1/+3
| | | | by marc balmer
* Don't rely on vp->v_usecount to tell when we can dispose of our resourcesmillert2004-01-281-2/+2
| | | | | | | | in fifo_close(). If the FIFO is accessed via a layed fs (e.g. nullfs), v_usecount will always be 1. Instead, just check fip->if_readers and fip->fi_writers. If either one is non-zero we know the FIFO is in use and we should not free up its resources. Adapted from FreeBSD, NetBSD has an equivalent change (but they keep a counter instead).
* missing ar; form Alf Schlichting <leopold-bloom@foni.net>mickey2003-12-091-2/+2
|
* typos from Michael Coulter;jmc2003-11-291-8/+8
|
* set boottime's time to boottime, handy for find. requested by markus.tedu2003-11-151-4/+8
| | | | | don't bother with microtime. time should be more than enough precision. from netbsd.
* typos from Jonathon Gray;jmc2003-11-081-3/+3
|
* style(9)ed panics, from tom cosgrove.tedu2003-10-242-5/+5
|
* Replace select backends with poll backends. selscan() and pollscan()millert2003-09-2312-67/+111
| | | | | | | now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
* change arguments to suser. suser now takes the process, and a flagstedu2003-08-152-4/+4
| | | | | | | | | argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
* constify vfsops; tedu@ okmickey2003-08-1414-28/+28
|
* constify constant targetsmickey2003-08-113-21/+21
|
* constify constant namesmickey2003-08-113-11/+10
|
* make procfs support statfs args. lossage noticed and patch tested by jolantedu2003-08-052-11/+5
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0240-241/+81
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* mapdata -> umapdata like it was beforetedu2003-05-123-8/+8
|
* fix up locking and some issues with union. derived from netbsdtedu2003-05-123-443/+595
|
* replaced by layer_subr.ctedu2003-05-121-355/+0
|
* umapfs uses the new layer stuff now too.tedu2003-05-124-805/+434
|
* most of the fixes for nullfs. use the new common layer stuff in genfs.tedu2003-05-123-818/+267
|
* new files to support layered file systems. to be used in a bit.tedu2003-05-125-0/+1925
| | | | mostly from work by Bill Studenmund - wrstuden at netbsd
* use LK_EXCLUSIVE like all other file systems.tedu2003-05-112-4/+4
| | | | use LK_RETRY in kernfs_root(). "just in case" stuff.
* string cleaning; tedu okderaadt2003-05-061-2/+3
|
* call lockmgr a bit earlier to avoid a race.tedu2003-04-281-7/+8
|
* rename rootvp to rvp to avoid global. ok deraadt@ krw@tedu2003-04-141-6/+6
|
* sprintf elimination from rohee.tedu2003-04-071-6/+6
|
* some snprintf usage from rohee.tedu2003-04-071-10/+10
|
* Ensure that all files in /kern end with a newline (machine, model,rohee2003-03-301-2/+8
| | | | | | osrelease and ostype were not). ok tedu@
* Disallow ptrace if P_SUGIDEXEC flag is set (we already disallow if P_SUGIDmillert2003-03-091-1/+2
| | | | is set). deraadt@ and tholo@ OK.
* use M_MISCFSMNT instead of M_UFSMNT for mount datatedu2003-02-245-18/+18
| | | | ok art@
* correct typotedu2003-02-241-2/+2
| | | | ok art@
* Remove tcfs until this entire licensing mess is cleaned up. This isderaadt2003-02-2423-4064/+0
| | | | ANOTHER case of a developer having ignored licenses when importing code.
* Remove commons; inspired by netbsd.jason2003-02-122-3/+5
|