[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200623070308.GA186116@google.com>
Date: Tue, 23 Jun 2020 00:03:08 -0700
From: Minchan Kim <minchan@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Nitin Gupta <ngupta@...are.org>,
Steffen Maier <maier@...ux.ibm.com>,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Wade Mealing <wmealing@...hat.com>,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
Jens Axboe <axboe@...nel.dk>
Subject: Re: [PATCH v2] Revert "zram: convert remaining CLASS_ATTR() to
CLASS_ATTR_RO()"
On Wed, Jun 17, 2020 at 01:49:46PM +0200, Greg Kroah-Hartman wrote:
> From: Wade Mealing <wmealing@...hat.com>
>
> Turns out that the permissions for 0400 really are what we want here,
> otherwise any user can read from this file.
>
> [fixed formatting, added changelog, and made attribute static - gregkh]
>
> Reported-by: Wade Mealing <wmealing@...hat.com>
> Cc: stable <stable@...r.kernel.org>
> Fixes: f40609d1591f ("zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()")
> Link: https://bugzilla.redhat.com/show_bug.cgi?id=1847832
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Acked-by: Minchan Kim <minchan@...nel.org>
Powered by blists - more mailing lists