From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 5 Jun 2022 10:59:11 +0300 From: "Dmitry V. Levin" To: devel-kernel@lists.altlinux.org Message-ID: <20220605075911.GA22144@altlinux.org> References: <20220602003100.524482-1-vt@altlinux.org> <20220602163914.GB11775@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Sun, 05 Jun 2022 07:59:11 -0000 Archived-At: List-Archive: List-Post: Hi, On Sun, Jun 05, 2022 at 11:48:06AM +0400, Alexey Sheplyakov wrote: > Hello, > > On Thu, Jun 02, 2022 at 07:39:14PM +0300, Dmitry V. Levin wrote: > > > No, thanks. Profiling on Linux is already more diffucult than it should be > > > Making things even more complicated is not appreciated at all. > > > > Since the kernel we are talking about is a universal kernel, it has to > > suit needs of both those who care about basic security and those who do > > profiling. > > Breaking a basic system functionality (such as debugging and profiling) > has nothing to do with security. Whatever you might consider a basic system functionality is your point of view, other people are likely to have different use cases where some of things your treat as basic are redundant or even dangerous. With regards to debugging and profiling, I do have installs where neither debugging nor profiling should be allowed, and we have a universal kernel to achieve that. -- ldv