[lkml]   [2014]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0/6] File Sealing & memfd_create()
On Thu, Apr 10, 2014 at 3:15 PM, Andy Lutomirski <> 
> COW links can do this already, I think. Of course, you'll have to
> use a
> filesystem that supports them.

COW is nice if the filesystem supports them, but my userspace code
needs to be filesystem agnostic. Because of that, the design for
userspace simply doesn't allow arbitrary writes.

Instead, I have to painfully audit every rpm %post/dpkg postinst type
script to ensure they break hardlinks, and furthermore only allow
executing scripts that are known to do so.

But I think even in a btrfs world it'd still be useful to mark files as

 \ /
  Last update: 2014-04-10 23:01    [W:0.061 / U:26.496 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site