procfs panic

Matthew Dillon dillon at apollo.backplane.com
Wed Oct 20 02:03:32 PDT 2004


:Hi,
:
:Playing around adding functionality to note/notepg (I attached a diff in 
:case you want it)  I came across a bug (not caused by my modifications 
:btw :))
:
:Doing for example echo kill > /proc/somepid/[ctl/note/notepg] will cause 
:a panic with the panic string "lockmgr: locking against myself", however 
:opening the file and write()'ing to it works as expected. I don't know 
:what bash is doing to cause this and for some reason I didn't get a 
:crash dump but reproducing the bug should be a simple matter of doing 
:echo kill > /proc/curproc/ctl

    I fixed this in HEAD.  I can't fix it in stable due to other commits
    to that file, but if people can get through another ~7 days without
    it we should be able to sync Stable to HEAD by Sunday.
	
						-Matt






More information about the Bugs mailing list