Re: strace causes panic: sleeping thread

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Tue, 01 May 2007 12:35:49 +0200
des_at_des.no (Dag-Erling Smørgrav) writes:
> procfs_ioctl() needs the process to be locked; pn_ioctl() verifies
> that this is the case before calling it.  The correct fix is not to
> unlock the process before calling procfs_ioctl(), but to remove the
> latter's redundant PROC_LOCK() / PROC_UNLOCK() calls.

See attached patch.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no


Received on Tue May 01 2007 - 08:35:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC