[PATCH] Keys: Pass session keyring to call_usermodehelper()
authorDavid Howells <dhowells@redhat.com>
Fri, 24 Jun 2005 05:00:51 +0000 (22:00 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 24 Jun 2005 07:05:18 +0000 (00:05 -0700)
commit7888e7ff4ee579442128d7d12a9c9dbf2cf7de6a
treeabe428ecb966e1dae07fce17f38e3e0c0ab4f134
parent76d8aeabfeb1c42641a81c44280177b9a08670d8
[PATCH] Keys: Pass session keyring to call_usermodehelper()

The attached patch makes it possible to pass a session keyring through to the
process spawned by call_usermodehelper().  This allows patch 3/3 to pass an
authorisation key through to /sbin/request-key, thus permitting better access
controls when doing just-in-time key creation.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/key.h
include/linux/kmod.h
kernel/kmod.c
security/keys/request_key.c