android_kernel_xiaomi_sm8350/security/smack
David Howells c69e8d9c01 CRED: Use RCU to access another task's creds and to release a task's own creds
Use RCU to access another task's creds and to release a task's own creds.
This means that it will be possible for the credentials of a task to be
replaced without another task (a) requiring a full lock to read them, and (b)
seeing deallocated memory.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: James Morris <jmorris@namei.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2008-11-14 10:39:19 +11:00
..
Kconfig
Makefile
smack_access.c CRED: Wrap current->cred and a few other accessors 2008-11-14 10:39:18 +11:00
smack_lsm.c CRED: Use RCU to access another task's creds and to release a task's own creds 2008-11-14 10:39:19 +11:00
smack.h smack: limit privilege by label 2008-08-05 10:55:53 +10:00
smackfs.c CRED: Wrap current->cred and a few other accessors 2008-11-14 10:39:18 +11:00