From patchwork Tue May 10 07:39:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Lautrbach X-Patchwork-Id: 9054841 Return-Path: X-Original-To: patchwork-selinux@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 83C019F1D3 for ; Tue, 10 May 2016 07:40:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E53F3200F3 for ; Tue, 10 May 2016 07:40:17 +0000 (UTC) Received: from emsm-gh1-uea10.nsa.gov (emsm-gh1-uea10.nsa.gov [8.44.101.8]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0B090200F2 for ; Tue, 10 May 2016 07:40:16 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.24,604,1454976000"; d="scan'208";a="13508332" IronPort-PHdr: =?us-ascii?q?9a23=3Amm+zSBB75+YWFCIMlM+OUyQJP3N1i/DPJgcQr6Af?= =?us-ascii?q?oPdwSP7+r8bcNUDSrc9gkEXOFd2CrakU2qyP6Ou5AzFIyK3CmU5BWaQEbwUCh8?= =?us-ascii?q?QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4?= =?us-ascii?q?Ov7yUtaLyZ/nhqbroNaKOVgArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff?= =?us-ascii?q?9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIZ9S6GyQ4AUBfwdVWxnYCgJ45jwuB3C?= =?us-ascii?q?SxafzmcNWWUR1BxTCk7K6w+pcI32t37Cu/ZnkA2TINHsR7k/WXz296NiVQPygi?= =?us-ascii?q?4vLTM18GjLzMd3ifQI81qauxVjztuMM8muP/1kc/aYJIsX?= X-IPAS-Result: =?us-ascii?q?A2FUBQADkDFX/wHyM5BdgziBUrsbIocvTAEBAQEBAQICYie?= =?us-ascii?q?CLYIcAjcUIA4DCQIXKQgIAwEtDAkfCwUYBIgKujcehiCIWwIRAWiFDQWYJ44dA?= =?us-ascii?q?olUhT8Cjz5ig21sh0wJF4EeAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2016 07:40:14 +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 u4A7dwrc019425; Tue, 10 May 2016 03:40:03 -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 u4A7dvL7083772 for ; Tue, 10 May 2016 03:39:57 -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 u4A7dvum019423 for ; Tue, 10 May 2016 03:39:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AgAQBojzFXjxy3hNFdhQqmXIICAY40hBOGEIE2TAEBAQEBARMBAQEBCQkLCSGFcIEeM4grulWGIIhbfIUNBZgnjh0CjxMCjz6CGAELVIFXOjKHTIE+AQEB X-IPAS-Result: A1AgAQBojzFXjxy3hNFdhQqmXIICAY40hBOGEIE2TAEBAQEBARMBAQEBCQkLCSGFcIEeM4grulWGIIhbfIUNBZgnjh0CjxMCjz6CGAELVIFXOjKHTIE+AQEB X-IronPort-AV: E=Sophos;i="5.24,604,1454994000"; d="scan'208";a="5438370" Received: from emsm-gh1-uea10.corp.nsa.gov (HELO emsm-gh1-uea10.nsa.gov) ([10.208.41.36]) by goalie.tycho.ncsc.mil with ESMTP; 10 May 2016 03:39:56 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AaE33IxTjxN+Vq3QRxxMhwds30tpsv+yvbD5Q0YIu?= =?us-ascii?q?jvd0So/mwa64YBeN2/xhgRfzUJnB7Loc0qyN4/GmADdLuMzc+Fk5M7VyFDY9wf?= =?us-ascii?q?0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5?= =?us-ascii?q?K6zPF5LIiIzvjqbpq8yVOl4D3WDgKZpJbzyI7izp/vEMhoVjLqtjgjDomVBvP9?= =?us-ascii?q?ps+GVzOFiIlAz97MrjtLRq8iBXpu5zv5UYCfayLOwESulDATAnNX0lzNH6vhnE?= =?us-ascii?q?Cw2U7z0TVXtFvABPBl394Q3gFrP4rzfgvON22GHOJcn/UKwuUz2K9apnSBb0zi?= =?us-ascii?q?wAMmhqoynslsVsgfcD81qarBtlztuMbQ=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0FgAQADkDFXjxy3hNFdhQqmXIICAY40h?= =?us-ascii?q?BOGEIE2TAEBAQEBAQICDwEBAQEJCQsJIS+CLYMUgR4ziCu6VYYgiFt8hQ0FmCe?= =?us-ascii?q?OHQKPEwKPPoIkVIFXOjKHTIE+AQEB?= X-IPAS-Result: =?us-ascii?q?A0FgAQADkDFXjxy3hNFdhQqmXIICAY40hBOGEIE2TAEBAQE?= =?us-ascii?q?BAQICDwEBAQEJCQsJIS+CLYMUgR4ziCu6VYYgiFt8hQ0FmCeOHQKPEwKPPoIkV?= =?us-ascii?q?IFXOjKHTIE+AQEB?= X-IronPort-AV: E=Sophos;i="5.24,604,1454976000"; d="scan'208";a="13508327" Received: from mx1.redhat.com ([209.132.183.28]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2016 07:39:55 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (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 258B66264F for ; Tue, 10 May 2016 07:39:55 +0000 (UTC) Received: from hulk.com (ovpn-204-39.brq.redhat.com [10.40.204.39]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u4A7dr5C019789; Tue, 10 May 2016 03:39:54 -0400 From: Petr Lautrbach To: selinux@tycho.nsa.gov Subject: [PATCH] policycoreutils: fix the extract example in semodule.8 Date: Tue, 10 May 2016 09:39:49 +0200 Message-Id: <1462865989-19741-1-git-send-email-plautrba@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 10 May 2016 07:39:55 +0000 (UTC) X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The man page's example suggested to use -g instead of -E Signed-off-by: Petr Lautrbach --- policycoreutils/semodule/semodule.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policycoreutils/semodule/semodule.8 b/policycoreutils/semodule/semodule.8 index 6db390c..e5b54b3 100644 --- a/policycoreutils/semodule/semodule.8 +++ b/policycoreutils/semodule/semodule.8 @@ -121,7 +121,7 @@ $ semodule \-B \-p "/tmp" $ semodule \-B \-S "/tmp/var/lib/selinux" # Write the HLL version of puppet and the CIL version of wireshark # modules at priority 400 to the current working directory -$ semodule \-X 400 \-g wireshark \-\-cil \-g puppet \-\-hll +$ semodule \-X 400 \-E wireshark \-\-cil \-E puppet \-\-hll .fi .SH SEE ALSO