libselinux: Use correct struct name in comments
PATCH 1/1 libselinux: Use correct struct name in comments
The struct selabel_opt does not exist. The correct struct name is selinux_opt.
Signed-off-by Daniel Burgener <[email protected]>
--- 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
@@ -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
@@ -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
Quoted 5 lines · Daniel Burgener
The struct
selabel_optdoes not exist. The correct struct name isselinux_opt.Signed-off-by Daniel Burgener <[email protected]>
Acked-by Stephen Smalley <[email protected]>
Stephen Smalley
maintainerQuoted 10 lines · Stephen Smalley
Quoted 5 lines · Daniel Burgener
The struct
selabel_optdoes not exist. The correct struct name isselinux_opt.Signed-off-by Daniel Burgener <[email protected]>Acked-by Stephen Smalley <[email protected]>
Thanks, merged.