diff options
author | 2020-04-28 21:20:20 +0200 | |
---|---|---|
committer | 2020-04-28 21:23:38 +0200 | |
commit | 0b54142e4b09fbf719eb9fc6fe8bcacbd0547ac3 (patch) | |
tree | e65147d1aec55854e854a9a00ec9ac17af193208 /kernel/time | |
parent | bpf, cgroup: Remove unused exports (diff) | |
parent | sysctl: pass kernel pointers to ->proc_handler (diff) | |
download | linux-0b54142e4b09fbf719eb9fc6fe8bcacbd0547ac3.tar.gz linux-0b54142e4b09fbf719eb9fc6fe8bcacbd0547ac3.tar.bz2 linux-0b54142e4b09fbf719eb9fc6fe8bcacbd0547ac3.zip |
Merge branch 'work.sysctl' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull in Christoph Hellwig's series that changes the sysctl's ->proc_handler
methods to take kernel pointers instead. It gets rid of the set_fs address
space overrides used by BPF. As per discussion, pull in the feature branch
into bpf-next as it relates to BPF sysctl progs.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200427071508.GV23230@ZenIV.linux.org.uk/T/
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/time/timer.c b/kernel/time/timer.c index a5221abb4594..398e6eadb861 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -249,8 +249,7 @@ void timers_update_nohz(void) } int timer_migration_handler(struct ctl_table *table, int write, - void __user *buffer, size_t *lenp, - loff_t *ppos) + void *buffer, size_t *lenp, loff_t *ppos) { int ret; |