aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/man/man3
diff options
context:
space:
mode:
authorDavid King <dking@redhat.com>2016-06-20 17:41:53 +0200
committerStephen Smalley <sds@tycho.nsa.gov>2016-06-23 12:58:03 -0400
commit984fd069e2b759fa44ff4c5bae0a2ddff3806b9c (patch)
tree9d31308ec6e3afdf0469128f387604b75324e408 /libselinux/man/man3
parent7dd0afc9a1d5ca8f364f999b9ed0975672153557 (diff)
downloadandroid_external_selinux-984fd069e2b759fa44ff4c5bae0a2ddff3806b9c.tar.gz
android_external_selinux-984fd069e2b759fa44ff4c5bae0a2ddff3806b9c.tar.bz2
android_external_selinux-984fd069e2b759fa44ff4c5bae0a2ddff3806b9c.zip
libselinux: man: Explain how to free policy type from selinux_getpolicytype()
Additionally, fix a typo. Signed-off-by: David King <dking@redhat.com>
Diffstat (limited to 'libselinux/man/man3')
-rw-r--r--libselinux/man/man3/selinux_getpolicytype.35
1 files changed, 4 insertions, 1 deletions
diff --git a/libselinux/man/man3/selinux_getpolicytype.3 b/libselinux/man/man3/selinux_getpolicytype.3
index c947e2cd..b219d421 100644
--- a/libselinux/man/man3/selinux_getpolicytype.3
+++ b/libselinux/man/man3/selinux_getpolicytype.3
@@ -13,7 +13,10 @@ Reads the contents of the
.I /etc/selinux/config
file to determine the SELinux policy used on the system, and sets
.I \%policytype
-accordinly.
+accordingly. Free
+.I \%policytype
+with
+.BR free (3).
.
.SH "RETURN VALUE"
On success, zero is returned.