]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2a27ef1e9162e59e8b71e2412ccacb63b6cf0242
treeabe428ecb966e1dae07fce17f38e3e0c0ab4f134
parent33a6fd9879730ec34e00964113ffef047299b31d
[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