libselinux: use full argument specifiers for security_check_context in man page
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.
Signed-off-by Christian Göttsche <[email protected]>
--- libselinux/man/man3/security_check_context.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
libselinux/man/man3/security_check_context.3 +2 -2
@@ -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
Quoted 6 lines · Christian Göttsche
The argument for
security_check_context(_raw)is defined asconst char *.Say so in the man page.
Signed-off-by Christian Göttsche <[email protected]>
Acked-by Stephen Smalley <[email protected]>
Quoted 11 lines · Stephen Smalley
Quoted 6 lines · Christian Göttsche
The argument for
security_check_context(_raw)is defined asconst char *.Say so in the man page.
Signed-off-by Christian Göttsche <[email protected]>Acked-by Stephen Smalley <[email protected]>
Applied.