Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-02 | Add some comments in the return endpoints | Pedro Martelletto | |
2006-06-02 | Add a clonable devices implementation. Hacked along with thib@, input | Pedro Martelletto | |
from krw@ and toby@, subliminal prodding from dlg@, okay deraadt@. | |||
2006-03-05 | Use more queue macros rather than doing it by hand; ok otto@ krw@ | Miod Vallat | |
2006-02-20 | Remove historical yet completely undocumented ``is this a tape'' ioctl for | Miod Vallat | |
block devices where ioctl request is zero and data is B_TAPE, which no sane userland program uses those days. General disgust and ok deraadt@ millert@ weingart@ | |||
2005-12-31 | Split the d_type field of cdevsw entries into d_type and d_flags for clarity. | Miod Vallat | |
Discussed with and ok deraadt@ millert@ | |||
2005-12-29 | Fix wrong optimization in spec_write() that goes: if we are about to do | Pedro Martelletto | |
a write that will globber the whole buffer, and it's not in cache, do not bother reading it in. That's wrong, since the user may be trying to write beyond the disk extent, in which case we definitely want to return an error, rather than returning saying the write was okay, and failing later on at an 'uncatched' biodone(). Okay tedu@. | |||
2005-12-11 | Replace procfs_domem() with a similar interface, process_domem(), which lives | Miod Vallat | |
out of procfs and gets a ptrace request PT_{READ,WRITE}_{I,D} as argument; also procfs_checkioperm() becomes process_checkioperm(). From art@ some time ago; ok kettenis@ pedro@ | |||
2005-12-06 | Remove fdescfs | Pedro Martelletto | |
2005-11-24 | Remove kernfs, okay deraadt@. | Pedro Martelletto | |
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-04 | Add an extra flags argument to uvm_io(), to specify whether we want to fix | Miod Vallat | |
the protection of the memory mapping we're doing I/O on, or if we want to leave them as they are. This should only be necessary for breakpoint insertion in code, so we'll only use it for ptrace requests. Initially from art@ after discussion with kettenis@ millert@ and I, tested by many. | |||
2005-05-31 | Protect the run queues with SCHED_LOCK, not just spl (ot nothing at all in | Artur Grabowski | |
one case fixed here). miod@ "appears to be harmless" markus@ ok | |||
2005-05-29 | sched work by niklas and art backed out; causes panics | Theo de Raadt | |
2005-05-26 | bye bye, rest in attic ad infinitum, amen | Pedro Martelletto | |
2005-05-25 | This patch is mortly art's work and was done *a year* ago. Art wants to thank | Niklas Hallqvist | |
everyone for the prompt review and ok of this work ;-) Yeah, that includes me too, or maybe especially me. I am sorry. Change the sched_lock to a mutex. This fixes, among other things, the infamous "telnet localhost &" problem. The real bug in that case was that the sched_lock which is by design a non-recursive lock, was recursively acquired, and not enough releases made us hold the lock in the idle loop, blocking scheduling on the other processors. Some of the other processors would hold the biglock though, which made it impossible for cpu 0 to enter the kernel... A nice deadlock. Let me just say debugging this for days just to realize that it was all fixed in an old diff noone ever ok'd was somewhat of an anti-climax. This diff also changes splsched to be correct for all our architectures. | |||
2005-05-24 | better handling of disappearing devices, in spec_close(), don't try to | Pedro Martelletto | |
double-lock the vnode if we're coming from vclean() | |||
2005-04-21 | careful strlcpy and snprintf return handling; ok pedro beck | Theo de Raadt | |
2005-04-16 | Remove regs and fpregs pseudo-files from procfs. | Mark Kettenis | |
ok deraadt@, miod@ | |||
2005-04-01 | calling pfind() and checking that the process doesn't exist is not | Pedro Martelletto | |
enough to allow us to call vgone() from procfs_inactive(). to avoid a deadlock, check for VXLOCK as well, in case we were called from vclean(). problem report from Sho Fujita, okay tedu@. | |||
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@ |