]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - mm/nommu.c
[CVE-2009-0029] Convert all system calls to return a long
[mirror_ubuntu-zesty-kernel.git] / mm / nommu.c
index 60ed8375c986f56604e1551836fcf0f48d1273a3..ee3e789277395bd6e5cffab86b9e13bfdbdb0895 100644 (file)
@@ -416,7 +416,7 @@ EXPORT_SYMBOL(vm_insert_page);
  *  to a regular file.  in this case, the unmapping will need
  *  to invoke file system routines that need the global lock.
  */
-asmlinkage unsigned long sys_brk(unsigned long brk)
+asmlinkage long sys_brk(unsigned long brk)
 {
        struct mm_struct *mm = current->mm;