/linux-6.3-rc2/Documentation/security/keys/ |
A D | request-key.rst | 10 ``request_key*()``:: 12 struct key *request_key(const struct key_type *type, 38 Or by userspace invoking the request_key system call:: 40 key_serial_t request_key(const char *type, 50 The request_key_tag() call is like the in-kernel request_key(), except that it 78 1) Process A calls request_key() [the userspace syscall calls the kernel 81 2) request_key() searches the process's subscribed keyrings to see if there's 86 3) request_key() sees that A doesn't have the desired key yet, so it creates 118 10) The program then exits 0 and request_key() deletes key V and returns key 173 When request_key() is invoked, if CONFIG_KEYS_REQUEST_CACHE=y, a per-task [all …]
|
A D | core.rst | 357 request_key and keyctl. The latter provides a number of functions for 373 KEY_SPEC_REQKEY_AUTH_KEY -7 assumed request_key() 423 key_serial_t request_key(const char *type, const char *description, 735 request_key() system call. 1146 struct key *request_key(const struct key_type *type, 1173 This is identical to request_key(), except that a domain tag may be 1189 passed to the key_type->request_key() op if it exists, and the 1322 This can be used with a function such as request_key() to find a specific 1324 with keyring_search(). Note that it is not possible to use request_key() to 1633 This method is optional. If provided, request_key() and friends will [all …]
|
/linux-6.3-rc2/include/linux/gpio/ |
A D | driver.h | 170 struct lock_class_key *request_key; member 546 struct lock_class_key *request_key); 574 static struct lock_class_key request_key; \ 576 &request_key); \ 580 static struct lock_class_key request_key; \ 582 &request_key); \ 597 struct lock_class_key *request_key);
|
/linux-6.3-rc2/security/keys/ |
A D | request_key.c | 117 static char const request_key[] = "/sbin/request-key"; in call_sbin_request_key() local 182 argv[i++] = (char *)request_key; in call_sbin_request_key() 193 ret = call_usermodehelper_keys(request_key, argv, envp, keyring, in call_sbin_request_key() 241 if (key->type->request_key) in construct_key() 242 actor = key->type->request_key; in construct_key()
|
A D | Makefile | 16 request_key.o \
|
A D | Kconfig | 25 bool "Enable temporary caching of the last request_key() result" 28 This option causes the result of the last successful request_key()
|
/linux-6.3-rc2/security/keys/encrypted-keys/ |
A D | masterkey_trusted.c | 33 tkey = request_key(&key_type_trusted, trusted_desc, NULL); in request_trusted_key()
|
/linux-6.3-rc2/tools/perf/trace/strace/groups/ |
A D | string | 52 request_key
|
/linux-6.3-rc2/drivers/gpio/ |
A D | gpiolib-devres.c | 419 struct lock_class_key *request_key) in devm_gpiochip_add_data_with_key() argument 423 ret = gpiochip_add_data_with_key(gc, data, lock_key, request_key); in devm_gpiochip_add_data_with_key()
|
A D | gpiolib.c | 88 struct lock_class_key *request_key); 668 struct lock_class_key *request_key) in gpiochip_add_data_with_key() argument 863 ret = gpiochip_add_irqchip(gc, lock_key, request_key); in gpiochip_add_data_with_key() 1235 irq_set_lockdep_class(irq, gc->irq.lock_key, gc->irq.request_key); in gpiochip_hierarchy_irq_domain_alloc() 1386 irq_set_lockdep_class(irq, gc->irq.lock_key, gc->irq.request_key); in gpiochip_irq_map() 1608 struct lock_class_key *request_key) in gpiochip_add_irqchip() argument 1640 gc->irq.request_key = request_key; in gpiochip_add_irqchip() 1772 struct lock_class_key *request_key) in gpiochip_add_irqchip() argument
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-verity-verify-sig.c | 38 key = request_key(&key_type_user, in verity_verify_get_sig_from_key()
|
/linux-6.3-rc2/include/linux/ |
A D | key-type.h | 141 request_key_actor_t request_key; member
|
A D | key.h | 346 static inline struct key *request_key(struct key_type *type, in request_key() function
|
/linux-6.3-rc2/security/integrity/ |
A D | digsig_asymmetric.c | 54 key = request_key(&key_type_asymmetric, name, NULL); in request_asymmetric_key()
|
A D | digsig.c | 49 request_key(&key_type_keyring, keyring_name[id], NULL); in integrity_keyring_from_id()
|
/linux-6.3-rc2/net/rxrpc/ |
A D | server_key.c | 135 key = request_key(&key_type_keyring, description, NULL); in rxrpc_server_keyring()
|
/linux-6.3-rc2/Documentation/networking/ |
A D | dns_resolver.rst | 124 When dns_query() is invoked, it calls request_key() to search the local 128 Upcalls to userspace are made through the request_key() upcall vector, and are
|
/linux-6.3-rc2/fs/cifs/ |
A D | cifs_spnego.c | 161 spnego_key = request_key(&cifs_spnego_key_type, description, ""); in cifs_get_spnego_key()
|
/linux-6.3-rc2/lib/ |
A D | digsig.c | 227 key = request_key(&key_type_user, name, NULL); in digsig_verify()
|
/linux-6.3-rc2/fs/crypto/ |
A D | keysetup_v1.c | 107 key = request_key(&key_type_logon, description, NULL); in find_and_lock_process_key()
|
/linux-6.3-rc2/fs/nfs/ |
A D | nfs4idmap.c | 291 rkey = request_key(&key_type_id_resolver, desc, ""); in nfs_idmap_request_key() 420 .request_key = nfs_idmap_legacy_upcall,
|
/linux-6.3-rc2/kernel/ |
A D | sys_ni.c | 267 COND_SYSCALL(request_key);
|
/linux-6.3-rc2/security/integrity/evm/ |
A D | evm_crypto.c | 414 evm_key = request_key(&key_type_encrypted, EVMKEY, NULL); in evm_init_key()
|
/linux-6.3-rc2/fs/ubifs/ |
A D | auth.c | 279 keyring_key = request_key(&key_type_logon, c->auth_key_name, NULL); in ubifs_init_authentication()
|
/linux-6.3-rc2/Documentation/driver-api/nvdimm/ |
A D | security.rst | 47 security specification [2]. A key is initially acquired via the request_key()
|