From c48b9e84529153a68de8419f6552f1321be0d83e Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 13 Aug 2019 11:06:57 +0000 Subject: [PATCH] xlat: update KEYCTL_* constants * xlat/keyctl_commands.in (KEYCTL_PKEY_QUERY, KEYCTL_PKEY_ENCRYPT, KEYCTL_PKEY_DECRYPT, KEYCTL_PKEY_SIGN, KEYCTL_PKEY_VERIFY): New constants introduced by Linux kernel commit v4.20-rc1~29^2~20. (KEYCTL_MOVE): New constant introduced by Linux kernel commit v5.3-rc1~189^2~3. (KEYCTL_CAPABILITIES): New constant introduced by Linux kernel commit v5.3-rc1~189^2. * NEWS: Mention this. --- NEWS | 3 ++- xlat/keyctl_commands.in | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ce1087dd..b0465bcf 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,8 @@ Noteworthy changes in release ?.? (????-??-??) ============================================== * Improvements - * Updated lists of BPF_*, ETH_*, MAP_*, SO_*, V4L2_*, and XDP_* constants. + * Updated lists of BPF_*, ETH_*, KEYCTL_*, MAP_*, SO_*, V4L2_*, + and XDP_* constants. * Bug fixes * Fixed tests on alpha with Linux kernel headers 5.1+. diff --git a/xlat/keyctl_commands.in b/xlat/keyctl_commands.in index 5e1f4472..34953173 100644 --- a/xlat/keyctl_commands.in +++ b/xlat/keyctl_commands.in @@ -22,4 +22,11 @@ KEYCTL_INSTANTIATE_IOV 20 KEYCTL_INVALIDATE 21 KEYCTL_GET_PERSISTENT 22 KEYCTL_DH_COMPUTE 23 +KEYCTL_PKEY_QUERY 24 +KEYCTL_PKEY_ENCRYPT 25 +KEYCTL_PKEY_DECRYPT 26 +KEYCTL_PKEY_SIGN 27 +KEYCTL_PKEY_VERIFY 28 KEYCTL_RESTRICT_KEYRING 29 +KEYCTL_MOVE 30 +KEYCTL_CAPABILITIES 31 -- 2.40.0