libselinux: update man page of setfilecon(3) family about context parameter
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>
This commit is contained in:
parent
9e096e6ef0
commit
822ad96c3f
1 changed files with 6 additions and 6 deletions
|
@ -5,17 +5,17 @@ setfilecon, fsetfilecon, lsetfilecon \- set SELinux security context of a file
|
||||||
.SH "SYNOPSIS"
|
.SH "SYNOPSIS"
|
||||||
.B #include <selinux/selinux.h>
|
.B #include <selinux/selinux.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int setfilecon(const char *" path ", char *" con );
|
.BI "int setfilecon(const char *" path ", const char *" con );
|
||||||
.sp
|
.sp
|
||||||
.BI "int setfilecon_raw(const char *" path ", char *" con );
|
.BI "int setfilecon_raw(const char *" path ", const char *" con );
|
||||||
.sp
|
.sp
|
||||||
.BI "int lsetfilecon(const char *" path ", char *" con );
|
.BI "int lsetfilecon(const char *" path ", const char *" con );
|
||||||
.sp
|
.sp
|
||||||
.BI "int lsetfilecon_raw(const char *" path ", char *" con );
|
.BI "int lsetfilecon_raw(const char *" path ", const char *" con );
|
||||||
.sp
|
.sp
|
||||||
.BI "int fsetfilecon(int "fd ", char *" con );
|
.BI "int fsetfilecon(int "fd ", const char *" con );
|
||||||
.sp
|
.sp
|
||||||
.BI "int fsetfilecon_raw(int "fd ", char *" con );
|
.BI "int fsetfilecon_raw(int "fd ", const char *" con );
|
||||||
.
|
.
|
||||||
.SH "DESCRIPTION"
|
.SH "DESCRIPTION"
|
||||||
.BR setfilecon ()
|
.BR setfilecon ()
|
||||||
|
|
Loading…
Reference in a new issue