mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
Revert "UPSTREAM: seccomp: Remove bogus __user annotations"
This reverts commit 5444477e8a4d31f6e6ff720c2d018d06e405bcc1. Bug: 176068146 Signed-off-by: Jeff Vander Stoep <jeffv@google.com> Change-Id: Ic35b23f2f3ad99093b7df5e82633bba90acbe82a
This commit is contained in:
parent
2d2e514151
commit
cb8dc8a108
1 changed files with 2 additions and 2 deletions
|
|
@ -2035,7 +2035,7 @@ static bool seccomp_actions_logged_from_names(u32 *actions_logged, char *names)
|
|||
return true;
|
||||
}
|
||||
|
||||
static int read_actions_logged(struct ctl_table *ro_table, void *buffer,
|
||||
static int read_actions_logged(struct ctl_table *ro_table, void __user *buffer,
|
||||
size_t *lenp, loff_t *ppos)
|
||||
{
|
||||
char names[sizeof(seccomp_actions_avail)];
|
||||
|
|
@ -2053,7 +2053,7 @@ static int read_actions_logged(struct ctl_table *ro_table, void *buffer,
|
|||
return proc_dostring(&table, 0, buffer, lenp, ppos);
|
||||
}
|
||||
|
||||
static int write_actions_logged(struct ctl_table *ro_table, void *buffer,
|
||||
static int write_actions_logged(struct ctl_table *ro_table, void __user *buffer,
|
||||
size_t *lenp, loff_t *ppos, u32 *actions_logged)
|
||||
{
|
||||
char names[sizeof(seccomp_actions_avail)];
|
||||
|
|
|
|||
Loading…
Reference in a new issue