Message ID | 1466437314-9813-1-git-send-email-plautrba@redhat.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <selinux-bounces@tycho.nsa.gov> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CC4986075E for <patchwork-selinux@patchwork.kernel.org>; Mon, 20 Jun 2016 15:47:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB5E923B23 for <patchwork-selinux@patchwork.kernel.org>; Mon, 20 Jun 2016 15:47:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B00702793B; Mon, 20 Jun 2016 15:47:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 048A726992 for <patchwork-selinux@patchwork.kernel.org>; Mon, 20 Jun 2016 15:47:52 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.26,499,1459814400"; d="scan'208";a="17042404" IronPort-PHdr: =?us-ascii?q?9a23=3AEja6vBPpUZ7Bi2Ogb+Ml6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0KPv8rarrMEGX3/hxlliBBdydsKIVzbuL+P+xEUU7or+/81k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZv?= =?us-ascii?q?IaytQ8iJ35Xxhr35pMybSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf?= =?us-ascii?q?9d32JiKAHbtR/94sCt4MwrqHwI6LoJvvRNWqTifqk+UacQTHF/azh0t/DxsVH/?= =?us-ascii?q?aSfHpj5FCiRF2iZPVhPI6BD8Q4fZrjrxtu073jKTe8LxU+MaQzOnup9mVAWgrC?= =?us-ascii?q?4aKyQz+WrXwphoiKtGvAirrjRlzoLUaZ3TP/17KPCONegGTHZMC54CHxdKBZmx?= =?us-ascii?q?Os5WVrIM?= X-IPAS-Result: =?us-ascii?q?A2EEBQCxD2hX/wHyM5BdHQGDIIFTtjeGIyKHNUwBAQEBAQE?= =?us-ascii?q?CAmIngjGCIgI3FCALAwMJAhcIIQgIAwEtDAkfCwUYBIgPwGQBAQEjhieIXQIRA?= =?us-ascii?q?WiFDwWYdo4qAolahUZIjy9UgjuBN2yJBA8XgR4BAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 20 Jun 2016 15:47:44 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u5KFkIte032656; Mon, 20 Jun 2016 11:47:40 -0400 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id u5KFgiA5092998 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Mon, 20 Jun 2016 11:42:44 -0400 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u5KFghE9032238 for <selinux@tycho.nsa.gov>; Mon, 20 Jun 2016 11:42:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1C1AQAjDmhXhxy3hNFdHoRzp3SCAgGMP4IlhAkShgWBNUwBAQEBAQETAQEBCgsJCSGFejBuM4gwwQKGJ4hdfIUPBZh2jioCjyBIjy+CCwELViKBNzoyiQSBRAEBAQ X-IPAS-Result: A1C1AQAjDmhXhxy3hNFdHoRzp3SCAgGMP4IlhAkShgWBNUwBAQEBAQETAQEBCgsJCSGFejBuM4gwwQKGJ4hdfIUPBZh2jioCjyBIjy+CCwELViKBNzoyiQSBRAEBAQ X-IronPort-AV: E=Sophos;i="5.26,499,1459828800"; d="scan'208";a="5527442" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 20 Jun 2016 11:42:45 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AtPwPnxxWc9T69RLXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?0ewVIJqq85mqBkHD//Il1AaPBtWKraMZwLWH+4nbGkU+or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkIt?= =?us-ascii?q?f6KuSt+U3pn8iLH60qaQSjsLrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYe?= =?us-ascii?q?VcyDAgD1uSmxHh+pX4p8Y7oGx48sgs/M9YUKj8Y79wDfkBVGxnYCgJ45jwuB3C?= =?us-ascii?q?SxafzmcNWWUR1BxTCk7K6w+pcI32t37Cu/ZnkA2TINHsR7k/WXz296NiVQPygi?= =?us-ascii?q?4vLTM18GjLzMd3ifQI81qauxVjztuMM8muP/1kc/aYJItCSA=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0HYAQCWDmhXhxy3hNFdHoRzp3SCAgGMP?= =?us-ascii?q?4IlhAkShgWBNUwBAQEBAQECAg8BAQEKCwkJIS+CMYMaMG4ziDDBBIYniF18hQ8?= =?us-ascii?q?FmHaOKgKPIEiPL4IXViKBNzoyiQSBRAEBAQ?= X-IPAS-Result: =?us-ascii?q?A0HYAQCWDmhXhxy3hNFdHoRzp3SCAgGMP4IlhAkShgWBNUw?= =?us-ascii?q?BAQEBAQECAg8BAQEKCwkJIS+CMYMaMG4ziDDBBIYniF18hQ8FmHaOKgKPIEiPL?= =?us-ascii?q?4IXViKBNzoyiQSBRAEBAQ?= X-IronPort-AV: E=Sophos;i="5.26,499,1459814400"; d="scan'208";a="17042201" Received: from mx1.redhat.com ([209.132.183.28]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2016 15:42:16 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5C86EB1CA0 for <selinux@tycho.nsa.gov>; Mon, 20 Jun 2016 15:42:15 +0000 (UTC) Received: from hulk.com ([10.40.3.79]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u5KFgEUB022102; Mon, 20 Jun 2016 11:42:14 -0400 From: Petr Lautrbach <plautrba@redhat.com> To: selinux@tycho.nsa.gov Subject: [PATCH 1/2] libselinux: man: Explain how to free policy type from selinux_getpolicytype() Date: Mon, 20 Jun 2016 17:41:53 +0200 Message-Id: <1466437314-9813-1-git-send-email-plautrba@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 20 Jun 2016 15:42:15 +0000 (UTC) X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" <selinux.tycho.nsa.gov> List-Post: <mailto:selinux@tycho.nsa.gov> List-Help: <mailto:selinux-request@tycho.nsa.gov?subject=help> Cc: David King <dking@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/libselinux/man/man3/selinux_getpolicytype.3 b/libselinux/man/man3/selinux_getpolicytype.3 index c947e2c..b219d42 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.