diff options
| author | 2008-11-14 10:39:19 +1100 | |
|---|---|---|
| committer | 2008-11-14 10:39:19 +1100 | |
| commit | c69e8d9c01db2adc503464993c358901c9af9de4 (patch) | |
| tree | bed94aaa9aeb7a7834d1c880f72b62a11a752c78 /include/linux/sched.h | |
| parent | CRED: Wrap current->cred and a few other accessors (diff) | |
| download | wireguard-linux-c69e8d9c01db2adc503464993c358901c9af9de4.tar.xz wireguard-linux-c69e8d9c01db2adc503464993c358901c9af9de4.zip | |
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>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions
