Commit d55d7cdf authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Add a user pointer annotation to sysinfo()

parent a6a7f31b
......@@ -1091,7 +1091,7 @@ asmlinkage long sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp)
/*
* sys_sysinfo - fill in sysinfo struct
*/
asmlinkage long sys_sysinfo(struct sysinfo *info)
asmlinkage long sys_sysinfo(struct sysinfo __user *info)
{
struct sysinfo val;
u64 uptime;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment