Hi! > > We can just wait for all fuse requests to be serviced before > > proceeding further with freeze, right? > > Right. Nice way to slow down or stop the suspend with an unprivileged > process. Avoiding that sort of DoS is one of the design goals of > fuse. So you want me to handle _malicious_ filesystems now? That should be easy... :-). You already have nasty deadlocks in FUSE, and you solve them by "root can echo 1 > abort"... so allow me the same possibility. We can tell fused we are freezing, and if all the requests are not serviced within, say, 30 seconds, we call the filesystem malicious and do echo 1 > abort. Not ideal, but neither is allowing malicious filesystems in the first place... > Look at it this way: the task of the freezer is to stop new I/O > hitting the hardware. But it is totally indiscriminate about what it > stops, it tries to stop _everything_ even things which have nothing to > do with hardware. > > Not nice. Not nice, but we don't know any better for now. "Just fix all the drivers" basically means "just fix 90% of kernel". Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - 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/
- Follow-Ups:
- Re: malicious filesystems (was Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway)
- From: Miklos Szeredi <[email protected]>
- Re: malicious filesystems (was Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway)
- From: Miklos Szeredi <[email protected]>
- Re: malicious filesystems (was Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway)
- References:
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Alan Stern <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Paul Mackerras <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Oliver Neukum <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Miklos Szeredi <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Pavel Machek <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Miklos Szeredi <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Pavel Machek <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Miklos Szeredi <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Pavel Machek <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- From: Miklos Szeredi <[email protected]>
- Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- Prev by Date: [PATCH] Enable legacy support for serial ports when SERIAL_8250_PNP is disabled
- Next by Date: Re: 2.6.22-rc7: known regressions with patches v2
- Previous by thread: Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
- Next by thread: Re: malicious filesystems (was Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway)
- Index(es):