Home
last modified time | relevance | path

Searched refs:callout_info (Results 1 – 4 of 4) sorted by relevance

/security/keys/
Drequest_key.c220 static int construct_key(struct key *key, const void *callout_info, in construct_key() argument
229 kenter("%d,%p,%zu,%p", key->serial, callout_info, callout_len, aux); in construct_key()
236 authkey = request_key_auth_new(key, callout_info, callout_len, in construct_key()
440 const char *callout_info, in construct_key_and_link() argument
463 ret = construct_key(key, callout_info, callout_len, aux, in construct_key_and_link()
517 const void *callout_info, in request_key_and_link() argument
529 type->name, description, callout_info, callout_len, aux, in request_key_and_link()
553 if (!callout_info) in request_key_and_link()
556 key = construct_key_and_link(type, description, callout_info, in request_key_and_link()
608 const char *callout_info) in request_key() argument
[all …]
Drequest_key_auth.c85 if (copy_to_user(buffer, rka->callout_info, buflen) != 0) in request_key_auth_read()
125 kfree(rka->callout_info); in request_key_auth_destroy()
133 struct key *request_key_auth_new(struct key *target, const void *callout_info, in request_key_auth_new() argument
150 rka->callout_info = kmalloc(callout_len, GFP_KERNEL); in request_key_auth_new()
151 if (!rka->callout_info) { in request_key_auth_new()
182 memcpy(rka->callout_info, callout_info, callout_len); in request_key_auth_new()
207 kfree(rka->callout_info); in request_key_auth_new()
218 kfree(rka->callout_info); in request_key_auth_new()
Dinternal.h137 const void *callout_info,
186 void *callout_info; member
193 const void *callout_info,
Dkeyctl.c156 char type[32], *description, *callout_info; in SYSCALL_DEFINE4() local
172 callout_info = NULL; in SYSCALL_DEFINE4()
175 callout_info = strndup_user(_callout_info, PAGE_SIZE); in SYSCALL_DEFINE4()
176 if (IS_ERR(callout_info)) { in SYSCALL_DEFINE4()
177 ret = PTR_ERR(callout_info); in SYSCALL_DEFINE4()
180 callout_len = strlen(callout_info); in SYSCALL_DEFINE4()
202 key = request_key_and_link(ktype, description, callout_info, in SYSCALL_DEFINE4()
224 kfree(callout_info); in SYSCALL_DEFINE4()