Skip to content

keys: const-ification and other fixes

Ben Boeckel keyrings 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5docs: fix prototype for `request_key`Documentation/security/keys/core.rst+1 -12 replies
2/5docs: clarify `keyctl ... trusted` commandsDocumentation/security/keys/trusted-encrypted.rst+10 -100 replies
3/5rxrpc: mention that client key payloads are not arbitrarynet/rxrpc/key.c+2 -21 reply
4/5keyctl.h: update pointer typesinclude/uapi/linux/keyctl.h+2 -22 replies
5/5dns_key: add a function to verify the key descriptionnet/dns_resolver/dns_key.c+35 -92 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] keys: const-ification and other fixes

The main patch is #4, but these are all things I found while using the code and documentation to make Rust wrappers for libkeyutils with stronger typing.

If it is preferred that these be split up, let me know.

--Ben

Ben Boeckel (5):
docs: fix prototype for request_key
docs: clarify keyctl ... trusted commands
rxrpc: mention that client key payloads are not arbitrary keyctl.h: update pointer types
dns_key: add a function to verify the key description

 Documentation/security/keys/core.rst          |  2 +-
 .../security/keys/trusted-encrypted.rst       | 20 ++++-----
 include/uapi/linux/keyctl.h                   |  4 +-
 net/dns_resolver/dns_key.c                    | 44 +++++++++++++++----
 net/rxrpc/key.c                               |  4 +-
 5 files changed, 50 insertions(+), 24 deletions(-)
Signature · 1 line
2.17.1