android_kernel_xiaomi_sm8350/security
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
..
keys 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
selinux 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 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
capability.c CRED: Detach the credentials from task_struct 2008-11-14 10:39:17 +11:00
commoncap.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
device_cgroup.c devcgroup: remove spin_lock() 2008-10-20 08:52:38 -07:00
inode.c integrity: special fs magic 2008-10-13 09:47:43 +11:00
Kconfig securityfs: do not depend on CONFIG_SECURITY 2008-08-28 10:47:42 +10:00
Makefile securityfs: do not depend on CONFIG_SECURITY 2008-08-28 10:47:42 +10:00
root_plug.c security: Fix setting of PF_SUPERPRIV by __capable() 2008-08-14 22:59:43 +10:00
security.c CRED: Detach the credentials from task_struct 2008-11-14 10:39:17 +11:00