Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH 2/7] Overlayfs: Use copy-up security hooks | Date | Fri, 07 Nov 2014 22:05:40 +0000 |
| |
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
| |