VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: David Howells <dhowells@redhat.com> 2020-09-27 11:07:21 +0100 committer: David Howells <dhowells@redhat.com> 2020-11-23 18:09:29 +0000 commit: d2ae4e918218f543214fbd906db68a6c580efbbb parent: 12da59fcab5a05d01773e7cb413b8b8f3bb4e334
Commit Summary:
rxrpc: Don't leak the service-side session key to userspace
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/include/keys/rxrpc-type.h b/include/keys/rxrpc-type.h
index 8e4ced9b4ecf..333c0f49a9cd 100644
--- a/include/keys/rxrpc-type.h
+++ b/include/keys/rxrpc-type.h
@@ -36,6 +36,7 @@ struct rxkad_key {
  */
 struct rxrpc_key_token {
 	u16	security_index;		/* RxRPC header security index */
+	bool	no_leak_key;		/* Don't copy the key to userspace */
 	struct rxrpc_key_token *next;	/* the next token in the list */
 	union {
 		struct rxkad_key *kad;