From: Petr Lautrbach <plautrba@redhat.com>
To: "Christian Göttsche" <cgzones@googlemail.com>, selinux@vger.kernel.org
Subject: Re: [PATCH] libselinux: update man page of setfilecon(3) family about context parameter
Date: Wed, 18 May 2022 12:32:40 +0200 [thread overview]
Message-ID: <87o7zv6shj.fsf@redhat.com> (raw)
In-Reply-To: <871qws8isv.fsf@redhat.com>
Petr Lautrbach <plautrba@redhat.com> writes:
> Christian Göttsche <cgzones@googlemail.com> writes:
>
>> The family of setfilecon(3) functions take the context as a read-only
>> `const char *` parameter.
>>
>> Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
>
> Acked-by: Petr Lautrbach <plautrba@redhat.com>
>
> Thanks.
Merged.
>
>> ---
>> libselinux/man/man3/setfilecon.3 | 12 ++++++------
>> 1 file changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/libselinux/man/man3/setfilecon.3 b/libselinux/man/man3/setfilecon.3
>> index 0e9a383f..6bd3e415 100644
>> --- a/libselinux/man/man3/setfilecon.3
>> +++ b/libselinux/man/man3/setfilecon.3
>> @@ -5,17 +5,17 @@ setfilecon, fsetfilecon, lsetfilecon \- set SELinux security context of a file
>> .SH "SYNOPSIS"
>> .B #include <selinux/selinux.h>
>> .sp
>> -.BI "int setfilecon(const char *" path ", char *" con );
>> +.BI "int setfilecon(const char *" path ", const char *" con );
>> .sp
>> -.BI "int setfilecon_raw(const char *" path ", char *" con );
>> +.BI "int setfilecon_raw(const char *" path ", const char *" con );
>> .sp
>> -.BI "int lsetfilecon(const char *" path ", char *" con );
>> +.BI "int lsetfilecon(const char *" path ", const char *" con );
>> .sp
>> -.BI "int lsetfilecon_raw(const char *" path ", char *" con );
>> +.BI "int lsetfilecon_raw(const char *" path ", const char *" con );
>> .sp
>> -.BI "int fsetfilecon(int "fd ", char *" con );
>> +.BI "int fsetfilecon(int "fd ", const char *" con );
>> .sp
>> -.BI "int fsetfilecon_raw(int "fd ", char *" con );
>> +.BI "int fsetfilecon_raw(int "fd ", const char *" con );
>> .
>> .SH "DESCRIPTION"
>> .BR setfilecon ()
>> --
>> 2.36.0
prev parent reply other threads:[~2022-05-18 10:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-05 17:43 [PATCH] libselinux: update man page of setfilecon(3) family about context parameter Christian Göttsche
2022-05-17 12:06 ` Petr Lautrbach
2022-05-18 10:32 ` Petr Lautrbach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7zv6shj.fsf@redhat.com \
--to=plautrba@redhat.com \
--cc=cgzones@googlemail.com \
--cc=selinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox