[CVE-2009-0029] Convert all system calls to return a long
Convert all system calls to return a long. This should be a NOP since all converted types should have the same size anyway. With the exception of sys_exit_group which returned void. But that doesn't matter since the system call doesn't return. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user