Re: [PATCH v2] xattr: Enable security.capability in user namespaces

From: Theodore Ts'o
Date: Wed Jul 12 2017 - 21:17:17 EST

I'm really confused what problem that is trying to be solved, here,
but it **feels** really, really wrong.

Why do we need to store all of this state on a per-file basis, instead
of some kind of per-file system or per-container data structure?

And how many of these xattrs do you expect there
to be? How many "foo", and how many "bar"?

Maybe I missed the full write up, in which case please send me a link
to the full writeup --- ideally in the form of a design doc that
explains the problem statement, gives some examples of how it's going
to be used, what were the other alternatives that were considered, and
why they were rejected, etc.


- Ted