Skip to contentSkip to conversation

libselinux: Use correct struct name in comments

PATCH In review Daniel Burgener 2 participants 3 messages Aug 31 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libselinux: Use correct struct name in comments

The struct selabel_opt does not exist. The correct struct name is selinux_opt.

---
 libselinux/include/selinux/avc.h   | 2 +-
 libselinux/include/selinux/label.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
libselinux/include/selinux/avc.h +1 -1
index 6d728ce0..e38eb4bd 100644
@@ -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
libselinux/include/selinux/label.h +1 -1
index 10e3a718..994b3c9c 100644
@@ -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
Signature · 1 line
2.34.1