diff options
author | Guillem Jover <guillem@debian.org> | 2012-11-10 04:32:07 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-02-05 20:14:43 -0500 |
commit | 9acdd37989ce2bd3c239a7c14a9f7a7a9bb971e3 (patch) | |
tree | 82958167eedc8ef17dadfa8d33b61ab47724fddd /libselinux/man/man3/getfilecon.3 | |
parent | 4f289b50ac1aa32e228e06ee0d29e2e472c8a661 (diff) | |
download | android_external_selinux-9acdd37989ce2bd3c239a7c14a9f7a7a9bb971e3.tar.gz android_external_selinux-9acdd37989ce2bd3c239a7c14a9f7a7a9bb971e3.tar.bz2 android_external_selinux-9acdd37989ce2bd3c239a7c14a9f7a7a9bb971e3.zip |
libselinux: man: Add references and man page links to _raw function variants
Signed-off-by: Guillem Jover <guillem@debian.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libselinux/man/man3/getfilecon.3')
-rw-r--r-- | libselinux/man/man3/getfilecon.3 | 13 |
1 files changed, 13 insertions, 0 deletions
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. |