summaryrefslogtreecommitdiff
path: root/keyutils.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-07-07 16:56:53 +0100
committerDavid Howells <dhowells@redhat.com>2020-07-07 16:56:53 +0100
commitf3095f4901820d31cc5600ee46949bcdb246b3fa (patch)
tree43f12abc498a8e06f137a328662ceca15e781ec9 /keyutils.c
parentd00ed3599d5fccf81eac32eada0c1b33e67ba973 (diff)
downloadkeyutils-f3095f4901820d31cc5600ee46949bcdb246b3fa.tar.gz
Revert "Add a notification facility for watching for key changes"
This reverts commit 1aafbdcf1d60c5c9eb34fe404f9a9195c8ea415e which was from the wrong branch and expects /dev/watch_queue to be available. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'keyutils.c')
-rw-r--r--keyutils.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/keyutils.c b/keyutils.c
index 48b779e..9877fdb 100644
--- a/keyutils.c
+++ b/keyutils.c
@@ -385,11 +385,6 @@ long keyctl_capabilities(unsigned char *buffer, size_t buflen)
return sizeof(unsigned char);
}
-long keyctl_watch_key(key_serial_t id, int watch_queue_fd, int watch_id)
-{
- return keyctl(KEYCTL_WATCH_KEY, id, watch_queue_fd, watch_id);
-}
-
/*****************************************************************************/
/*
* fetch key description into an allocated buffer