From 9acdd37989ce2bd3c239a7c14a9f7a7a9bb971e3 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 10 Nov 2012 04:32:07 +0100 Subject: libselinux: man: Add references and man page links to _raw function variants Signed-off-by: Guillem Jover Signed-off-by: Eric Paris Acked-by: Dan Walsh --- libselinux/man/man3/getfilecon.3 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'libselinux/man/man3/getfilecon.3') diff --git a/libselinux/man/man3/getfilecon.3 b/libselinux/man/man3/getfilecon.3 index 8605a0c6..ea79b31f 100644 --- a/libselinux/man/man3/getfilecon.3 +++ b/libselinux/man/man3/getfilecon.3 @@ -7,9 +7,15 @@ getfilecon, fgetfilecon, lgetfilecon \- get SELinux security context of a file .sp .BI "int getfilecon(const char *" path ", security_context_t *" con ); .sp +.BI "int getfilecon_raw(const char *" path ", security_context_t *" con ); +.sp .BI "int lgetfilecon(const char *" path ", security_context_t *" con ); .sp +.BI "int lgetfilecon_raw(const char *" path ", security_context_t *" con ); +.sp .BI "int fgetfilecon(int "fd ", security_context_t *" con ); +.sp +.BI "int fgetfilecon_raw(int "fd ", security_context_t *" con ); . .SH "DESCRIPTION" .BR getfilecon () @@ -29,6 +35,13 @@ only the open file pointed to by filedes (as returned by .BR open (2)) is interrogated in place of path. +.BR getfilecon_raw (), +.BR lgetfilecon_raw () +and +.BR fgetfilecon_raw () +behave identically to their non-raw counterparts but do not perform context +translation. + The returned context should be freed with .BR freecon (3) if non-NULL. -- cgit v1.2.3