diff options
author | Wade Mealing <[email protected]> | 2020-06-17 13:49:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-01 17:29:05 +0200 |
commit | 853eab68afc80f59f36bbdeb715e5c88c501e680 (patch) | |
tree | b5862e8fbeba81cfede5b8db87141846a583b71f /scripts/gdb | |
parent | e852c2c251ed9c23ae6e3efebc5ec49adb504207 (diff) |
Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()"
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 <[email protected]>
Cc: stable <[email protected]>
Fixes: f40609d1591f ("zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()")
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1847832
Reviewed-by: Steffen Maier <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions