Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cred: Remove tgcred pointer from struct cred

Commit 3a50597de863 ("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>

authored by

Marc Dionne and committed by
Linus Torvalds
08c097fc 974b3358

-1
-1
include/linux/cred.h
··· 128 128 struct key *process_keyring; /* keyring private to this process */ 129 129 struct key *thread_keyring; /* keyring private to this thread */ 130 130 struct key *request_key_auth; /* assumed request_key authority */ 131 - struct thread_group_cred *tgcred; /* thread-group shared credentials */ 132 131 #endif 133 132 #ifdef CONFIG_SECURITY 134 133 void *security; /* subjective LSM security */