Re: [rtc-linux] Re: BUG: lock held when returning to user space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 28 Oct 2007 00:47:15 +0200 (CEST)
Jiri Kosina <[email protected]> wrote:

> Yes, but the fact is that is really is invalid use of mutex -- because the 
> mutex owner could become seriously wrong after fork() or sending the 
> filedescriptor through unix socket ... this easily leads to broken 
> situation.
> 
> This seems to have been introduced in e824290e5d ... Alessandro, could you 
> convert this to test_and_set_bit()/clear_bit() semantics instead of a 
> mutex please?

 Hi Jiri,
   I was away for the weekend and just saw the whole discussion
 and your patch and I'm happy to ack it. Thank you very much
 a thanks to Gabriel for the bug report!
 

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux