You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[CVE-2009-0029] System call wrappers part 27
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user