All of lore.kernel.org
 help / color / mirror / Atom feed
* Stable backport request - perf/core: Fix unconditional security_locked_down() call
@ 2021-05-05 10:58 Ondrej Mosnacek
  2021-05-05 11:07 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Ondrej Mosnacek @ 2021-05-05 10:58 UTC (permalink / raw)
  To: Linux Stable maillist; +Cc: Peter Zijlstra, SElinux list

Hello,

please consider backporting commit 08ef1af4de5f ("perf/core: Fix
unconditional security_locked_down() call") to stable kernels, as
without it SELinux requires an extraneous permission for
perf_event_open(2) calls with PERF_SAMPLE_REGS_INTR unset.

The range of target kernel versions is implied by the Fixes: tag.

Thanks,

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Stable backport request - perf/core: Fix unconditional security_locked_down() call
  2021-05-05 10:58 Stable backport request - perf/core: Fix unconditional security_locked_down() call Ondrej Mosnacek
@ 2021-05-05 11:07 ` Greg KH
  2021-05-05 12:17   ` Ondrej Mosnacek
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2021-05-05 11:07 UTC (permalink / raw)
  To: Ondrej Mosnacek; +Cc: Linux Stable maillist, Peter Zijlstra, SElinux list

On Wed, May 05, 2021 at 12:58:24PM +0200, Ondrej Mosnacek wrote:
> Hello,
> 
> please consider backporting commit 08ef1af4de5f ("perf/core: Fix
> unconditional security_locked_down() call") to stable kernels, as
> without it SELinux requires an extraneous permission for
> perf_event_open(2) calls with PERF_SAMPLE_REGS_INTR unset.
> 
> The range of target kernel versions is implied by the Fixes: tag.

Now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Stable backport request - perf/core: Fix unconditional security_locked_down() call
  2021-05-05 11:07 ` Greg KH
@ 2021-05-05 12:17   ` Ondrej Mosnacek
  0 siblings, 0 replies; 3+ messages in thread
From: Ondrej Mosnacek @ 2021-05-05 12:17 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux Stable maillist, Peter Zijlstra, SElinux list

On Wed, May 5, 2021 at 1:07 PM Greg KH <gregkh@linuxfoundation.org> wrote:
> On Wed, May 05, 2021 at 12:58:24PM +0200, Ondrej Mosnacek wrote:
> > Hello,
> >
> > please consider backporting commit 08ef1af4de5f ("perf/core: Fix
> > unconditional security_locked_down() call") to stable kernels, as
> > without it SELinux requires an extraneous permission for
> > perf_event_open(2) calls with PERF_SAMPLE_REGS_INTR unset.
> >
> > The range of target kernel versions is implied by the Fixes: tag.
>
> Now queued up, thanks.
>
> greg k-h
>

Wow, that was fast :) Thanks, Greg!

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-05 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 10:58 Stable backport request - perf/core: Fix unconditional security_locked_down() call Ondrej Mosnacek
2021-05-05 11:07 ` Greg KH
2021-05-05 12:17   ` Ondrej Mosnacek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.