commit | fab686eb0307121e7a2890b6d6c57edd2457863d | [log] [tgz] |
---|---|---|
author | Jann Horn <jannh@google.com> | Fri Nov 20 18:05:45 2020 +0100 |
committer | Kees Cook <keescook@chromium.org> | Fri Nov 20 11:39:21 2020 -0800 |
tree | 23cd109c162d392b7e1b5aafe53bead84bf2393f | |
parent | 0d8315dddd2899f519fe1ca3d4d5cdaf44ea421e [diff] |
seccomp: Remove bogus __user annotations Buffers that are passed to read_actions_logged() and write_actions_logged() are in kernel memory; the sysctl core takes care of copying from/to userspace. Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Reviewed-by: Tyler Hicks <code@tyhicks.com> Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20201120170545.1419332-1-jannh@google.com