diff options
author | David Howells <dhowells@redhat.com> | 2010-02-26 20:28:22 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2010-02-26 20:28:22 +0000 |
commit | 79f87dc5e988dc2744bf40c5b8c6557f0cf58fc8 (patch) | |
tree | 5bcc4126724ff722434a61a149db85d6e2aa0662 /keyutils.c | |
parent | 3a8cc353e0cc88a84f5425bfef1be82933f3646d (diff) | |
download | keyutils-79f87dc5e988dc2744bf40c5b8c6557f0cf58fc8.tar.gz |
Add keyctl command to give the parent process a new keyring
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'keyutils.c')
-rw-r--r-- | keyutils.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -170,6 +170,11 @@ long keyctl_get_security(key_serial_t id, char *buffer, size_t buflen) return keyctl(KEYCTL_GET_SECURITY, id, buffer, buflen); } +long keyctl_session_to_parent(void) +{ + return keyctl(KEYCTL_SESSION_TO_PARENT); +} + /*****************************************************************************/ /* * fetch key description into an allocated buffer |