Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'seccomp-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux

Pull seccomp update from Kees Cook:

- Prepare for sysctl table constification

* tag 'seccomp-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
seccomp: Constify sysctl subhelpers

+2 -2
+2 -2
kernel/seccomp.c
··· 2334 2334 return true; 2335 2335 } 2336 2336 2337 - static int read_actions_logged(struct ctl_table *ro_table, void *buffer, 2337 + static int read_actions_logged(const struct ctl_table *ro_table, void *buffer, 2338 2338 size_t *lenp, loff_t *ppos) 2339 2339 { 2340 2340 char names[sizeof(seccomp_actions_avail)]; ··· 2352 2352 return proc_dostring(&table, 0, buffer, lenp, ppos); 2353 2353 } 2354 2354 2355 - static int write_actions_logged(struct ctl_table *ro_table, void *buffer, 2355 + static int write_actions_logged(const struct ctl_table *ro_table, void *buffer, 2356 2356 size_t *lenp, loff_t *ppos, u32 *actions_logged) 2357 2357 { 2358 2358 char names[sizeof(seccomp_actions_avail)];