Thread (1 message) 1 message, 1 author, 2009-01-06

Re: [patch 260/266] loop: add ioctl to resize a loop device

From: Linus Torvalds <hidden>
Date: 2009-01-06 23:58:19


On Tue, 6 Jan 2009, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org wrote:
Add the ability to 'resize' the loop device on the fly.
Hell no.

There is apparently no security checking here. No way can we allow this 
for any random user that can open the loopback device read-only and then 
just change its size.

It needs to use all the same security checks as "loop_set_status()" and 
friends, afaik.

Maybe I'm missing something, but I'm not going to apply it without 
somebody explaining why this isn't a total piece of shit.

I also don't want to have copyright licenses in changelogs. If it's a test 
app, anybody should be able to use it, no restrictions.

		Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help