diff options
author | David Howells <dhowells@redhat.com> | 2019-05-30 14:53:10 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-06-19 13:27:45 +0100 |
commit | 45e0f30c30bb131663fbe1752974d6f2e39611e2 (patch) | |
tree | 7679786ee974e03e277c871e68491921e491cdd8 /security/keys/internal.h | |
parent | 47546208657f28007f41574c2d27a3fe760f987d (diff) |
keys: Add capability-checking keyctl function
Add a keyctl function that requests a set of capability bits to find out
what features are supported.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/keys/internal.h')
-rw-r--r-- | security/keys/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/keys/internal.h b/security/keys/internal.h index b54a58c025ae..d04bff631227 100644 --- a/security/keys/internal.h +++ b/security/keys/internal.h @@ -329,6 +329,8 @@ static inline long keyctl_pkey_e_d_s(int op, } #endif +extern long keyctl_capabilities(unsigned char __user *_buffer, size_t buflen); + /* * Debugging key validation */ |