From patchwork Wed Sep 19 19:08:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jann Horn via Selinux X-Patchwork-Id: 10606353 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1E43E112B for ; Wed, 19 Sep 2018 19:12:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B81E2C8D7 for ; Wed, 19 Sep 2018 19:12:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F38872C8EF; Wed, 19 Sep 2018 19:12:35 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from ucol19pa09.eemsg.mail.mil (ucol19pa09.eemsg.mail.mil [214.24.24.82]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA256 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3E8B12C8D7 for ; Wed, 19 Sep 2018 19:12:35 +0000 (UTC) X-EEMSG-check-008: 770221195|UCOL19PA09_EEMSG_MP7.csd.disa.mil X-IronPort-AV: E=Sophos;i="5.53,395,1531785600"; d="scan'208";a="770221195" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by ucol19pa09.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 19 Sep 2018 19:12:33 +0000 X-IronPort-AV: E=Sophos;i="5.53,395,1531785600"; d="scan'208";a="18442229" IronPort-PHdr: 9a23:604nmhcAEz813JvjtgztaVztlGMj4u6mDksu8pMizoh2WeGdxcm5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BdhSKbqvlaFWuIcfNVnSOvernBU9Y1vNbQCPF2cpJz2tDdHtko6AAgzaL8/tjZabFXBnBVJW6bov74NkgwcUdpntkJXAWKwPHgx5yHbVaRUkKaRFOYV/SuNQaAUVUVnLD9+SQuv2JpyY7upgexHsmRekyN5ofgq1SFmRRSltS3opqINwi4g+KqjuTUAo3NFSOKenz3PCVVZw/QAlb0cBGr66VygfHkDa5P/4Lx9Ksv89Ykh4nI/YRI4ci0YXOSgDT//j6eJAoyJrdJdiwSBuMLUbb+8NSISLKgyyQr/R3hh1QjThBRo/3EIQjWn99ApP5i9OcA5xiqoHmjbaVkM4qNVsMfrs14EUvc2Y0t7wGp/ysiHWjENRMvXFmY3iwgkbn9EcIhC6R8BDKQohCyHvqxY8QEVejvUFZ6l+obIl8fSxXY9Vctqxn7RpqCdnZMq3nhllM914yONo3kSafLXU9VtAnny0Ydfz/byZ/OzveAbG8Naz+G6XfsDNNSz0Xen05VtHEm+z/IRGETqCuIbwqbnVHKDSGabEceRemyBgTcyMgam4x+rBlIwb8hOogk2Ne6U1bBGkAi0d7J/RW2zv1bfwXIiOuNSaQM/8Lyqfw0MUf5ZM/ORIeko3e0WFEoHb3iPGzB/TeCxrwj+z8BAJ3x87BCiMqzW+Qf8PY7DFw== X-IPAS-Result: A2CnAACmnqJb/wHyM5BdHAEBAQQBAQoBAYFQgTQqKmUjXBUTjAhfpCwUDIEEA0wSGAsIAYd9ITQYAQMBAQEBAQECAWwcDII1DIJ/AjcUIA4DCQISLggIAwEtAwEFAQsfCwUYBIJBPwEoAYFYAQIMmgE8jDmEaIUlBRKGRYQWDgk/gUGBEoYtAgOBKwESAYV3AogbJIVuMY17CYZCiVULF4hhhjgBi2+IWQIEAgQFAgUPIYEhODQwcSsKGCkPO4EzGoEfixWFXk97AQGKKII9AQE Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 19 Sep 2018 19:12:33 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus.infosec.tycho.ncsc.mil [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w8JJC9wX009763; Wed, 19 Sep 2018 15:12:17 -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 w8JJC7Ss023602 for ; Wed, 19 Sep 2018 15:12:07 -0400 Received: from goalie.tycho.ncsc.mil (goalie.infosec.tycho.ncsc.mil [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w8JJC6xq009761 for ; Wed, 19 Sep 2018 15:12:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AoAQDdnqJbl3kVGNZdgzUqJ2h/KJkMBooejWOBJANTCyOESYM9ITQYAQMBAQEBAQECFAEBAQEBBhgGTIYLAQE3AYEUAQUBNYMhASgBgUsNAQIMmgI8ihyCHYJ1AQEFgXuFEwMFEoZFgnuBGxd5gQeBEoYtAgOBc4VDiB0khh+NewmFCoE4iVULF4hhhjmLb4hZAgQCBAUCBQ8hgSFsgSFNIxWDJ4Izg06FFIVeT41iAQE X-IPAS-Result: A1AoAQDdnqJbl3kVGNZdgzUqJ2h/KJkMBooejWOBJANTCyOESYM9ITQYAQMBAQEBAQECFAEBAQEBBhgGTIYLAQE3AYEUAQUBNYMhASgBgUsNAQIMmgI8ihyCHYJ1AQEFgXuFEwMFEoZFgnuBGxd5gQeBEoYtAgOBc4VDiB0khh+NewmFCoE4iVULF4hhhjmLb4hZAgQCBAUCBQ8hgSFsgSFNIxWDJ4Izg06FFIVeT41iAQE X-IronPort-AV: E=Sophos;i="5.53,395,1531800000"; d="scan'208";a="373707" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.34]) by goalie.tycho.ncsc.mil with ESMTP; 19 Sep 2018 15:12:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ApAQAZn6Jbl3kVGNZdgzUqJ2h/KJkMBooejWOBJANTCyOESYM9ITQYAQMBAQEBAQECARMBAQEBAQYYBkwMgjUigygBATcBgRQBBQE1gyEBKAGBSw0BAgyaBDyKHIIdgnUBAQWBe4UTAwUShkWCe4EbF3mBB4EShi0CA4FzhUOIHSSGH417CYUKgTiJVQsXiGGGOYtviFkCBAIEBQIFDyGBIWyBIU0jFYMngjODToUUhV5PjWIBAQ X-IPAS-Result: A0ApAQAZn6Jbl3kVGNZdgzUqJ2h/KJkMBooejWOBJANTCyOESYM9ITQYAQMBAQEBAQECARMBAQEBAQYYBkwMgjUigygBATcBgRQBBQE1gyEBKAGBSw0BAgyaBDyKHIIdgnUBAQWBe4UTAwUShkWCe4EbF3mBB4EShi0CA4FzhUOIHSSGH417CYUKgTiJVQsXiGGGOYtviFkCBAIEBQIFDyGBIWyBIU0jFYMngjODToUUhV5PjWIBAQ X-IronPort-AV: E=Sophos;i="5.53,395,1531785600"; d="scan'208";a="16029266" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from uhil3cpa10.eemsg.mail.mil ([214.24.21.121]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 19 Sep 2018 19:12:04 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;4a635f49-1914-425a-95f5-decff39f716a X-EEMSG-check-008: 336819866|UHIL19PA15_EEMSG_MP13.csd.disa.mil X-EEMSG-check-001: false X-EEMSG-SBRS: 1.6 X-EEMSG-ORIG-IP: 209.85.210.193 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AxCACmnqJbdMHSVdFdgzUqgQ+BJ5kIAQEBAQaKHo1jgSQDUwsTEIRJgz0ZBwEEMBgBAwEBAQEBAQEBARMBCgsMBxsIAQMlDII1IoMaAQ0BATcBgRQBBQE1gyEBKAGBSw0BDpoBPIocgh2CdQEBBYF7hRMDBQkBCIZFgnuBGxd5gQeBEoYtAgOHNogdJIYfjXsJhQqBOIlVCxeIYYY4AYtviFkCBAIEBQIFDyGBIWyBIU0jFYMnhgGFFIVeT41iAQE X-IPAS-Result: A0AxCACmnqJbdMHSVdFdgzUqgQ+BJ5kIAQEBAQaKHo1jgSQDUwsTEIRJgz0ZBwEEMBgBAwEBAQEBAQEBARMBCgsMBxsIAQMlDII1IoMaAQ0BATcBgRQBBQE1gyEBKAGBSw0BDpoBPIocgh2CdQEBBYF7hRMDBQkBCIZFgnuBGxd5gQeBEoYtAgOHNogdJIYfjXsJhQqBOIlVCxeIYYY4AYtviFkCBAIEBQIFDyGBIWyBIU0jFYMnhgGFFIVeT41iAQE Received: from mail-pf1-f193.google.com ([209.85.210.193]) by uhil19pa15.eemsg.mail.mil with ESMTP/TLS/AES128-SHA; 19 Sep 2018 19:09:07 +0000 Received: by mail-pf1-f193.google.com with SMTP id j8-v6so3143918pff.6 for ; Wed, 19 Sep 2018 12:09:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yaIouWH/fFMojxl/fMe5A4IV5kzE/VSW8z+oVTyiAB4=; b=A2K5cIN3UzXb1SFXZAow4Vom+L6SdX/kOYdWUW8B2tgMZzblQSQurQStLaYHy5gAd1 DBUzlA0mDt4jnmcLTRk2S291Zcn/vK39BqBgu+jAs+p5ovWFh7A31nYkX6xwoZWOJNnG wiIXNTyxzidub9ssHee+DAcNH69jF0azMsAxSo2VQxTFfwmOndZuIsQfo7sNguc+/ZDs KyheLqUdW9ERSE003TAKRvX5jSsEyFFzeIs6xpqX2z3DaLur02wNA0FPoQl3IjICMSDP Wx3m1dxLS25dfEMkDimqaOypgmRSjwk9PcIAArNjgs790YXyvEyEXRZa8UyKE9UEo1mr 1Ojw== X-Gm-Message-State: APzg51B2/JO2BkH8YdFisUFBW5ELDCn7b6V4rd8fqI7cr7jc/Rihdoj2 w44obq7JCIqxRqW547APAv4FLgzjCwA= X-Google-Smtp-Source: ANB0VdYh/kcO7JHdRV+fNDj6+tVmrmtVpwK8vOgkVjTYs67o1R/gA/E7ocT/QV/5GCX70QoJZ8wkJw== X-Received: by 2002:a63:6507:: with SMTP id z7-v6mr2067364pgb.200.1537384143999; Wed, 19 Sep 2018 12:09:03 -0700 (PDT) Received: from nick.mtv.corp.google.com ([2620:15c:201:2:a75c:4ec0:aa7c:32b]) by smtp.gmail.com with ESMTPSA id g5-v6sm34250365pfc.77.2018.09.19.12.09.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 12:09:03 -0700 (PDT) X-EEMSG-check-009: 444-444 To: selinux@tycho.nsa.gov Date: Wed, 19 Sep 2018 12:08:56 -0700 Message-Id: <20180919190856.58147-1-nnk@google.com> X-Mailer: git-send-email 2.19.0.397.gdd90340f6a-goog MIME-Version: 1.0 Subject: [PATCH] checkpolicy: remove extraneous policy build noise X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: From: Nick Kralevich via Selinux Reply-To: Nick Kralevich Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP Reduce noise when calling the checkpolicy command line. In Android, this creates unnecessary build noise which we'd like to avoid. https://en.wikipedia.org/wiki/Unix_philosophy Rule of Silence Developers should design programs so that they do not print unnecessary output. This rule aims to allow other programs and developers to pick out the information they need from a program's output without having to parse verbosity. An alternative approach would be to add a -s (silent) option to these tools, or to have the Android build system redirect stdout to /dev/null. Signed-off-by: Nick Kralevich Signed-off-by: Nick Kralevich <nnk@google.com>
Signed-off-by: Nick Kralevich <nnk@google.com>
--- checkpolicy/checkmodule.c | 8 -------- checkpolicy/checkpolicy.c | 11 ----------- 2 files changed, 19 deletions(-) diff --git a/checkpolicy/checkmodule.c b/checkpolicy/checkmodule.c index 46ce258f..8edc1f8c 100644 --- a/checkpolicy/checkmodule.c +++ b/checkpolicy/checkmodule.c @@ -228,7 +228,6 @@ int main(int argc, char **argv) if (optind != argc) usage(argv[0]); } - printf("%s: loading policy configuration from %s\n", argv[0], file); /* Set policydb and sidtab used by libsepol service functions to my structures, so that I can directly populate and @@ -302,8 +301,6 @@ int main(int argc, char **argv) sepol_sidtab_destroy(&sidtab); - printf("%s: policy configuration loaded\n", argv[0]); - if (outfile) { FILE *outfp = fopen(outfile, "w"); @@ -313,16 +310,11 @@ int main(int argc, char **argv) } if (!cil) { - printf("%s: writing binary representation (version %d) to %s\n", - argv[0], policyvers, outfile); - if (write_binary_policy(&modpolicydb, outfp) != 0) { fprintf(stderr, "%s: error writing %s\n", argv[0], outfile); exit(1); } } else { - printf("%s: writing CIL to %s\n",argv[0], outfile); - if (sepol_module_policydb_to_cil(outfp, &modpolicydb, 0) != 0) { fprintf(stderr, "%s: error writing %s\n", argv[0], outfile); exit(1); diff --git a/checkpolicy/checkpolicy.c b/checkpolicy/checkpolicy.c index fbda4558..12c4c405 100644 --- a/checkpolicy/checkpolicy.c +++ b/checkpolicy/checkpolicy.c @@ -512,8 +512,6 @@ int main(int argc, char **argv) if (optind != argc) usage(argv[0]); } - printf("%s: loading policy configuration from %s\n", argv[0], file); - /* Set policydb and sidtab used by libsepol service functions to my structures, so that I can directly populate and manipulate them. */ @@ -623,8 +621,6 @@ int main(int argc, char **argv) if (policydb_load_isids(&policydb, &sidtab)) exit(1); - printf("%s: policy configuration loaded\n", argv[0]); - if (outfile) { outfp = fopen(outfile, "w"); if (!outfp) { @@ -636,8 +632,6 @@ int main(int argc, char **argv) if (!cil) { if (!conf) { - printf("%s: writing binary representation (version %d) to %s\n", argv[0], policyvers, outfile); - policydb.policy_type = POLICY_KERN; policy_file_init(&pf); @@ -645,8 +639,6 @@ int main(int argc, char **argv) pf.fp = outfp; ret = policydb_write(&policydb, &pf); } else { - printf("%s: writing policy.conf to %s\n", - argv[0], outfile); ret = sepol_kernel_policydb_to_conf(outfp, policydbp); } if (ret) { @@ -655,7 +647,6 @@ int main(int argc, char **argv) exit(1); } } else { - printf("%s: writing CIL to %s\n",argv[0], outfile); if (binary) { ret = sepol_kernel_policydb_to_cil(outfp, policydbp); } else { @@ -894,8 +885,6 @@ int main(int argc, char **argv) FGETS(ans, sizeof(ans), stdin); pathlen = strlen(ans); ans[pathlen - 1] = 0; - printf("%s: loading policy configuration from %s\n", - argv[0], ans); fd = open(ans, O_RDONLY); if (fd < 0) { fprintf(stderr, "Can't open '%s': %s\n",