diff options
author | David Howells <dhowells@redhat.com> | 2020-02-12 14:58:35 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-05-19 16:08:23 +0200 |
commit | 0858caa419e6cf9d31e734d09d70b34f64443ef6 (patch) | |
tree | 5cf44cf6e215c6a22a47a3da02802b18cda198ad /lib/zlib_deflate | |
parent | Linux 5.7-rc6 (diff) | |
download | linux-0858caa419e6cf9d31e734d09d70b34f64443ef6.tar.xz linux-0858caa419e6cf9d31e734d09d70b34f64443ef6.zip |
uapi: General notification queue definitions
Add UAPI definitions for the general notification queue, including the
following pieces:
(*) struct watch_notification.
This is the metadata header for notification messages. It includes a
type and subtype that indicate the source of the message
(eg. WATCH_TYPE_MOUNT_NOTIFY) and the kind of the message
(eg. NOTIFY_MOUNT_NEW_MOUNT).
The header also contains an information field that conveys the
following information:
- WATCH_INFO_LENGTH. The size of the entry (entries are variable
length).
- WATCH_INFO_ID. The watch ID specified when the watchpoint was
set.
- WATCH_INFO_TYPE_INFO. (Sub)type-specific information.
- WATCH_INFO_FLAG_*. Flag bits overlain on the type-specific
information. For use by the type.
All the information in the header can be used in filtering messages at
the point of writing into the buffer.
(*) struct watch_notification_removal
This is an extended watch-removal notification record that includes an
'id' field that can indicate the identifier of the object being
removed if available (for instance, a keyring serial number).
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'lib/zlib_deflate')
0 files changed, 0 insertions, 0 deletions