Commit 21347414 authored by Linus Torvalds's avatar Linus Torvalds

Annotate sys_uselib() with user pointer annotation

parent 29c36d50
......@@ -111,7 +111,7 @@ static inline void put_binfmt(struct linux_binfmt * fmt)
*
* Also note that we take the address to load from from the file itself.
*/
asmlinkage long sys_uselib(const char * library)
asmlinkage long sys_uselib(const char __user * library)
{
struct file * file;
struct nameidata nd;
......
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