From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 2 Jun 2022 16:29:14 +0300 From: Vitaly Chikunov To: ALT Linux kernel packages development Message-ID: <20220602132914.dd27tak5j7prixft@altlinux.org> References: <20220602003100.524482-1-vt@altlinux.org> <20220602071438.GA5852@altlinux.org> <20220602124038.ov7aoh5qcbrvc4ei@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220602124038.ov7aoh5qcbrvc4ei@altlinux.org> Subject: Re: [d-kernel] [PATCH] UBUNTU: SAUCE: security, perf: Allow further restriction of perf_event_open X-BeenThere: devel-kernel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2022 13:29:14 -0000 Archived-At: List-Archive: List-Post: Dmitry, On Thu, Jun 02, 2022 at 03:40:38PM +0300, Vitaly Chikunov wrote: > On Thu, Jun 02, 2022 at 10:14:38AM +0300, Dmitry V. Levin wrote: > > On Thu, Jun 02, 2022 at 03:31:00AM +0300, Vitaly Chikunov wrote: > > > index 6c7b35c941c7..4861085a2d49 100644 > > > --- a/security/Kconfig > > > +++ b/security/Kconfig > > > @@ -19,6 +19,16 @@ config SECURITY_DMESG_RESTRICT > > > > > > If you are unsure how to answer this question, answer N. > > > > > > +config SECURITY_PERF_EVENTS_RESTRICT > > > + bool "Restrict unprivileged use of performance events" > > > + depends on PERF_EVENTS > > > + default y > > > + help > > > + If you say Y here, the kernel.perf_event_paranoid sysctl > > > + will be set to 3 by default, and no unprivileged use of the > > -------------------------^ > > Я это заметил, но, думаю, так надо и оставить. > Поправил и добавил в очередь в p10.