* [PATCH] libselinux: use full argument specifiers for security_check_context in man page
@ 2020-08-20 15:15 Christian Göttsche
2020-08-24 13:38 ` Stephen Smalley
0 siblings, 1 reply; 3+ messages in thread
From: Christian Göttsche @ 2020-08-20 15:15 UTC (permalink / raw)
To: selinux; +Cc: Christian Göttsche
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(-)
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 ()
--
2.28.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] libselinux: use full argument specifiers for security_check_context in man page
2020-08-20 15:15 [PATCH] libselinux: use full argument specifiers for security_check_context in man page Christian Göttsche
@ 2020-08-24 13:38 ` Stephen Smalley
2020-08-26 18:24 ` Stephen Smalley
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Smalley @ 2020-08-24 13:38 UTC (permalink / raw)
To: Christian Göttsche; +Cc: SElinux list
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libselinux: use full argument specifiers for security_check_context in man page
2020-08-24 13:38 ` Stephen Smalley
@ 2020-08-26 18:24 ` Stephen Smalley
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Smalley @ 2020-08-26 18:24 UTC (permalink / raw)
To: Christian Göttsche; +Cc: SElinux list
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-26 18:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 15:15 [PATCH] libselinux: use full argument specifiers for security_check_context in man page Christian Göttsche
2020-08-24 13:38 ` Stephen Smalley
2020-08-26 18:24 ` Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.