Re: [RFC] watchdog ->release() races

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

 



On Tue, May 07, 2013 at 02:00:02PM -0700, Linus Torvalds wrote:
> On Tue, May 7, 2013 at 1:10 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > It's obviously racy; I'm not sure if we care about that race, but if we
> > do, there's about 80 drivers that need to be fixed...
> 
> I suspect the "we don't really care" is the correct answer here. It's
> not like you can really screw things up by mistake, and if you try to
> screw this up on purpose, you need to be root anyway to open
> /dev/watchdog etc.

I'm not sure...  It's obviously not a "the sky is falling" kind of thing,
but in a situation when task B kills task A, then spins trying to open
until open() succeeds...  Hell knows; it might be triggerable by somebody
not trying to trigger the race on purpose.  I really don't know what does
the userland side of that thing look like, thus the Cc to linux-wtchdog...
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux