cifs.upcall: use pid value from kernel to determine KRB5CCNAME to use
commit9ecd9e7dbd6f5f6a07614084207b4891a93ca79b
authorJeff Layton <jlayton@redhat.com>
Wed, 14 Oct 2009 15:04:50 +0000 (14 11:04 -0400)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Oct 2009 13:04:54 +0000 (16 15:04 +0200)
tree8f93c36f9d710f808ef1d4dd02dbe36d92937f55
parent96b600d429561f3ea155ffcb51a87c0d74151f52
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>
source/client/cifs.upcall.c