diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-09 06:50:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-09 06:50:47 -0700 |
| commit | b9a8a0bdc30686d0064cadbc1f611fea47828db1 (patch) | |
| tree | 5cbb3dd1db3825a2a7637bf783899205ad454f18 /include/linux | |
| parent | 75b085149f370ff96ecbb127f637b42142bd9866 (diff) | |
Annotate sysct with user pointer annotations
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sysctl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index f6a32a5dc496..79b779f29c9f 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -679,8 +679,8 @@ extern void sysctl_init(void); typedef struct ctl_table ctl_table; typedef int ctl_handler (ctl_table *table, int *name, int nlen, - void *oldval, size_t *oldlenp, - void *newval, size_t newlen, + void __user *oldval, size_t __user *oldlenp, + void __user *newval, size_t newlen, void **context); typedef int proc_handler (ctl_table *ctl, int write, struct file * filp, @@ -707,8 +707,8 @@ extern int do_sysctl (int *name, int nlen, extern int do_sysctl_strategy (ctl_table *table, int *name, int nlen, - void *oldval, size_t *oldlenp, - void *newval, size_t newlen, void ** context); + void __user *oldval, size_t __user *oldlenp, + void __user *newval, size_t newlen, void ** context); extern ctl_handler sysctl_string; extern ctl_handler sysctl_intvec; |
