OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_68-19-gcda45cc
Gerrit Code Review
gerrit@openafs.org
Sat, 19 Dec 2009 08:36:51 -0800 (PST)
The following commit has been merged in the master branch:
commit cda45cc7a11495c1acc5a5ebbac1474f3eb5a6bd
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Sat Dec 19 15:40:49 2009 +0000
Linux: Don't panic when keys aren't found
This fixes two potential problems in our session keyring lookup code,
which can lead to panics in situations where we're using the new struct
cred based code.
The first is that if there is no session kerying installed for the
current task, we'll attempt to do a lookup on a NULL kerying and oops.
The second is that if the keyring_search returns EPERM, then we can end
up unmasking that error code, and return NULL, rather than an error.
Change-Id: If0e2804408ec17b00f352980cee6a8e56704d93f
Reviewed-on: http://gerrit.openafs.org/1004
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_groups.c | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository