Re: [PATCH] apparmor: allow getattr on usb devices

2022-11-22 Thread Christian Ehrhardt
On Tue, Nov 22, 2022 at 9:55 AM Michal Prívozník wrote: > > On 11/22/22 09:47, Christian Ehrhardt wrote: > > On Mon, Nov 21, 2022 at 4:51 PM Michal Prívozník > > wrote: > >> > >> On 11/17/22 09:42, christian.ehrha...@canonical.com wrote: > >>> From: Christian Ehrhardt > >>> > >>> For the

Re: [PATCH] apparmor: allow getattr on usb devices

2022-11-22 Thread Michal Prívozník
On 11/22/22 09:47, Christian Ehrhardt wrote: > On Mon, Nov 21, 2022 at 4:51 PM Michal Prívozník wrote: >> >> On 11/17/22 09:42, christian.ehrha...@canonical.com wrote: >>> From: Christian Ehrhardt >>> >>> For the handling of usb we already allow plenty of read access, >>> but so far

Re: [PATCH] apparmor: allow getattr on usb devices

2022-11-22 Thread Christian Ehrhardt
On Mon, Nov 21, 2022 at 4:51 PM Michal Prívozník wrote: > > On 11/17/22 09:42, christian.ehrha...@canonical.com wrote: > > From: Christian Ehrhardt > > > > For the handling of usb we already allow plenty of read access, > > but so far /sys/bus/usb/devices only needed read access to the directory

Re: [PATCH] apparmor: allow getattr on usb devices

2022-11-21 Thread Michal Prívozník
On 11/17/22 09:42, christian.ehrha...@canonical.com wrote: > From: Christian Ehrhardt > > For the handling of usb we already allow plenty of read access, > but so far /sys/bus/usb/devices only needed read access to the directory > to enumerate the symlinks in there that point to the actual

[PATCH] apparmor: allow getattr on usb devices

2022-11-17 Thread christian . ehrhardt
From: Christian Ehrhardt For the handling of usb we already allow plenty of read access, but so far /sys/bus/usb/devices only needed read access to the directory to enumerate the symlinks in there that point to the actual entries via relative links to ../../../devices/. But in more recent