]> git.hungrycats.org Git - linux/commitdiff
Annotate sys_uselib() with user pointer annotation
authorLinus Torvalds <torvalds@home.transmeta.com>
Fri, 11 Apr 2003 14:28:52 +0000 (07:28 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 11 Apr 2003 14:28:52 +0000 (07:28 -0700)
fs/exec.c

index d2a45ea4f0791bd48d180d8b08689aa29e339be6..24e8bc0c449aab0dfd35e8a1a73a26018074416e 100644 (file)
--- 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;