[PATCH v3 0/1] Relax restrictions on user.* xattr

Miklos Szeredi miklos at szeredi.hu
Mon Sep 6 14:56:44 UTC 2021


On Mon, 6 Sept 2021 at 16:39, Dr. David Alan Gilbert
<dgilbert at redhat.com> wrote:

> IMHO the real problem here is that the user/trusted/system/security
> 'namespaces' are arbitrary hacks rather than a proper namespacing
> mechanism that allows you to create new (nested) namespaces and associate
> permissions with each one.

Indeed.

This is what Eric Biederman suggested at some point for supporting
trusted xattrs within a user namespace:

| For trusted xattrs I think it makes sense in principle.   The namespace
| would probably become something like "trusted<ns-root-uid>.".

Theory sounds simple enough.  Anyone interested in looking at the details?

Thanks,
Miklos



More information about the Linux-security-module-archive mailing list