Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

From
Linus Torvalds <hidden>
Date
2016-03-12 00:44:16
Also in
linux-fsdevel, lkml
Reply to
Theodore Ts'o, 2016-03-12
On Fri, Mar 11, 2016 at 4:35 PM, Theodore Ts'o [off-list ref] wrote:
At the end of the day it's about whether you trust the userspace
program or not.
There's a big difference between "give the user rope", and "tie the
rope in a noose and put a banana peel so that the user might stumble
into the rope and hang himself", though.

So I do think that Dave is right that we should also strive to make
sure that our interfaces are not just secure in theory, but that they
are also good interfaces to make mistakes less likely.

I think we _should_ give users rope, but maybe we should also make
sure that there isn't some hidden rapidly spinning saw-blade right
next to the rope that the user doesn't even think about.

                   Linus
Thread (60 messages) 60 messages, 15 authors, last reply 2016-03-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help