mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
[CVE-2009-0029] System call wrappers part 27
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
parent
c4ea37c26a
commit
1e7bfb2134
8 changed files with 18 additions and 18 deletions
|
@ -54,11 +54,11 @@ static int key_get_type_from_user(char *type,
|
|||
* - returns the new key's serial number
|
||||
* - implements add_key()
|
||||
*/
|
||||
asmlinkage long sys_add_key(const char __user *_type,
|
||||
const char __user *_description,
|
||||
const void __user *_payload,
|
||||
size_t plen,
|
||||
key_serial_t ringid)
|
||||
SYSCALL_DEFINE5(add_key, const char __user *, _type,
|
||||
const char __user *, _description,
|
||||
const void __user *, _payload,
|
||||
size_t, plen,
|
||||
key_serial_t, ringid)
|
||||
{
|
||||
key_ref_t keyring_ref, key_ref;
|
||||
char type[32], *description;
|
||||
|
@ -146,10 +146,10 @@ asmlinkage long sys_add_key(const char __user *_type,
|
|||
* - if the _callout_info string is empty, it will be rendered as "-"
|
||||
* - implements request_key()
|
||||
*/
|
||||
asmlinkage long sys_request_key(const char __user *_type,
|
||||
const char __user *_description,
|
||||
const char __user *_callout_info,
|
||||
key_serial_t destringid)
|
||||
SYSCALL_DEFINE4(request_key, const char __user *, _type,
|
||||
const char __user *, _description,
|
||||
const char __user *, _callout_info,
|
||||
key_serial_t, destringid)
|
||||
{
|
||||
struct key_type *ktype;
|
||||
struct key *key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue