All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libselinux: Use correct struct name in comments
@ 2026-08-31 13:35 Daniel Burgener
  2026-08-31 16:26 ` Stephen Smalley
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Burgener @ 2026-08-31 13:35 UTC (permalink / raw)
  To: selinux; +Cc: jwcart2, plautrba, omosnace, jason, stephen.smalley.work

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-31 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31 13:35 [PATCH] libselinux: Use correct struct name in comments Daniel Burgener
2026-08-31 16:26 ` Stephen Smalley
2026-08-31 20:14   ` Stephen Smalley

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.