From patchwork Tue May 9 14:54:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Smalley X-Patchwork-Id: 9718095 Return-Path: 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 D08FF60364 for ; Tue, 9 May 2017 14:51:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA760205A8 for ; Tue, 9 May 2017 14:51:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD0E828415; Tue, 9 May 2017 14:51:50 +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-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.wl.linuxfoundation.org (Postfix) with ESMTPS id 2C18522BF1 for ; Tue, 9 May 2017 14:51:48 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.38,315,1491264000"; d="scan'208";a="6797823" IronPort-PHdr: =?us-ascii?q?9a23=3Am+SZrxfFIkcyj07oxJI6TsC9lGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcq6bRCN2/xhgRfzUJnB7Loc0qyN4v+mATVLvM3JmUtBWaQEbwUCh8?= =?us-ascii?q?QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6?= =?us-ascii?q?OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBe7oR/NusULjodvKqg8wQbVr3VVfO?=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oYxIulBu/6kbw37Jb?= =?us-ascii?q?q7hnL2nPXUdIeDD7L39jUqSsqrqCZNRP5Ik0viVXV+S8Z1+aR6X5oxsb1SPsBX?= =?us-ascii?q?FexDchezGtoJX5kARwiHiBI3ZrsHrZZcZwyA/b5NzdXv5RwiMKRDJmhjnTB1i8?= =?us-ascii?q?OcSp/NqPmpfYquC+VmShVpxPfinw14+AsjW05XFyCx2lg/+zgsHnERQ90SLjzd?= =?us-ascii?q?lqUiHIrBLibYnxy6u6Nuxmc1JzBF/h98V6AZtykowqhJEfwXIanIma/WIbkWfv?= =?us-ascii?q?NtVWwbr+Y2AQRT4P2dLa+hLp11ZkLnKN24L5UXOdz9BkZ9WmZGMW3T4y49pMCK?= =?us-ascii?q?iK8LxOhTF1rUagrQLNffh9mS8Qyfgw534cmOEEowktwTubArAJG0lXIzDsmw6P?= =?us-ascii?q?79Cko6VdfHyvfqSo1EpigdChC6mPoh9aWHnkYZoiAylw4dh/MF7W1n389J3kcs?= =?us-ascii?q?HKbd0Prh2UjwvAj+9NJZIpjPUKmC5nNHnhsn0k1+46jQVi3Z+gs4iBMWlt+7i5?= =?us-ascii?q?AhFAPD3ve8wT4i3tjbpZnsuOx4CgBIhhGjEVU5vwV/2oFi4Suur9NwuVDT08sW?= =?us-ascii?q?mUGaDEHQOF80dmqG/PE4q3OH6JKnkZys9iRBaDK0BFhgAbQik6lIYjFg+23Mzh?= =?us-ascii?q?bFt55jcJ6172sBRMzP5oNx76UmrEqgendCo7SJ+FLBVM9gFC/UDVMc6A4e1vAy?= =?us-ascii?q?FU5JqhrBaCKmaDfQRHEXkJWlCYB1DkJrSu4MPP8+ycBuWgM/vOfa+BpvZFWveO?= =?us-ascii?q?252vzpBm8CqWOcWXIHZuFfs71VRfXXphAcTWhy0PSzALlyLKd8Obvg2w+yNtos?= =?us-ascii?q?C66vvrXAXv5IuUBrRILdpv/gq6gaCZN+6fnCx5MypX1osQxX/Uz7gSxFASiztw?= =?us-ascii?q?eDawCrQPry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kMiEK+AAkpB5gM7tgGHpS0zU7XN9nnLL8Yxh?= =?us-ascii?q?U2/wnkPk+FDO5OeBOFizcIvd2wzIJt3YlcOjEcAX9xMSOp6bbLvgUqmuaMXM8q?= =?us-ascii?q?YncGWYsJLnY2WMqgmyFHuXRBDT633/kWyAiE8j/wvCPQDCPzb9B7fvebeQtsCM?= =?us-ascii?q?2q+TU466W2kkDY8pHfJ2H8KNRjtcTC5v8dp5aCF/xbV6J9s1vGl4leWXOqT3bF?= =?us-ascii?q?EcSpKJjod4kscdv0B265UlylizM6VcHxPMqtLqWTjgHoQp5Uv5WB0DAlK8C9Ci?= =?us-ascii?q?kUGw1sqOEb+KJ8eQoDboInYR7psgQ+MLC/IAeY09i1XmmtKDtXQONEwumgYbxY?= =?us-ascii?q?0TYsZPegyHQ8VpE60/W38UkVSZ4QihHexOqsaJdGXij2Gn1dfQLPpSwjmGV6Le?= =?us-ascii?q?kyw/0wwBXRvVkSLjCHbuppZ3JYv9skH1OdPW12CnYkR1+blYfM+RCj37YJ8iRH?= =?us-ascii?q?gtlUz/NKsGLlvpDFejKtWLanqZLPsyovddImubF+MZT/Isuas5PThjPfTITRsg?= =?us-ascii?q?2BVC61Cf9al8NNLy1GW/ZImHsqOcoctYpG80oxWd80J6ZTB6k0urCqdT1kADYI?= =?us-ascii?q?zS8fVoOPwDwCguC427vBjhmeaYksPgYYvZtFmdYSTyl2YiYCq6C5TIXWi3WISm?= =?us-ascii?q?4VLwcP9Q5M/h4PlpdsfuD554rFVIVMxCNLrP9vXSvLE5Zp+0H9Sm6InVjyUO+h?= =?us-ascii?q?nPCx3QJO0PLs1cEWWARlBkhHwOZZjVAlKK1tK6YKoI7FrDuIdUL8vGLizOumJV?= =?us-ascii?q?ZRyc3Id132FoXFr2/8Xjca+XIKWY9F0GvfGogKkwpldKYro01BIY68dkni5zwk?= =?us-ascii?q?xoFpH7iiWsCo3FslrGgJSDm0HNZbDOFmql3XUiV/Y5+3sJXlJ4lSQmhI9ZKHsV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G7qL+Z9TnmY+m+zcLNEWc6ZCmmiVFRG+Cb8C1WSr6zaLL2l5nxHO?= =?us-ascii?q?yQ//TXm07F/soi9yWTHMwMv7kkpJSrm3Al9fXyyoOUBktzOPOBDntMHttaQ060?= =?us-ascii?q?E2NXfktMmWmWukN75WENfzJNuGISk7vFgXloE+RsSz2YAHHtqwOMse/2t6bvTA?= =?us-ascii?q?8GOrjy9Ao6BciorF/s6V++vYHX+8j62bsbqB3jZYxWYkvVsn8NCvKunO58GWQ/?= =?us-ascii?q?Svz2sRSzx/uw7BUhOupLzUsU0bOUuR0EjRgIwKJNZZ3Xsm2U76+OgvWtUz9B9R?= =?us-ascii?q?FozYffMNuSjzOCfowVaYe983VCie0z5ME1LwD1Z5GLYz2HjxvMLPmnfc4VsoSZ?= =?us-ascii?q?dsd0b/nxx4E504KV4x6FgQ2icDEAkMZgqBA760HknlNpULVVQdZhubxrS6fb03?= =?us-ascii?q?3UJryLO1+ODTdfB8B7YKNvtFlQGOnUNbG5wMvq0cQbJ8Z0dd+7TKpgjmEIXoQ/?= =?us-ascii?q?/mmmcuOvKvX8Ba68cZt2E47QqlQBqg85hD5a4BiJ+Ubq5EfYTMvMdk4kd//zEP?= =?us-ascii?q?ajBCgBhxjhO+S+Acp/nv4sPFv5qs6+auUrstRuoM+hgsHWt+k4f/gFAtoNHQze?= =?us-ascii?q?dcSZfZiYfh/wBXJX6FpoLa3wN7KeoUJIKhZKxg+GkfJygCO3IOOsKba+Um4yBz?= =?us-ascii?q?NDXc/VpCDd0XaNwFPcrNlgFUilHzV7FI7MXbAEKYB511d88282r90Co1/ockUu?= =?us-ascii?q?b89D+2IojS715XMPNZkipsiNLCqfMRwfrTFCgY/3mZZAJowiOZ0ZWNDej//fmU?= =?us-ascii?q?wtHOS1wGBjI2U5taJDea9gyoWOy1lInuUgOT7cPzm4wxdEaRRny3gaQEvb1BEe?= =?us-ascii?q?pehSXh3jlRDJr5h/SLvNqw8GFXrEFIEJ5v7R3ZH6VSJol0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ii?q?N2fp6q55NwJycg/UZLSxnMbqvOaLaYVOq3/R9FIwIz/WuwcfxfysUQx7c5eqim?= =?us-ascii?q?38IZAoXDJBrsFiBQV9EYtKGsMAsxCnDICOlKG8kd+x9Ftwu/UWvqroFvDKyNO5?= =?us-ascii?q?0p12X5he+0OGJy7RBK1xjUR+kuSyg+vP0oXrCcz8Z9wITu57TXDZarXeBIWwNi?= =?us-ascii?q?qOOt7ge05B67Oc1LN5UhOMZCH2RqaGsCykNO544UUg0YF4ffDczDoq773B39vy?= =?us-ascii?q?fW5brD+5rXGVLJtf8EDKBevGUhJPV/WF9GdlHasKbYr78+sAPsAiwNiC7Alp8j?= =?us-ascii?q?tCyNGKLrOirkDSwEJ7c4zULE/y1CYkVokGOhO/MVEjgWXBsHTSHWxcLtS4Kclq?= =?us-ascii?q?mNuVCwbi6FVxmWEsYG5BHXHlRcmQOWgdxc2+YAyK9ARWD9cMheK3flQ4tqKqQ+?= =?us-ascii?q?lyJppFgfmqtKkAkdtxKSHAXstaPybLI7JtIzpRCPnPpFgvYh4ZvLg1Wps1aYKI?= =?us-ascii?q?IEwZLEeK0Tnywhfa0U3oa9ys076EICkM/Xpc1bLF0CZDpw2itPaHhs3sSqvZbJ?= =?us-ascii?q?DrXPLINioqSC2aTywoEUm14Vekp+YEvP2ALGcdp1AUZTiSCBQSpqB0ttXQCHXc?= =?us-ascii?q?meh9c50LnvyaXDrwSCJgnqooGilLrVyMQ+YEFQTOdH/hjm9ctxCjK/JP5n/lca?= =?us-ascii?q?OXxrBUW+0XBYtMdOeVQ93GdvBCdH8UkWACNeK9ecDMh6oo2VLPC20CGu/H80PN?= =?us-ascii?q?YlSRR6mn2z/zXYgT97Mxsy4s98OYyjR7CIzULr2foHio6Yf+gyGG776NHlIxal?= =?us-ascii?q?A41bpRSFKKxwNNfSReU9w=3D?= X-IPAS-Result: =?us-ascii?q?A2HhAQCZ1hFZ/wHyM5BcGgEBAQECAQEBAQgBAQEBFQEBAQE?= =?us-ascii?q?CAQEBAQgBAQEBgwEpgVwSjnSoXiiKblcBAQEBAQEBAQIBAmgogjMigkgCdgMDC?= =?us-ascii?q?QIXMQgDAWwFiANNgT8NtRImAop/iD2NZwWJRJRBkwwNixmGUAKUQFiBCiYJAh4?= =?us-ascii?q?IHw+EdoJfWoh1AQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 09 May 2017 14:51:46 +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 v49EoSd9002503; Tue, 9 May 2017 10:50:51 -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 v49EoPm0148177 for ; Tue, 9 May 2017 10:50:25 -0400 Received: from moss-pluto.infosec.tycho.ncsc.mil (moss-pluto [192.168.25.131]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id v49EoO5u002492; Tue, 9 May 2017 10:50:24 -0400 From: Stephen Smalley To: selinux@tycho.nsa.gov Subject: [PATCH] libselinux: Fix CFLAGS definition Date: Tue, 9 May 2017 10:54:38 -0400 Message-Id: <20170509145438.22346-1-sds@tycho.nsa.gov> X-Mailer: git-send-email 2.9.3 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: Cc: Stephen Smalley Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP commit 16c123f4b1f3c8d20b3f597df161d7e635620923 ("libselinux: support ANDROID_HOST=1 on Mac") split up warning flags in CFLAGS based on compiler support in a manner that could lead to including a subset that is invalid, e.g. upon make DESTDIR=/path/to/dest install. Fix it. Signed-off-by: Stephen Smalley --- libselinux/src/Makefile | 21 +++++++++++---------- libselinux/utils/Makefile | 17 +++++++++-------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index f1b8bd9..4306dd0 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -55,6 +55,15 @@ SRCS= $(filter-out $(GENERATED) audit2why.c, $(sort $(wildcard *.c))) MAX_STACK_SIZE=32768 +ifeq ($(COMPILER), gcc) +EXTRA_CFLAGS = -fipa-pure-const -Wlogical-op -Wpacked-bitfield-compat -Wsync-nand \ + -Wcoverage-mismatch -Wcpp -Wformat-contains-nul -Wnormalized=nfc -Wsuggest-attribute=const \ + -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wtrampolines -Wjump-misses-init \ + -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Wp,-D_FORTIFY_SOURCE=2 +else +EXTRA_CFLAGS = -Wunused-command-line-argument +endif + OBJS= $(patsubst %.c,%.o,$(SRCS)) LOBJS= $(patsubst %.c,%.lo,$(SRCS)) CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs \ @@ -72,19 +81,11 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi -Wno-format-nonliteral -Wframe-larger-than=$(MAX_STACK_SIZE) \ -fstack-protector-all --param=ssp-buffer-size=4 -fexceptions \ -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time \ - -Werror -Wno-aggregate-return -Wno-redundant-decls + -Werror -Wno-aggregate-return -Wno-redundant-decls \ + $(EXTRA_CFLAGS) LD_SONAME_FLAGS=-soname,$(LIBSO),-z,defs,-z,relro -ifeq ($(COMPILER), gcc) -CFLAGS += -fipa-pure-const -Wlogical-op -Wpacked-bitfield-compat -Wsync-nand \ - -Wcoverage-mismatch -Wcpp -Wformat-contains-nul -Wnormalized=nfc -Wsuggest-attribute=const \ - -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wtrampolines -Wjump-misses-init \ - -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Wp,-D_FORTIFY_SOURCE=2 -else -CFLAGS += -Wunused-command-line-argument -endif - ifeq ($(OS), Darwin) override CFLAGS += -I/opt/local/include override LDFLAGS += -L/opt/local/lib -undefined dynamic_lookup diff --git a/libselinux/utils/Makefile b/libselinux/utils/Makefile index 5d61031..14f94bd 100644 --- a/libselinux/utils/Makefile +++ b/libselinux/utils/Makefile @@ -12,6 +12,13 @@ else COMPILER ?= clang endif +ifeq ($(COMPILER), gcc) +EXTRA_CFLAGS = -fipa-pure-const -Wpacked-bitfield-compat -Wsync-nand -Wcoverage-mismatch \ + -Wcpp -Wformat-contains-nul -Wnormalized=nfc -Wsuggest-attribute=const \ + -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wtrampolines -Wjump-misses-init \ + -Wno-suggest-attribute=pure -Wno-suggest-attribute=const +endif + MAX_STACK_SIZE=8192 CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs \ -Wunused -Wunknown-pragmas -Wstrict-aliasing -Wshadow -Wpointer-arith \ @@ -28,17 +35,11 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi -Wno-format-nonliteral -Wframe-larger-than=$(MAX_STACK_SIZE) -Wp,-D_FORTIFY_SOURCE=2 \ -fstack-protector-all --param=ssp-buffer-size=4 -fexceptions \ -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time \ - -Werror -Wno-aggregate-return -Wno-redundant-decls + -Werror -Wno-aggregate-return -Wno-redundant-decls \ + $(EXTRA_CFLAGS) LD_SONAME_FLAGS=-soname,$(LIBSO),-z,defs,-z,relro -ifeq ($(COMPILER), gcc) -CFLAGS += -fipa-pure-const -Wpacked-bitfield-compat -Wsync-nand -Wcoverage-mismatch \ - -Wcpp -Wformat-contains-nul -Wnormalized=nfc -Wsuggest-attribute=const \ - -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wtrampolines -Wjump-misses-init \ - -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -endif - ifeq ($(OS), Darwin) override CFLAGS += -I/opt/local/include -I../../libsepol/include override LDFLAGS += -L../../libsepol/src -undefined dynamic_lookup