aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/loop_arm.const
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-11-01 10:31:17 -0700
committerDmitry Vyukov <dvyukov@google.com>2017-11-03 12:33:25 +0300
commit494a18d9f8ac662b9bf6a94c910318cf59173ad1 (patch)
treef90b41c43c208d0752b5c4a7def0079b283d7505 /sys/linux/loop_arm.const
parent2fb815f28638fe96ce053c39844311dc4c39d4c0 (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