mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[CVE-2009-0029] System call wrappers part 26
Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
parent
d5460c9974
commit
c4ea37c26a
4 changed files with 19 additions and 23 deletions
|
|
@ -1377,7 +1377,7 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
asmlinkage long sys_swapoff(const char __user * specialfile)
|
||||
SYSCALL_DEFINE1(swapoff, const char __user *, specialfile)
|
||||
{
|
||||
struct swap_info_struct * p = NULL;
|
||||
unsigned short *swap_map;
|
||||
|
|
@ -1633,7 +1633,7 @@ late_initcall(max_swapfiles_check);
|
|||
*
|
||||
* The swapon system call
|
||||
*/
|
||||
asmlinkage long sys_swapon(const char __user * specialfile, int swap_flags)
|
||||
SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags)
|
||||
{
|
||||
struct swap_info_struct * p;
|
||||
char *name = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue