Christoph Hellwig
97a739c638
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
...
Instead of having all the sysctl handlers deal with user pointers, which
is rather hairy in terms of the BPF interaction, copy the input to and
from userspace in common code. This also means that the strings are
always NUL-terminated by the common code, making the API a little bit
safer.
As most handler just pass through the data to one of the common handlers
a lot of the changes are mechnical.
Change-Id: Ib7ad5ec475ea28257d651bdea23a4026a268c576
Signed-off-by: Christoph Hellwig <[email protected] >
Acked-by: Andrey Ignatov <[email protected] >
Signed-off-by: Al Viro <[email protected] >
2025-12-23 13:36:15 -08:00
..
walt
core_ctl: Add check for available cpus before accessing per_cpus
2022-11-24 22:22:42 +05:30
autogroup.c
autogroup.h
clock.c
completion.c
core.c
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
cpuacct.c
cpudeadline.c
cpudeadline.h
cpufreq.c
cpufreq_schedutil.c
Merge tag 'ASB-2025-10-06_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina
2025-10-08 15:17:54 +03:00
cpupri.c
cpupri.h
cputime.c
deadline.c
Merge tag 'ASB-2025-05-05_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina
2025-05-18 08:00:20 +00:00
debug.c
Merge android11-5.4.191+ ( 375c2e2) into msm-5.4
2022-06-09 11:43:23 +05:30
fair.c
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
features.h
Merge tag 'ASB-2022-11-01_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina
2022-11-09 19:53:28 +02:00
idle.c
isolation.c
loadavg.c
Makefile
membarrier.c
sched/membarrier: reduce the ability to hammer on sys_membarrier
2024-02-23 08:25:14 +01:00
OWNERS
pelt.c
pelt.h
sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq
2022-06-14 18:11:33 +02:00
psi.c
Merge android11-5.4.233+ ( 4716ccc) into msm-5.4
2023-05-30 11:16:10 +05:30
rt.c
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
sched-pelt.h
sched.h
Merge tag 'ASB-2025-12-01_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina
2025-12-04 19:21:35 +02:00
stats.c
stats.h
stop_task.c
swait.c
topology.c
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
wait.c
list: add "list_del_init_careful()" to go with "list_empty_careful()"
2023-06-28 10:18:35 +02:00
wait_bit.c