From 21347414286dfc62520a100b1affa2040c16c198 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 11 Apr 2003 07:28:52 -0700 Subject: [PATCH] Annotate sys_uselib() with user pointer annotation --- fs/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/exec.c b/fs/exec.c index d2a45ea4f0791..24e8bc0c449aa 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -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; -- 2.53.0