diff options
Diffstat (limited to 'security/keys/compat.c')
| -rw-r--r-- | security/keys/compat.c | 17 | 
1 files changed, 8 insertions, 9 deletions
diff --git a/security/keys/compat.c b/security/keys/compat.c index 792c0a611a6d..07a5f35e3970 100644 --- a/security/keys/compat.c +++ b/security/keys/compat.c  | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* compat.c: 32-bit compatibility syscall for 64-bit systems | 1 | /* 32-bit compatibility syscall for 64-bit systems | 
| 2 | * | 2 | * | 
| 3 | * Copyright (C) 2004-5 Red Hat, Inc. All Rights Reserved. | 3 | * Copyright (C) 2004-5 Red Hat, Inc. All Rights Reserved. | 
| 4 | * Written by David Howells (dhowells@redhat.com) | 4 | * Written by David Howells (dhowells@redhat.com) | 
| @@ -14,13 +14,13 @@ | |||
| 14 | #include <linux/compat.h> | 14 | #include <linux/compat.h> | 
| 15 | #include "internal.h" | 15 | #include "internal.h" | 
| 16 | 16 | ||
| 17 | /*****************************************************************************/ | ||
| 18 | /* | 17 | /* | 
| 19 | * the key control system call, 32-bit compatibility version for 64-bit archs | 18 | * The key control system call, 32-bit compatibility version for 64-bit archs | 
| 20 | * - this should only be called if the 64-bit arch uses weird pointers in | 19 | * | 
| 21 | * 32-bit mode or doesn't guarantee that the top 32-bits of the argument | 20 | * This should only be called if the 64-bit arch uses weird pointers in 32-bit | 
| 22 | * registers on taking a 32-bit syscall are zero | 21 | * mode or doesn't guarantee that the top 32-bits of the argument registers on | 
| 23 | * - if you can, you should call sys_keyctl directly | 22 | * taking a 32-bit syscall are zero. If you can, you should call sys_keyctl() | 
| 23 | * directly. | ||
| 24 | */ | 24 | */ | 
| 25 | asmlinkage long compat_sys_keyctl(u32 option, | 25 | asmlinkage long compat_sys_keyctl(u32 option, | 
| 26 | u32 arg2, u32 arg3, u32 arg4, u32 arg5) | 26 | u32 arg2, u32 arg3, u32 arg4, u32 arg5) | 
| @@ -88,5 +88,4 @@ asmlinkage long compat_sys_keyctl(u32 option, | |||
| 88 | default: | 88 | default: | 
| 89 | return -EOPNOTSUPP; | 89 | return -EOPNOTSUPP; | 
| 90 | } | 90 | } | 
| 91 | 91 | } | |
| 92 | } /* end compat_sys_keyctl() */ | ||
