Re: [RFC PATCH V2] selinux-testsuite: Add check for key changes on watch_queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 15, 2020 at 2:08 PM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote:
> On Fri, May 15, 2020 at 3:12 PM Richard Haines
> <richard_c_haines@xxxxxxxxxxxxxx> wrote:
> > Kernel 5.? introduced the watch_queue service that allows watching for
>
> (I will fix up 5.? to 5.8 when applying.)
>
> > key changes. This requires key { view } permission, therefore check if
> > allowed or not.
> >
> > Note that the keyctl_watch_key() function is not yet built into the
> > keyutils library, therefore a syscall() is used.
> >
> > Signed-off-by: Richard Haines <richard_c_haines@xxxxxxxxxxxxxx>
> > ---
> > Tested on kernel.org 'linux-next: next-20200514'
>
> I tested the patch on the latest Rawhide 5.8-rc1 kernel build and it
> seems to work fine.
>
> Acked-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>

Now applied, thanks!

-- 
Ondrej Mosnacek
Software Engineer, Platform Security - SELinux kernel
Red Hat, Inc.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux