Home
last modified time | relevance | path

Searched refs:request_key (Results 1 – 25 of 57) sorted by relevance

123

/linux/Documentation/security/keys/
H A Drequest-key.rst10 ``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 …]
H A Dcore.rst357 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/include/linux/gpio/
H A Ddriver.h172 struct lock_class_key *request_key; member
591 struct lock_class_key *request_key);
619 static struct lock_class_key request_key; \
621 &request_key); \
625 static struct lock_class_key request_key; \
627 &request_key); \
642 struct lock_class_key *request_key);
/linux/security/keys/
H A Drequest_key.c120 static char const request_key[] = "/sbin/request-key"; in call_sbin_request_key() local
185 argv[i++] = (char *)request_key; in call_sbin_request_key()
196 ret = call_usermodehelper_keys(request_key, argv, envp, keyring, in call_sbin_request_key()
244 if (key->type->request_key) in construct_key()
245 actor = key->type->request_key; in construct_key()
H A DMakefile16 request_key.o \
H A DKconfig25 bool "Enable temporary caching of the last request_key() result"
28 This option causes the result of the last successful request_key()
/linux/security/keys/encrypted-keys/
H A Dmasterkey_trusted.c33 tkey = request_key(&key_type_trusted, trusted_desc, NULL); in request_trusted_key()
/linux/tools/perf/trace/strace/groups/
H A Dstring52 request_key
/linux/drivers/gpio/
H A Dgpiolib-devres.c419 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()
H A Dgpiolib.c94 struct lock_class_key *request_key);
877 struct lock_class_key *request_key) in gpiochip_add_data_with_key() argument
1047 ret = gpiochip_add_irqchip(gc, lock_key, request_key); in gpiochip_add_data_with_key()
1489 irq_set_lockdep_class(irq, gc->irq.lock_key, gc->irq.request_key); in gpiochip_hierarchy_irq_domain_alloc()
1679 irq_set_lockdep_class(irq, gc->irq.lock_key, gc->irq.request_key); in gpiochip_irq_map()
1901 struct lock_class_key *request_key) in gpiochip_add_irqchip() argument
1931 gc->irq.request_key = request_key; in gpiochip_add_irqchip()
2045 struct lock_class_key *request_key) in gpiochip_add_irqchip() argument
/linux/fs/bcachefs/
H A Dchecksum.c518 keyring_key = request_key(&key_type_user, key_description, NULL); in __bch2_request_key()
542 key_id = request_key("user", key_description, NULL, in __bch2_request_key()
547 key_id = request_key("user", key_description, NULL, in __bch2_request_key()
552 key_id = request_key("user", key_description, NULL, in __bch2_request_key()
605 key_id = request_key("user", key_description.buf, NULL, KEY_SPEC_USER_KEYRING); in bch2_revoke_key()
/linux/drivers/md/
H A Ddm-verity-verify-sig.c38 key = request_key(&key_type_user, in verity_verify_get_sig_from_key()
/linux/include/linux/
H A Dkey-type.h142 request_key_actor_t request_key; member
H A Dkey.h346 static inline struct key *request_key(struct key_type *type, in request_key() function
/linux/security/integrity/
H A Ddigsig_asymmetric.c54 key = request_key(&key_type_asymmetric, name, NULL); in request_asymmetric_key()
H A Ddigsig.c49 request_key(&key_type_keyring, keyring_name[id], NULL); in integrity_keyring_from_id()
/linux/net/rxrpc/
H A Dserver_key.c135 key = request_key(&key_type_keyring, description, NULL); in rxrpc_server_keyring()
/linux/Documentation/networking/
H A Ddns_resolver.rst124 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/fs/smb/client/
H A Dcifs_spnego.c161 spnego_key = request_key(&cifs_spnego_key_type, description, ""); in cifs_get_spnego_key()
/linux/lib/
H A Ddigsig.c227 key = request_key(&key_type_user, name, NULL); in digsig_verify()
/linux/fs/crypto/
H A Dkeysetup_v1.c107 key = request_key(&key_type_logon, description, NULL); in find_and_lock_process_key()
/linux/fs/nfs/
H A Dnfs4idmap.c291 rkey = request_key(&key_type_id_resolver, desc, ""); in nfs_idmap_request_key()
420 .request_key = nfs_idmap_legacy_upcall,
/linux/kernel/
H A Dsys_ni.c166 COND_SYSCALL(request_key);
/linux/fs/ubifs/
H A Dauth.c278 keyring_key = request_key(&key_type_logon, c->auth_key_name, NULL); in ubifs_init_authentication()
/linux/security/integrity/evm/
H A Devm_crypto.c432 evm_key = request_key(&key_type_encrypted, EVMKEY, NULL); in evm_init_key()

123