summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2019-08-13 11:06:57 +0000
committerDmitry V. Levin <ldv@altlinux.org>2019-08-13 11:06:57 +0000
commitc48b9e84529153a68de8419f6552f1321be0d83e (patch)
treedf89d9b9d35effbe353b8e6666bec4a276d41494
parentaaa56b03e38dabaf722b9cc38e498da714e1ebe7 (diff)
downloadstrace-c48b9e84529153a68de8419f6552f1321be0d83e.tar.gz
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.
-rw-r--r--NEWS3
-rw-r--r--xlat/keyctl_commands.in7
2 files changed, 9 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index ce1087dd3..b0465bcf8 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 5e1f4472e..349531738 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