Skip to contentSkip to conversation

sysctl fixes

GIT PULL Merged Al Viro 2 participants 2 messages Jun 10, 2020 – Jun 11, 2020

lore
Share & tools
lore

Al Viro

author
#0 lore raw

Fixups to regressions in sysctl series.

The following changes since commit 32927393dc1ccd60fb2bdc05b9e8e88753761469:

sysctl: pass kernel pointers to ->proc_handler (2020-04-27 02:07:40 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.sysctl

for you to fetch changes up to ef9d965bc8b6fce5bcc0ae76a4a5b3ed91ee81eb:

sysctl: reject gigantic reads/write to sysctl files (2020-06-10 14:11:33 -0400)

----------------------------------------------------------------
Christoph Hellwig (6):
net/sysctl: use cpumask_parse in flow_limit_cpu_sysctl net/sysctl: remove leftover __user annotations on neigh_proc_dointvec*
random: fix an incorrect __user annotation on proc_do_entropy
trace: fix an incorrect __user annotation on stack_trace_sysctl
cdrom: fix an incorrect __user annotation on cdrom_sysctl_info
sysctl: reject gigantic reads/write to sysctl files

 drivers/cdrom/cdrom.c      | 2 +-
 drivers/char/random.c      | 2 +-
 fs/proc/proc_sysctl.c      | 4 ++++
 include/linux/ftrace.h     | 5 ++---
 include/net/neighbour.h    | 7 +++----
 kernel/trace/trace_stack.c | 5 ++---
 net/core/sysctl_net_core.c | 2 +-
 7 files changed, 14 insertions(+), 13 deletions(-)