Skip to content

Commit 08c097f

Browse files
mdionnetorvalds
authored andcommitted
cred: Remove tgcred pointer from struct cred
Commit 3a50597 ("KEYS: Make the session and process keyrings per-thread") removed the definition of the thread_group_cred structure, but left a now unused pointer in struct cred. Signed-off-by: Marc Dionne <marc.c.dionne@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 974b335 commit 08c097f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/cred.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ struct cred {
128128
struct key *process_keyring; /* keyring private to this process */
129129
struct key *thread_keyring; /* keyring private to this thread */
130130
struct key *request_key_auth; /* assumed request_key authority */
131-
struct thread_group_cred *tgcred; /* thread-group shared credentials */
132131
#endif
133132
#ifdef CONFIG_SECURITY
134133
void *security; /* subjective LSM security */

0 commit comments

Comments
 (0)