diff options
Diffstat (limited to 'xlat/keyctl_commands.h')
-rw-r--r-- | xlat/keyctl_commands.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlat/keyctl_commands.h b/xlat/keyctl_commands.h index 14a1e098..cbe760de 100644 --- a/xlat/keyctl_commands.h +++ b/xlat/keyctl_commands.h @@ -71,6 +71,9 @@ #if !(defined(KEYCTL_DH_COMPUTE) || (defined(HAVE_DECL_KEYCTL_DH_COMPUTE) && HAVE_DECL_KEYCTL_DH_COMPUTE)) # define KEYCTL_DH_COMPUTE 23 #endif +#if !(defined(KEYCTL_RESTRICT_KEYRING) || (defined(HAVE_DECL_KEYCTL_RESTRICT_KEYRING) && HAVE_DECL_KEYCTL_RESTRICT_KEYRING)) +# define KEYCTL_RESTRICT_KEYRING 29 +#endif #ifdef IN_MPERS @@ -104,6 +107,7 @@ const struct xlat keyctl_commands[] = { XLAT(KEYCTL_INVALIDATE), XLAT(KEYCTL_GET_PERSISTENT), XLAT(KEYCTL_DH_COMPUTE), + XLAT(KEYCTL_RESTRICT_KEYRING), XLAT_END }; |