/kernel/linux/linux-5.10/security/keys/ |
D | request_key.c | 223 static int construct_key(struct key *key, const void *callout_info, in construct_key() argument 231 kenter("%d,%p,%zu,%p", key->serial, callout_info, callout_len, aux); in construct_key() 234 authkey = request_key_auth_new(key, "create", callout_info, callout_len, in construct_key() 474 const char *callout_info, in construct_key_and_link() argument 503 ret = construct_key(key, callout_info, callout_len, aux, in construct_key_and_link() 561 const void *callout_info, in request_key_and_link() argument 586 callout_info, callout_len, aux, dest_keyring, flags); in request_key_and_link() 634 if (!callout_info) in request_key_and_link() 637 key = construct_key_and_link(&ctx, callout_info, callout_len, in request_key_and_link() 693 const char *callout_info) in request_key_tag() argument [all …]
|
D | request_key_auth.c | 100 memcpy(buffer, rka->callout_info, buflen); in request_key_auth_read() 114 kfree(rka->callout_info); in free_request_key_auth() 162 const void *callout_info, size_t callout_len, in request_key_auth_new() argument 177 rka->callout_info = kmemdup(callout_info, callout_len, GFP_KERNEL); in request_key_auth_new() 178 if (!rka->callout_info) in request_key_auth_new()
|
D | keyctl.c | 176 char type[32], *description, *callout_info; in SYSCALL_DEFINE4() local 192 callout_info = NULL; in SYSCALL_DEFINE4() 195 callout_info = strndup_user(_callout_info, PAGE_SIZE); in SYSCALL_DEFINE4() 196 if (IS_ERR(callout_info)) { in SYSCALL_DEFINE4() 197 ret = PTR_ERR(callout_info); in SYSCALL_DEFINE4() 200 callout_len = strlen(callout_info); in SYSCALL_DEFINE4() 222 key = request_key_and_link(ktype, description, NULL, callout_info, in SYSCALL_DEFINE4() 244 kfree(callout_info); in SYSCALL_DEFINE4()
|
D | internal.h | 160 const void *callout_info, 216 const void *callout_info,
|
/kernel/linux/linux-5.10/include/linux/ |
D | key.h | 319 const char *callout_info); 328 const void *callout_info, 342 const char *callout_info) in request_key() argument 344 return request_key_tag(type, description, NULL, callout_info); in request_key() 363 #define request_key_net(type, description, net, callout_info) \ argument 364 request_key_tag(type, description, net->key_domain, callout_info);
|
/kernel/linux/linux-5.10/include/keys/ |
D | dns_resolver-type.h | 16 const char *callout_info,
|
D | request_key_auth-type.h | 21 void *callout_info; member
|
/kernel/linux/linux-5.10/Documentation/security/keys/ |
D | request-key.rst | 14 const char *callout_info); 21 const char *callout_info); 28 const char *callout_info, 42 const char *callout_info, 83 and callout_info is not set, an error is returned. Otherwise the process
|
D | core.rst | 424 const char *callout_info, 432 If a key cannot be found, and if callout_info is not NULL, then 434 callout_info string will be passed as an argument to the program. 1148 const char *callout_info); 1171 const char *callout_info); 1184 const void *callout_info, 1190 callout_info is a blob of length callout_len, if given (the length may be 1796 <threadring> <processring> <sessionring> <callout_info> 1824 service. This will be passed as the <callout_info> parameter. If no such
|