From patchwork Sun Feb 5 15:58:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9556119 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 A7277602B1 for ; Sun, 5 Feb 2017 15:59:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9688A1FE95 for ; Sun, 5 Feb 2017 15:59:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88FFD26C9B; Sun, 5 Feb 2017 15:59:46 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED 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 66AE31FE95 for ; Sun, 5 Feb 2017 15:59:45 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.33,338,1477958400"; d="scan'208";a="2899552" IronPort-PHdr: =?us-ascii?q?9a23=3AVXbr6Rfpv8Z62l2UuhC4VGnhlGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcq4YxSN2/xhgRfzUJnB7Loc0qyN4vymBjFLsczJmUtBWaQEbwUCh8?= =?us-ascii?q?QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6?= =?us-ascii?q?OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBq7oR/Tu8QWjodvKbg9wQbVr3VVfO?= =?us-ascii?q?hb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnY?= =?us-ascii?q?UAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhS?= =?us-ascii?q?waOTE56mXXgdFugqxdrhyquhhzz5fJbI2JMfZzeL7Wc9EHSmpbRstfVzJPDJ6y?= =?us-ascii?q?YYUMCOQBJeRVo5TzqlQBsRSwChejBPj0xz9UhHL7x7E23v49HQ3Y2gErAtIAsG?= =?us-ascii?q?7TrNXwLKocSeG1w7XPzTXHdfxWwir25ovPchAmuvGMRq97fM3XyUkuCwzFiVGQ?= =?us-ascii?q?ppb+Pz+P1+QNtG+b7/F7Ve+0jm4qpA5wriKoxsc2hYnEn4QYwU3H+yVh2Is5ON?= =?us-ascii?q?K1RUFhbdOkDZdcrT+WOoRoTs84Xm1koCQ3x78ctZKmciUHxo4rywDDZ/GGaYSF?= =?us-ascii?q?7AzvWeCMKjlinn1lYqiwhxOq/Eilze3zS9e73U5RripAjtnMrncN1wHP6sSfSv?= =?us-ascii?q?ty4EOh2TGX2gDP8O5EO0E0lbfAK5I73r4xloYcsUTEHiPsnkX5kLSWeVk+9uit?= =?us-ascii?q?6uTnZq3qpp6aN4BqlgHzKrkil8OwDOgiMgUCQnKX9fqz2bH950H1Xa1Gjvgsna?= =?us-ascii?q?nYtJDaK94bpqm8AwJNyYYs9RK/Dzag0NQFkngLNUlKeBWaj4jvJ17BPuv4AOyj?= =?us-ascii?q?g1WsjDhrx/fGMqfnApXWNHfPirjhfbFj60JE0go80chf545ICrEGOP/zWEjxtN?= =?us-ascii?q?rCAR8lMwy72eDnBc5/1oMZX2KPB7WWMLjOsVCW/OIvOPOAZIgPuDbyM/Il/eLh?= =?us-ascii?q?jWclmV8BeqmkxZkXaHKiEft6IEWZen3sgtEAEWcUpQc+QujqiECNUDFIenayWb?= =?us-ascii?q?485iwhBIKhF4fDSZingKad0yejAp1WemdGB0iCEHfpc4WEXukDaDiJL89vjDML?= =?us-ascii?q?SL+hS5U72hG2rg/6zLhnIfTI9S0Er57j08J15+LLnxEo6TN0F9id032KT2xsg2?= =?us-ascii?q?wHWzo23Kd5oUxh11uOyrZ4jOJCFdxS5vJJVQE6OYTaz+NkF9D4QhjBccuRSFa6?= =?us-ascii?q?XtWmBik8Qc8tw9AUeUZwAMmtjhfG3yW2GbAVjKCLCIYy8q3Cw3j7P9x9xGre1K?= =?us-ascii?q?k9k1kmRdNCNG2nh6548QjeHIvJk0GAm6arc6QQxijN+32ZzWqNvUFYThB/Xb/D?= =?us-ascii?q?XX8Bekvctc756V/aT7+yFbQnNRNMxtWZJadNbt3pjE5GROv4ONjEeGK+hXu/CQ?= =?us-ascii?q?yTxrySaIrqemMd3DjSCUUfjw8S/WyGNRUlBiu7rWPRFiBuFUnoY0Pq6+V+r2m7?= =?us-ascii?q?TkAsxQGQc0Jhz6a1+gIShfGEVfwTxqgLuD0gqzVvB1u9x8jZC8CBpwp6ZKVcZc?= =?us-ascii?q?ky70tZ2m7DsAx9JJOgJbh4hlECawR3o1/u1xJvB4VOi8gltnUqwxZzKaKDy15B?= =?us-ascii?q?ciuY3ZHpNr3MJGjy5wqja6nM2lHRyNyW4LsA6Owkq1X/uwGkDkki/G9k09lSzn?= =?us-ascii?q?uR/ZbKAxARUZL2T0Y77R96p6vVYiMl/YPbyWVsMbWosj/Fw98mHvYqygyhf9hB?= =?us-ascii?q?KqOJDxX9HNEfB8S0L+wqgVepZAoePO9O7K40I9+md/ye1a6rIulgmDamjWNc7Y?= =?us-ascii?q?B5z0KM6y18SuvS0JofxPGYxASHXS/mjFi9qsD3hZxEZTYKE2qkxyjkHolRZrZu?= =?us-ascii?q?fYsQEmeuJcq3x9t7h5H3XX5U7lijCE0a2MWxYxqdc0T93RFM1UQQuXGmlzG3zz?= =?us-ascii?q?hokz43tKqfxzfDw/r8exodIWFLWWxigU3rIYiugNAQRFKoYBQxlBu5+Ub6wLBW?= =?us-ascii?q?pLhiIGbOQEdHZSz2Inp+Xau3s7qNf9RA6Ig0sSlNVuSzf0yaQKbnoxQGyyPjA3?= =?us-ascii?q?dexDcjejGsu5X5mxh6h3yGLHtotnXWZ9twxRDF6NzbX/5R0SIMRDNkhjnPGli8?= =?us-ascii?q?I96p8M2Kl5fCru++S2WhVodJfSb3zYOAsy275WJxDB27nvCznMfoERI90SPh0N?= =?us-ascii?q?lqTyrIpg7mYob3z6S6Lf5nfk5wCV/46sp6AZ1+npIrhJ4O3Xgah5OV/WcIkGro?= =?us-ascii?q?KtVbwaP+bHwMRTEX2N7Z+g7l11N/LniR3YL2Sm2dwtd9Z9m9em4WwCU978ROCK?= =?us-ascii?q?iK9rxLgSx1o1SjoALKfPhygiwdxeEp6H4AjOEDoBAtwTmFArAOAUlYOjThlwyS?= =?us-ascii?q?4NCjqKVbfnygfaKr20p5mdChELaCogdHVXb8ZpsiGyhw4dllPFLKznLz9pnueM?= =?us-ascii?q?PMYtILqh2UjxDAgvBWKJ0vkPoKnjFqOWHjsn0j0O47iwJh3Y2gsIiAMWVt87qz?= =?us-ascii?q?AgREOT3te8MT5jbtgL5AnsaQwo+iBYthGjMWU5voV/6oFiwdtej/PQaUDDI8sm?= =?us-ascii?q?ubGabYHQKH8EdptW/PE5SwOn6LJXkZ0dVjSACTJENFhgAYRjI6noQ2Fgqy3szu?= =?us-ascii?q?bF955iwN5l7/shZM0vhnNwT7UmjBvAencDE0SISBIxpM9QxC+lzVPtKE7uJoBS?= =?us-ascii?q?1Y5ZqhrBGXKmOHeQtIA2YJWlaLB1/9JLWu48fP8/SADOqkM/TOeamOqfBZV/qQ?= =?us-ascii?q?y5KgyI1m/yqLNsWKJXRiAeM01VdEXXBjAcvZgy8PSysVly3Tc8GbuA2w+iptrs?= =?us-ascii?q?Cw6P7rQh7g5ZOTC7tONtVi4xW2jr2HN+6Umil5NSpY2YkWynLTzrgQwkISizpy?= =?us-ascii?q?eDa3C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?= =?us-ascii?q?dWil9tMyujxZpaNc5N/iYGXCJTrjWFoNuyVMpD1Nd4DpMWPth/u3b9GKZFOJeL?= =?us-ascii?q?oH07ob3vxWHH9D8iqlu6wy+zG6CgReJD42IeAhkpJ3iZqkQ3FeQs6HrS8lbXvl?= =?us-ascii?q?B35OpbB7mPjURtoDlmBJxOAChG1Wy9JVRpUHZGq/laKLjSc8FEQvkyYwOvNAI6?= =?us-ascii?q?FfE42kyG4110nW35YiFpsQta4z7SXw8xVSYPg7ftnSYRqsaoODMATJJIdzohZT?= =?us-ascii?q?/fKw2HgSBXoApfa0ZyVpAWGNZK4bcb3ZdP88rDTkatJycFXABiNg0m0Ppfk1JD?= =?us-ascii?q?v1uCeSzHCwqna+rPuAVtfciNtM6pMOj5/ABfh4P7t+A48r4OR2G6lQ2oWt/StY?= =?us-ascii?q?n8ucOWtkGWbqf3L/W8YWPdTDjLlR2wha0rD4PQ8CjXLQVWMIR1xmQ8YZj5F2HL?= =?us-ascii?q?OQpJJ7gBK0pcT6B6Zs1MovpGaM98ZKYJ5ahtCwqFRhPoBoOit+RJIUjIRTvANS?= =?us-ascii?q?WB7vKwrp/J4bzbV+fgetSGx2zbTKJvIpd69T77Fq/x3o9Q5kX6xvVg+l50RFXd?= =?us-ascii?q?Ly+Bq9HhKR8R68m5akvupJspEi3KAJ1oinri2llAd9YLQy2t6JkY0o1W52vwSe?= =?us-ascii?q?1izkj+q+lS97566YYp/bxm1cC0KrrMJvhAt09oHASUDB1w9poxGGh/W3xRYugJ?= =?us-ascii?q?JffJZqQZkdrhpP3rF6EM8x2V/PFZacHbKE7fnMm/FiucRgZAnAsbrj4aNASc3e?= =?us-ascii?q?afm6BoUcalufT52kU17liiNB4J0q5i6pqf96qVoO/XcwHRwqIaWqjrQcPzqqoj?= =?us-ascii?q?u1+I6f0jjr4OdXR/Yxe7H+gFSs4d2mDgwLg3wiIqCczOBK/v+PhZWH4jmTLggZ?= =?us-ascii?q?99FU0MGvwIBbqL4Zhenm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g31Z9wAvdveR2pA+bQRR4odK+Mo55XJN6?= =?us-ascii?q?cKxvYmwi5m82QGtHCGAldciB+V27bBF6J7gLtZ7C83+O8lcFuIRmb5c2PAzoO9?= =?us-ascii?q?Q+NIwjx16STi1sHTuul2crpdoJpiKFJWEWRxPN+LrmMJan39xAbn50XzJz+ZOj?= =?us-ascii?q?9MpW9TKA=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2F/BQCnS5dY/wHyM5BdHRgHDBgHgxyBao5SqFQmiGVXAQE?= =?us-ascii?q?BAQEBAQECAQJfKIIzG4IjAiQTFCAOAwkCFykICAMBLRUfCwUYBIlSBAGwYjomA?= =?us-ascii?q?oNoh1CGTIkVEQGGAQWbZoF9j3+KYIYvkwxYdggfEypEhEQdgWJ0hliCLQEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 05 Feb 2017 15:59:22 +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 v15FwldD005443; Sun, 5 Feb 2017 10:58:57 -0500 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 v15FwjNm111718 for ; Sun, 5 Feb 2017 10:58:45 -0500 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 v15FwipD005432 for ; Sun, 5 Feb 2017 10:58:45 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AxAADoSpdYmCIeaIFdhW2OUqRAjR9XAQIBAQEBAQITAQEBAQEICwsIHYVGgiOJcwQBnnaRbDqEEIdQhkyPKAWbZoF9j3+RD5MMgVUfEyqEOAELAUMdgWJ0iQUBAQE X-IPAS-Result: A1AxAADoSpdYmCIeaIFdhW2OUqRAjR9XAQIBAQEBAQITAQEBAQEICwsIHYVGgiOJcwQBnnaRbDqEEIdQhkyPKAWbZoF9j3+RD5MMgVUfEyqEOAELAUMdgWJ0iQUBAQE X-IronPort-AV: E=Sophos;i="5.33,338,1477972800"; d="scan'208";a="5932751" 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; 05 Feb 2017 10:58:39 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3Azi4GORd8TA/yXYj9QAz+206PlGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcuyYh7h7PlgxGXEQZ/co6odzbGH7+a/BCdQu96oizMrSNR0TRgLiM?= =?us-ascii?q?EbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVr?= =?us-ascii?q?O+/7BpDdj9it1+C15pbffxhEiCCzbL52Ixi6twfcu8kZjYZhNKo61wfErGZPd+?= =?us-ascii?q?lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLe?= =?us-ascii?q?TQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgz?= =?us-ascii?q?oBOjUk8m/Yl9Zwgbpbrhy/uhJxzY3aboaOOfZiYq/QZ88WSHBdUspNUSFKH4Oy?= =?us-ascii?q?b5EID+oEJetWt4j9qEcJrRu6HwasH/7kxDxPhn/xxq06yPkqHAbA3AwhA90Ot3?= =?us-ascii?q?DUo8/uNKsIUOC1y67IzS7Yb/5N3Dfw54fJfgomofGWUrJ9aMzcwlQsGQPdllic?= =?us-ascii?q?tJLpMjeP2ugQr2SW4PBsWOyzh2I9pQx8rSCjy8Uuh4XTm44YxF7J+T9nzIopJN?= =?us-ascii?q?C0UkB2bcCiHZBNrS+VLZF2TdknQ2xwuCY11LkGuZmjcSgPx5Ur2gTTa+SAc4iM?= =?us-ascii?q?4hPjSPieLit4hHJjebK/nguy/la6xu37TMm0305GritDktbSqnAAzwHf5taDR/?= =?us-ascii?q?dn40utxTmC2xrd5+1YO0w5m6XWJ4YkwrEql5oTtUrDHjXxmEXzlKKYa1kq9PW0?= =?us-ascii?q?5+n/ebnopoORN5Nshw79L6ojgsm/DOs3MwQUWGib4+u82aXl/U34XLpKifk2nb?= =?us-ascii?q?PCsJzAJMQboam5AxRO0os48Bm/CCqm0NIEknYZN1JJYheHgofmOl3UJ/D4F/i/?= =?us-ascii?q?j0y2kDh33/DGIqHhApLVI3jYjrjhebd960hByAs81t1f+5JVBa0BIPL0QEPxss?= =?us-ascii?q?fYAQUjPwy7xObnFoY16oRLQm+LA6mEIIvOoFSI4aQpOODKa4gL6xjnLP1wwf/l?= =?us-ascii?q?inswghc8eq6yxtNDbnGzGfBvOAOYZn33mf8ETXdMuRAxGr+5wGaeWCJeMi7hF5?= =?us-ascii?q?k34Ss2Xdqr?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GwAAB1SpdYmCIeaIFdHRgHCwEXAQYBh?= =?us-ascii?q?QaOUqRAjR9XAQEBAQEBAQECAQIQAQEBAQEICwsIHS+CMxmCS4IjiXMEAZ52kWw?= =?us-ascii?q?6hBCHUIZMjygFm2aBfY9/kQ+TDIFWHxMqhDgBCwFDHYFidIkFAQEB?= X-IPAS-Result: =?us-ascii?q?A0GwAAB1SpdYmCIeaIFdHRgHCwEXAQYBhQaOUqRAjR9XAQE?= =?us-ascii?q?BAQEBAQECAQIQAQEBAQEICwsIHS+CMxmCS4IjiXMEAZ52kWw6hBCHUIZMjygFm?= =?us-ascii?q?2aBfY9/kQ+TDIFWHxMqhDgBCwFDHYFidIkFAQEB?= X-IronPort-AV: E=Sophos;i="5.33,338,1477958400"; d="scan'208";a="2899546" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2017 15:58:39 +0000 Received: from localhost.localdomain (32.206.133.77.rev.sfr.net [77.133.206.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 379FF564780 for ; Sun, 5 Feb 2017 16:58:37 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 1/8] libsepol: fix -Wwrite-strings warnings Date: Sun, 5 Feb 2017 16:58:13 +0100 Message-Id: <20170205155820.29157-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.11.0 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sun Feb 5 16:58:37 2017 +0100 (CET)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org 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-Virus-Scanned: ClamAV using ClamSMTP When compiling with -Wwrite-strings, clang reports some warnings like: module_to_cil.c:784:13: error: assigning to 'char *' from 'const char [5]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] statement = "type"; ^ ~~~~~~ module_to_cil.c:787:13: error: assigning to 'char *' from 'const char [5]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] statement = "role"; ^ ~~~~~~ Add a const type attribute to local variables which only handle constant strings. Signed-off-by: Nicolas Iooss --- libsepol/cil/src/cil_binary.c | 4 ++-- libsepol/cil/src/cil_policy.c | 18 +++++++++--------- libsepol/src/module_to_cil.c | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/libsepol/cil/src/cil_binary.c b/libsepol/cil/src/cil_binary.c index 19cbc1b87c1e..ac371aef7b2d 100644 --- a/libsepol/cil/src/cil_binary.c +++ b/libsepol/cil/src/cil_binary.c @@ -1923,7 +1923,7 @@ static void __cil_expr_to_string(struct cil_list *expr, enum cil_flavor flavor, cil_asprintf(out, "%s %s", CIL_KEY_NOT, s1); free(s1); } else { - char *opstr = ""; + const char *opstr = ""; __cil_expr_to_string_helper(curr->next->next, flavor, &s2); @@ -4376,7 +4376,7 @@ static void __cil_print_classperm(struct cil_list *cp_list) static void __cil_print_permissionx(struct cil_permissionx *px) { - char *kind_str = ""; + const char *kind_str = ""; char *expr_str; switch (px->kind) { diff --git a/libsepol/cil/src/cil_policy.c b/libsepol/cil/src/cil_policy.c index bb832f250db7..2e6814a60eae 100644 --- a/libsepol/cil/src/cil_policy.c +++ b/libsepol/cil/src/cil_policy.c @@ -183,7 +183,7 @@ static void cil_gather_statements(struct cil_tree_node *start, struct cil_list * cil_tree_walk(start, __cil_gather_statements_helper, NULL, NULL, lists); } -static void cil_simple_rules_to_policy(FILE *out, struct cil_list *rules, char *kind) +static void cil_simple_rules_to_policy(FILE *out, struct cil_list *rules, const char *kind) { struct cil_list_item *i1; @@ -194,7 +194,7 @@ static void cil_simple_rules_to_policy(FILE *out, struct cil_list *rules, char * static void cil_cats_to_policy(FILE *out, struct cil_cats *cats) { - char *lead = ""; + const char *lead = ""; struct cil_cat *first = NULL, *last = NULL, *cat; struct cil_list_item *i1; @@ -471,7 +471,7 @@ static char *__cil_cons_leaf_operand_to_string(struct cil_db *db, struct cil_lis { struct cil_list_item *i1; enum cil_flavor flavor = operand->flavor; - char *o_str; + const char *o_str; size_t o_len; if (flavor == CIL_CONS_OPERAND) { @@ -559,7 +559,7 @@ static char *__cil_cons_leaf_operand_to_string(struct cil_db *db, struct cil_lis static char *__cil_cons_leaf_op_to_string(struct cil_list_item *op, char *new) { enum cil_flavor flavor = (enum cil_flavor)op->data; - char *op_str; + const char *op_str; size_t len; switch (flavor) { @@ -1009,7 +1009,7 @@ static void cil_bools_to_policy(FILE *out, struct cil_list *bools) { struct cil_list_item *i1; struct cil_bool *bool; - char *value; + const char *value; cil_list_for_each(i1, bools) { bool = i1->data; @@ -1108,7 +1108,7 @@ static void cil_xperms_to_policy(FILE *out, struct cil_permissionx *permx) ebitmap_node_t *node; unsigned int i, first = 0, last = 0; int need_first = CIL_TRUE, need_last = CIL_TRUE; - char *kind; + const char *kind; if (permx->kind == CIL_PERMX_KIND_IOCTL) { kind = "ioctl"; @@ -1156,7 +1156,7 @@ static void cil_xperms_to_policy(FILE *out, struct cil_permissionx *permx) static void cil_av_rulex_to_policy(FILE *out, struct cil_avrule *rule) { - char *kind; + const char *kind; struct cil_symtab_datum *src, *tgt; src = rule->src; @@ -1187,7 +1187,7 @@ static void cil_av_rulex_to_policy(FILE *out, struct cil_avrule *rule) static void cil_av_rule_to_policy(FILE *out, struct cil_avrule *rule) { - char *kind; + const char *kind; struct cil_symtab_datum *src, *tgt; struct cil_list *classperms_strs; struct cil_list_item *i1; @@ -1225,7 +1225,7 @@ static void cil_av_rule_to_policy(FILE *out, struct cil_avrule *rule) static void cil_type_rule_to_policy(FILE *out, struct cil_type_rule *rule) { - char *kind; + const char *kind; struct cil_symtab_datum *src, *tgt, *res; struct cil_list *class_list; struct cil_list_item *i1; diff --git a/libsepol/src/module_to_cil.c b/libsepol/src/module_to_cil.c index 2acb600dddae..8c4fff9c3d9f 100644 --- a/libsepol/src/module_to_cil.c +++ b/libsepol/src/module_to_cil.c @@ -775,7 +775,7 @@ static int cil_print_attr_strs(int indent, struct policydb *pdb, int is_type, st int rc = 0; struct ebitmap_node *node; unsigned int i; - char *statement; + const char *statement; int has_positive = pos && (ebitmap_cardinality(pos) > 0); int has_negative = neg && (ebitmap_cardinality(neg) > 0); char **val_to_name;