cifs.upcall: use pid value from kernel to determine KRB5CCNAME to use
authorJeff Layton <jlayton@redhat.com>
Fri, 10 Jul 2009 01:04:08 +0000 (21:04 -0400)
committerJeff Layton <jlayton@redhat.com>
Fri, 10 Jul 2009 01:04:08 +0000 (21:04 -0400)
commit8d1b061b517176e172151e6814083aa7a7051d56
treec8ee4dcd4e9159cf165ca308cd8d480bae8be317
parentf1fad2efe4daf95ad77db6251ad5d77fb9ef755c
cifs.upcall: use pid value from kernel to determine KRB5CCNAME to use

If the kernel sends the upcall a pid of the requesting process, we can
open that process' /proc/<pid>/environ file and scrape the KRB5CCNAME
value out of it.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
client/cifs.upcall.c