summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2020-06-09 13:35:53 -0400
committerPaul Moore <paul@paul-moore.com>2020-06-16 11:22:29 -0400
commit047a591721631e5da13de7038680ba4000f4365b (patch)
treeb2118e8489f8119766e72a165d20b85fd7e0edca /include
parent3a1d1c977065f204b96293cccfe7d3e5aa0d7ace (diff)
downloadlibseccomp-047a591721631e5da13de7038680ba4000f4365b.tar.gz
system: add function comment headers for the notify functions
This really should have been done when the notification code was merged. Looking at the code, the seccomp.h.in comments can apply here so we're just going to do a cut-n-paste job. We also fixup some formatting/consistency issues in the seccomp.h.in comments. Acked-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
-rw-r--r--include/seccomp.h.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in
index ce48a1e..17c90b7 100644
--- a/include/seccomp.h.in
+++ b/include/seccomp.h.in
@@ -723,7 +723,7 @@ int seccomp_rule_add_exact_array(scmp_filter_ctx ctx,
const struct scmp_arg_cmp *arg_array);
/**
- * Allocate a pair of notification request/response structures.
+ * Allocate a pair of notification request/response structures
* @param req the request location
* @param resp the response location
*
@@ -744,7 +744,7 @@ void seccomp_notify_free(struct seccomp_notif *req,
struct seccomp_notif_resp *resp);
/**
- * Receive a notification from a seccomp notification fd.
+ * Receive a notification from a seccomp notification fd
* @param fd the notification fd
* @param req the request buffer to save into
*
@@ -756,7 +756,7 @@ void seccomp_notify_free(struct seccomp_notif *req,
int seccomp_notify_receive(int fd, struct seccomp_notif *req);
/**
- * Send a notification response to a seccomp notification fd.
+ * Send a notification response to a seccomp notification fd
* @param fd the notification fd
* @param resp the response buffer to use
*
@@ -768,7 +768,7 @@ int seccomp_notify_receive(int fd, struct seccomp_notif *req);
int seccomp_notify_respond(int fd, struct seccomp_notif_resp *resp);
/**
- * Check if a notification id is still valid.
+ * Check if a notification id is still valid
* @param fd the notification fd
* @param id the id to test
*
@@ -779,7 +779,7 @@ int seccomp_notify_respond(int fd, struct seccomp_notif_resp *resp);
int seccomp_notify_id_valid(int fd, uint64_t id);
/**
- * Return the notification fd from a filter that has already been loaded.
+ * Return the notification fd from a filter that has already been loaded
* @param ctx the filter context
*
* This returns the listener fd that was generated when the seccomp policy was