From: Daniel Burgener <dburgener@linux.microsoft.com>
To: selinux@vger.kernel.org
Cc: jwcart2@gmail.com, plautrba@redhat.com, omosnace@redhat.com,
jason@perfinion.com, stephen.smalley.work@gmail.com
Subject: [PATCH] libselinux: Use correct struct name in comments
Date: Mon, 31 Aug 2026 09:35:09 -0400 [thread overview]
Message-ID: <20260831133509.3287-1-dburgener@linux.microsoft.com> (raw)
The struct selabel_opt does not exist. The correct struct name is
selinux_opt.
Signed-off-by: Daniel Burgener <dburgener@linux.microsoft.com>
---
libselinux/include/selinux/avc.h | 2 +-
libselinux/include/selinux/label.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libselinux/include/selinux/avc.h b/libselinux/include/selinux/avc.h
index 6d728ce0..e38eb4bd 100644
--- a/libselinux/include/selinux/avc.h
+++ b/libselinux/include/selinux/avc.h
@@ -208,7 +208,7 @@ extern int avc_init(const char *msgprefix,
/**
* avc_open - Initialize the AVC.
- * @opts: array of selabel_opt structures specifying AVC options or NULL.
+ * @opts: array of selinux_opt structures specifying AVC options or NULL.
* @nopts: number of elements in opts array or zero for no options.
*
* This function is identical to avc_init(), except the message prefix
diff --git a/libselinux/include/selinux/label.h b/libselinux/include/selinux/label.h
index 10e3a718..994b3c9c 100644
--- a/libselinux/include/selinux/label.h
+++ b/libselinux/include/selinux/label.h
@@ -71,7 +71,7 @@ struct selabel_handle;
/**
* selabel_open - Create a labeling handle.
* @backend: one of the constants specifying a supported labeling backend.
- * @opts: array of selabel_opt structures specifying label options or NULL.
+ * @opts: array of selinux_opt structures specifying label options or NULL.
* @nopts: number of elements in opts array or zero for no options.
*
* Open a labeling backend for use. The available backend identifiers are
--
2.34.1
next reply other threads:[~2026-08-31 13:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 13:35 Daniel Burgener [this message]
2026-08-31 16:26 ` [PATCH] libselinux: Use correct struct name in comments Stephen Smalley
2026-08-31 20:14 ` Stephen Smalley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260831133509.3287-1-dburgener@linux.microsoft.com \
--to=dburgener@linux.microsoft.com \
--cc=jason@perfinion.com \
--cc=jwcart2@gmail.com \
--cc=omosnace@redhat.com \
--cc=plautrba@redhat.com \
--cc=selinux@vger.kernel.org \
--cc=stephen.smalley.work@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.