Re: [PATCH v2 12/25] selinux: add hooks for fscaps operations

2024-02-21 Thread Seth Forshee (DigitalOcean)
On Wed, Feb 21, 2024 at 07:19:07PM -0500, Paul Moore wrote: > On Wed, Feb 21, 2024 at 7:10 PM Seth Forshee (DigitalOcean) > wrote: > > On Wed, Feb 21, 2024 at 06:38:33PM -0500, Paul Moore wrote: > > > On Wed, Feb 21, 2024 at 4:25 PM Seth Forshee (DigitalOcean) > > > wrote: > > > > > > > > Add

Re: [PATCH v2 12/25] selinux: add hooks for fscaps operations

2024-02-21 Thread Paul Moore
On Wed, Feb 21, 2024 at 7:10 PM Seth Forshee (DigitalOcean) wrote: > On Wed, Feb 21, 2024 at 06:38:33PM -0500, Paul Moore wrote: > > On Wed, Feb 21, 2024 at 4:25 PM Seth Forshee (DigitalOcean) > > wrote: > > > > > > Add hooks for set/get/remove fscaps operations which perform the same > > >

Re: [PATCH v2 12/25] selinux: add hooks for fscaps operations

2024-02-21 Thread Seth Forshee (DigitalOcean)
On Wed, Feb 21, 2024 at 06:38:33PM -0500, Paul Moore wrote: > On Wed, Feb 21, 2024 at 4:25 PM Seth Forshee (DigitalOcean) > wrote: > > > > Add hooks for set/get/remove fscaps operations which perform the same > > checks as the xattr hooks would have done for XATTR_NAME_CAPS. > > > >

Re: [PATCH v2 12/25] selinux: add hooks for fscaps operations

2024-02-21 Thread Paul Moore
On Wed, Feb 21, 2024 at 4:25 PM Seth Forshee (DigitalOcean) wrote: > > Add hooks for set/get/remove fscaps operations which perform the same > checks as the xattr hooks would have done for XATTR_NAME_CAPS. > > Signed-off-by: Seth Forshee (DigitalOcean) > --- > security/selinux/hooks.c | 26

[PATCH v2 12/25] selinux: add hooks for fscaps operations

2024-02-21 Thread Seth Forshee (DigitalOcean)
Add hooks for set/get/remove fscaps operations which perform the same checks as the xattr hooks would have done for XATTR_NAME_CAPS. Signed-off-by: Seth Forshee (DigitalOcean) --- security/selinux/hooks.c | 26 ++ 1 file changed, 26 insertions(+) diff --git