Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-11-29 | Don't use seltrue() in poll ops since it requires v_rdev dereferencing | Alexander Yurchenko | |
which is not possible here. Problem found and fixed by form@. ok millert@ fgsch@ pedro@ | |||
2004-11-18 | Better and simpler check for negative offset; from Christer Oberg | Todd C. Miller | |
2004-10-26 | typo, from Joris Vink | Pedro Martelletto | |
2004-10-19 | use queue.h provided macro when traversing the process list, no changes | Pedro Martelletto | |
in generated object file. from Joris Vink. | |||
2004-09-01 | Make sure we don't call kernfs_xread() with a negative offset. | Todd C. Miller | |
Problem found by Christer Oberg. OK henning@, deraadt@ | |||
2004-07-22 | remove p arg from fdplock | Ted Unangst | |
2004-07-11 | explicitly initialize a variable that is used to control the vnode | Pedro Martelletto | |
flushing loop, otherwise we could hard-lock the machine when unmounting an union filesystem ok tedu@ | |||
2004-07-10 | make sure we pass vop_whiteout() a locked vnode, ok tedu@ | Pedro Martelletto | |
2004-06-24 | This moves access to wall and uptime variables in MI code, | Thorsten Lockert | |
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@ | |||
2004-06-12 | fix ncpu vs ncpus glitch, spotted by Sven Dehmlow | Theo de Raadt | |
2004-06-06 | portal_connect needs splsoftnet. | Ted Unangst | |
using CMSG_ALIGN was wrong, userland fires in data not so aligned. if fd_getfile returns NULL, don't try to close the fd, since it's not there. | |||
2004-06-01 | use M_MISCFSMNT to allocate nullfs memory, ok tedu@ | Pedro Martelletto | |
2004-05-28 | fix for: !(flags && FORCECLOSE) | Mike Pechkin | |
hackers@ ok | |||
2004-05-26 | typos | Pedro Martelletto | |
2004-05-20 | remove more caddr_t | Ted Unangst | |
2004-05-20 | Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpc | Mark Kettenis | |
and m68k. ok drahn@, millert@ | |||
2004-05-18 | useless caddr_t casts removal, same sha1s | Pedro Martelletto | |
2004-05-18 | fix memory leak, ok tedu@ | Pedro Martelletto | |
2004-05-14 | Fix a bug that occurs when a FIFO is opened for writing with | Todd C. Miller | |
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@ | |||
2004-05-14 | use pool for namei pathbuf. testing ok millert@ tdeval@ | Ted Unangst | |
2004-05-05 | make sure uio_offset is a safe value, with suggestions from millert@ | Ted Unangst | |
ok deraadt@ millert@ problem noticed by deprotect.com | |||
2004-04-25 | useless casts | Ted Unangst | |
2004-04-25 | if you don't want the parent, don't use WANTPARENT. from pedro martelletto | Ted Unangst | |
2004-04-25 | only use um_cred for lookups, fixes pr 745. | Ted Unangst | |
from pedro martelletto | |||
2004-04-25 | fix typos/spelling in comments, from pedro martelletto | Jolan Luff | |
2004-04-23 | use CMSG macros. netbsd via pedro marteletto. | Ted Unangst | |
2004-03-03 | allow force umount here too | Ted Unangst | |
2004-03-03 | repair status by not repeating fields. fixes pr2101 from jim razmus | Ted Unangst | |
2004-03-03 | support forced unmounts. pr2394 from peter werner | Ted Unangst | |
2004-03-03 | save room for nul, so we can unmount later. pr2327 from peter werner | Ted Unangst | |
2004-03-02 | prevent memory leak on revoke by freeing resources in a real reclaim | Ted Unangst | |
function. also check fifoinfo is valid before deref. ok millert@ | |||
2004-02-24 | FIFO fixes adapted from FreeBSD: | Todd C. Miller | |
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@ | |||
2004-02-21 | fiddle with filedesc lock to prevent recursion. crash and fix confirmed | Ted Unangst | |
by marc balmer | |||
2004-01-28 | Don't rely on vp->v_usecount to tell when we can dispose of our resources | Todd C. Miller | |
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). | |||
2003-12-09 | missing ar; form Alf Schlichting <leopold-bloom@foni.net> | Michael Shalayeff | |
2003-11-29 | typos from Michael Coulter; | Jason McIntyre | |
2003-11-15 | set boottime's time to boottime, handy for find. requested by markus. | Ted Unangst | |
don't bother with microtime. time should be more than enough precision. from netbsd. | |||
2003-11-08 | typos from Jonathon Gray; | Jason McIntyre | |
2003-10-24 | style(9)ed panics, from tom cosgrove. | Ted Unangst | |
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
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 | |||
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
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@ | |||
2003-08-14 | constify vfsops; tedu@ ok | Michael Shalayeff | |
2003-08-11 | constify constant targets | Michael Shalayeff | |
2003-08-11 | constify constant names | Michael Shalayeff | |
2003-08-05 | make procfs support statfs args. lossage noticed and patch tested by jolan | Ted Unangst | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-12 | mapdata -> umapdata like it was before | Ted Unangst | |
2003-05-12 | fix up locking and some issues with union. derived from netbsd | Ted Unangst | |
2003-05-12 | replaced by layer_subr.c | Ted Unangst | |
2003-05-12 | umapfs uses the new layer stuff now too. | Ted Unangst | |