diff options
author | David Howells <dhowells@redhat.com> | 2005-06-24 01:00:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:05:18 -0400 |
commit | 7888e7ff4ee579442128d7d12a9c9dbf2cf7de6a (patch) | |
tree | abe428ecb966e1dae07fce17f38e3e0c0ab4f134 /security/keys | |
parent | 76d8aeabfeb1c42641a81c44280177b9a08670d8 (diff) |
[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>
Diffstat (limited to 'security/keys')
-rw-r--r-- | security/keys/request_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/request_key.c b/security/keys/request_key.c index 1f6c0940297f..1919540f047d 100644 --- a/security/keys/request_key.c +++ b/security/keys/request_key.c | |||
@@ -88,7 +88,7 @@ static int call_request_key(struct key *key, | |||
88 | argv[i] = NULL; | 88 | argv[i] = NULL; |
89 | 89 | ||
90 | /* do it */ | 90 | /* do it */ |
91 | return call_usermodehelper(argv[0], argv, envp, 1); | 91 | return call_usermodehelper_keys(argv[0], argv, envp, NULL, 1); |
92 | 92 | ||
93 | } /* end call_request_key() */ | 93 | } /* end call_request_key() */ |
94 | 94 | ||