summaryrefslogtreecommitdiff
path: root/keyutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyutils.c')
-rw-r--r--keyutils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyutils.c b/keyutils.c
index 9877fdb..48b779e 100644
--- a/keyutils.c
+++ b/keyutils.c
@@ -385,6 +385,11 @@ 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