lkml.org 
[lkml]   [2014]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/7] Overlayfs: Use copy-up security hooks
Date
Paul Moore <paul@paul-moore.com> wrote:

> So the LSM must modify the xattr in place? I suppose that since the @value
> is allocated to the max size it shouldn't be a problem. Just checking ...

... And the caller must provide a maximally sized buffer (which it likely has
to allocate anyway).

I'm not sure I really need to provide the modification thing. I suspect a
binary keep or discard decision is sufficient.

David


\
 
 \ /
  Last update: 2014-11-07 23:21    [W:0.063 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site