Message ID | 20200820151551.18235-1-cgzones@googlemail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | libselinux: use full argument specifiers for security_check_context in man page | expand |
On Thu, Aug 20, 2020 at 11:17 AM Christian Göttsche <cgzones@googlemail.com> wrote: > > The argument for security_check_context(_raw) is defined as `const char *`. > > Say so in the man page. > > Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
On Mon, Aug 24, 2020 at 9:38 AM Stephen Smalley <stephen.smalley.work@gmail.com> wrote: > > On Thu, Aug 20, 2020 at 11:17 AM Christian Göttsche > <cgzones@googlemail.com> wrote: > > > > The argument for security_check_context(_raw) is defined as `const char *`. > > > > Say so in the man page. > > > > Signed-off-by: Christian Göttsche <cgzones@googlemail.com> > > Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com> Applied.
diff --git a/libselinux/man/man3/security_check_context.3 b/libselinux/man/man3/security_check_context.3 index 2b9a2d4c..213ac282 100644 --- a/libselinux/man/man3/security_check_context.3 +++ b/libselinux/man/man3/security_check_context.3 @@ -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 ()
The argument for security_check_context(_raw) is defined as `const char *`. Say so in the man page. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> --- libselinux/man/man3/security_check_context.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)