Skip to contentSkip to conversation

libselinux: use full argument specifiers for security_check_context in man page

PATCH Applied Christian Göttsche 2 participants 3 messages Aug 20, 2020 – Aug 26, 2020 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libselinux: use full argument specifiers for security_check_context in man page

The argument for security_check_context(_raw) is defined as const char *.

Say so in the man page.

---
 libselinux/man/man3/security_check_context.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
libselinux/man/man3/security_check_context.3 +2 -2
index 2b9a2d4c..213ac282 100644
@@ -5,9 +5,9 @@ security_check_context \- check the validity of a SELinux context
 .SH "SYNOPSIS"
 .B #include <selinux/selinux.h>
 .sp
-.BI "int security_check_context(char *" con );
+.BI "int security_check_context(const char *" con );
 .sp
-.BI "int security_check_context_raw(char *" con );
+.BI "int security_check_context_raw(const char *" con );
 .
 .SH "DESCRIPTION"
 .BR security_check_context ()
Signature · 1 line
2.28.0