diff options
| author | Eric Biggers <ebiggers@google.com> | 2017-11-01 10:31:17 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-11-03 12:33:25 +0300 |
| commit | 494a18d9f8ac662b9bf6a94c910318cf59173ad1 (patch) | |
| tree | f90b41c43c208d0752b5c4a7def0079b283d7505 /sys/linux/loop_arm.const | |
| parent | 2fb815f28638fe96ce053c39844311dc4c39d4c0 (diff) | |
sys/linux: use resource subtypes for "user" and "keyring" keys
Many functions in the keys API take in an ID parameter that is expected
to refer to a keyring, not to any key. Therefore, define a resource
subtype 'keyring' which can be created by add_key("keyring", ...) or by
using one of the special keyring IDs.
Also define a resource subtype 'user_key', since we'll be adding a
definition for KEYCTL_DH_COMPUTE which takes in a struct containing
"user" key IDs.
Diffstat (limited to 'sys/linux/loop_arm.const')
0 files changed, 0 insertions, 0 deletions
