Home
last modified time | relevance | path

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

123

/linux-6.6.21/Documentation/security/keys/
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
95 4) request_key() then forks and executes /sbin/request-key with a new session
118 10) The program then exits 0 and request_key() deletes key V and returns key
[all …]
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
1631 * ``int (*request_key)(struct key_construction *cons, const char *op, void *aux);``
[all …]
/linux-6.6.21/include/linux/gpio/
Ddriver.h170 struct lock_class_key *request_key; member
554 struct lock_class_key *request_key);
582 static struct lock_class_key request_key; \
584 &request_key); \
588 static struct lock_class_key request_key; \
590 &request_key); \
605 struct lock_class_key *request_key);
/linux-6.6.21/security/keys/
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()
DMakefile16 request_key.o \
DKconfig25 bool "Enable temporary caching of the last request_key() result"
28 This option causes the result of the last successful request_key()
/linux-6.6.21/security/keys/encrypted-keys/
Dmasterkey_trusted.c33 tkey = request_key(&key_type_trusted, trusted_desc, NULL); in request_trusted_key()
/linux-6.6.21/tools/perf/trace/strace/groups/
Dstring52 request_key
/linux-6.6.21/drivers/gpio/
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()
Dgpiolib.c104 struct lock_class_key *request_key);
739 struct lock_class_key *request_key) in gpiochip_add_data_with_key() argument
903 ret = gpiochip_add_irqchip(gc, lock_key, request_key); in gpiochip_add_data_with_key()
1320 irq_set_lockdep_class(irq, gc->irq.lock_key, gc->irq.request_key); in gpiochip_hierarchy_irq_domain_alloc()
1472 irq_set_lockdep_class(irq, gc->irq.lock_key, gc->irq.request_key); in gpiochip_irq_map()
1740 struct lock_class_key *request_key) in gpiochip_add_irqchip() argument
1770 gc->irq.request_key = request_key; in gpiochip_add_irqchip()
1884 struct lock_class_key *request_key) in gpiochip_add_irqchip() argument
/linux-6.6.21/include/linux/
Dkey-type.h142 request_key_actor_t request_key; member
Dkey.h346 static inline struct key *request_key(struct key_type *type, in request_key() function
/linux-6.6.21/drivers/md/
Ddm-verity-verify-sig.c38 key = request_key(&key_type_user, in verity_verify_get_sig_from_key()
/linux-6.6.21/security/integrity/
Ddigsig_asymmetric.c54 key = request_key(&key_type_asymmetric, name, NULL); in request_asymmetric_key()
Ddigsig.c49 request_key(&key_type_keyring, keyring_name[id], NULL); in integrity_keyring_from_id()
/linux-6.6.21/net/rxrpc/
Dserver_key.c135 key = request_key(&key_type_keyring, description, NULL); in rxrpc_server_keyring()
/linux-6.6.21/Documentation/networking/
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-6.6.21/fs/smb/client/
Dcifs_spnego.c161 spnego_key = request_key(&cifs_spnego_key_type, description, ""); in cifs_get_spnego_key()
/linux-6.6.21/lib/
Ddigsig.c227 key = request_key(&key_type_user, name, NULL); in digsig_verify()
/linux-6.6.21/fs/crypto/
Dkeysetup_v1.c107 key = request_key(&key_type_logon, description, NULL); in find_and_lock_process_key()
/linux-6.6.21/fs/nfs/
Dnfs4idmap.c291 rkey = request_key(&key_type_id_resolver, desc, ""); in nfs_idmap_request_key()
420 .request_key = nfs_idmap_legacy_upcall,
/linux-6.6.21/kernel/
Dsys_ni.c165 COND_SYSCALL(request_key);
/linux-6.6.21/security/integrity/evm/
Devm_crypto.c421 evm_key = request_key(&key_type_encrypted, EVMKEY, NULL); in evm_init_key()
/linux-6.6.21/fs/ubifs/
Dauth.c279 keyring_key = request_key(&key_type_logon, c->auth_key_name, NULL); in ubifs_init_authentication()
/linux-6.6.21/Documentation/driver-api/nvdimm/
Dsecurity.rst47 security specification [2]. A key is initially acquired via the request_key()

123