diff options
author | David Howells <dhowells@redhat.com> | 2019-10-31 13:22:23 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-07-07 16:58:07 +0100 |
commit | 496a09a43713cfe09877fcba82db72ce5902f781 (patch) | |
tree | b4caf269872728a5ca8cdc946ce7aaf845867d7d /keyctl.c | |
parent | 1570dce7a114e8b907e7b80c56bb798a888675c6 (diff) | |
download | keyutils-496a09a43713cfe09877fcba82db72ce5902f781.tar.gz |
Add the ability to supply filters to watches set with keyctl
Add the ability to supply filters to watches set with "keyctl watch" and
"keyctl watch_session".
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'keyctl.c')
-rw-r--r-- | keyctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -139,10 +139,10 @@ static const struct command commands[] = { { act_keyctl_timeout, "timeout", "<key> <timeout>" }, { act_keyctl_unlink, "unlink", "<key> [<keyring>]" }, { act_keyctl_update, "update", "[-x] <key> <data>" }, - { act_keyctl_watch, "watch", "<key>" }, + { act_keyctl_watch, "watch", "[-f<filters>] <key>" }, { act_keyctl_watch_add, "watch_add", "<fd> <key>" }, { act_keyctl_watch_rm, "watch_rm", "<fd> <key>" }, - { act_keyctl_watch_session, "watch_session", "[-n <name>] <notifylog> <gclog> <fd> <prog> [<arg1> <arg2> ...]" }, + { act_keyctl_watch_session, "watch_session", "[-f<filters>] [-n <name>] <notifylog> <gclog> <fd> <prog> [<arg1> <arg2> ...]" }, { act_keyctl_watch_sync, "watch_sync", "<fd>" }, { act_keyctl_test, "--test", "..." }, { NULL, NULL, NULL } |