procfs panic

Matthew Dillon dillon at apollo.backplane.com
Tue Oct 19 17:26:31 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

    Yup.  More mess in the vfs compatibility code.  I'll fix it.

						-Matt





More information about the Bugs mailing list