lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 3 May 2023 12:46:18 -0400
From:   Steven Rostedt <rostedt@...dmis.org>
To:     Ondrej Mosnacek <omosnace@...hat.com>
Cc:     Masami Hiramatsu <mhiramat@...nel.org>,
        linux-trace-kernel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tracing: Fix permissions for the buffer_percent file

On Wed,  3 May 2023 16:01:14 +0200
Ondrej Mosnacek <omosnace@...hat.com> wrote:

> This file defines both read and write operations, yet it is being
> created as read-only. This means that it can't be written to without the
> CAP_DAC_OVERRIDE capability. Fix the permissions to allow root to write
> to it without the need to override DAC perms.
> 
> Fixes: 03329f993978 ("tracing: Add tracefs file buffer_percentage")
> Signed-off-by: Ondrej Mosnacek <omosnace@...hat.com>

Applied. Thanks Ondrej!

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ