diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-02-28 16:00:52 +0300 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-03-13 04:00:56 +0300 |
commit | 77553cf8f44863b31da242cf24671d76ddb61597 (patch) | |
tree | e745a0927aff48b8851c0045f536601139cbf293 /tools | |
parent | d0efdf35a6a71d307a250199af6fce122a7c7e11 (diff) | |
download | linux-77553cf8f44863b31da242cf24671d76ddb61597.tar.xz |
random: don't let 644 read-only sysctls be written to
We leave around these old sysctls for compatibility, and we keep them
"writable" for compatibility, but even after writing, we should keep
reporting the same value. This is consistent with how userspaces tend to
use sysctl_random_write_wakeup_bits, writing to it, and then later
reading from it and using the value.
Cc: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions