From patchwork Sun Jan 14 15:34:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Haines X-Patchwork-Id: 10162673 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 1B28F60245 for ; Sun, 14 Jan 2018 15:35:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AA9228A31 for ; Sun, 14 Jan 2018 15:35:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF84A28A5F; Sun, 14 Jan 2018 15:35:41 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from upbd19pa08.eemsg.mail.mil (upbd19pa08.eemsg.mail.mil [214.24.27.83]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEDA428A31 for ; Sun, 14 Jan 2018 15:35:39 +0000 (UTC) Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by upbd19pa08.eemsg.mail.mil with ESMTP/TLS/AES256-SHA; 14 Jan 2018 15:35:37 +0000 X-IronPort-AV: E=Sophos;i="5.46,359,1511827200"; d="scan'208";a="8098594" IronPort-PHdr: =?us-ascii?q?9a23=3AxChY+RazWpzbm9fq2TWnhNz/LSx+4OfEezUN459i?= =?us-ascii?q?sYplN5qZosu8Yh7h7PlgxGXEQZ/co6odzbaO6ua4ASQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx9HiTahfL9+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYe?= =?us-ascii?q?RWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZ?= =?us-ascii?q?TAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+t4b1rSBv1gy?= =?us-ascii?q?kZMTA3/nzchshpgK5GvB6tohpyyJPWbo6ILvpzZqPTc80US2RCWchfSjRBD4Gh?= =?us-ascii?q?Y4YBEeUBJv1Vo5Xhq1YUsRezHxWgCP/pxzRVhnH2x6o60+E5HA/a3QwvA9IOv2?= =?us-ascii?q?7OrNroKawcU/q6zKjOzTrddPNdxDDw6JLJch89ofGDR6hwftfJxkYzDwzFjk+f?= =?us-ascii?q?qY3jPzyLzeQAqHOU7/ZhVeKpl24otRtxoj6xyccwkIXGmoUVylXd+Ch/3Y07K9?= =?us-ascii?q?q4SEthbt6lFptdrz2VN4xwQsMsWm1oozo1xacAuZKheCgF05IqzAPcZfyfa4WE?= =?us-ascii?q?/x3uWemLLTp4mX5pYqyzihms/US61+HwTsq53VdQoiZYnNTBuWoB2wLP5sSbUP?= =?us-ascii?q?dw8Fqt1DCS3A7J8O5EO1o7la/DJp4kxb4/i4QcvFzYHi/zhEX2lKiWdlg4+uSw?= =?us-ascii?q?6+TofLHmppiEOo9okA7+KKUumtGkAegiLggPX3SU+eS71LH5+032XK5KgeEsnq?= =?us-ascii?q?ncsZDaIdwXpq+/AwBLzoYu8wuzAjip3dgCnXQLMUhJdAyIgoT3IV3CPej0DfKl?= =?us-ascii?q?jFStlDdryerGPrrkApjVNXjMjrPhfbd7605Bxws/1MtQ55VJCrEHPP38RFTxuc?= =?us-ascii?q?fEDh45LwO0w+HnBM971oMFQ22DGKCZMKTMsVOQ/OIgP/GMZJMJuDb6M/Ul5fnu?= =?us-ascii?q?jXkjll8Bfammx50XZWu6HvRhJUWZZGD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zz?= =?us-ascii?q?hwkz43taqSxzbBzPr4dBoAIGJLQ3NijVj0K4iuk98aRFSobxQulBa9+0b6xrRU?= =?us-ascii?q?pLh4L2nJW0tHYyj2L2ZkUqu/rbeCZ89P6JUyviVNV+Swe1eaSqTyoxECySPsA3?= =?us-ascii?q?NexCwndzGtopj5mx16iHmBLHpqt3rWZ8VwxRbZ5NzBSv9cxSEGRDF5iTnRB1iz?= =?us-ascii?q?I8Kp8c+Sl5jdruC0T3ihWYFLcSn30YOAszO25XdtAR27m/C8hMfnHhQ90S71zN?= =?us-ascii?q?RqTjjIowrnYoXx0KS6K+1ndFFyBFDg88p6Bp1+kowoiZETx3cagI6V8GEEkWjt?= =?us-ascii?q?N9VbwqT+Y2QRRTIRxN7V+gfl0lV5Ln2V34L5Smmdwsx5atmieGwWxyY94N5SCK?= =?us-ascii?q?iO6rxEgTV6okCjoALMevhygC0dyeA05H4BhOEJpRAtwTmDDbAcGklYJyPsmAqS?= =?us-ascii?q?49C4sqpXeH6lcaKs20pmgdChELaCrxlCWHb/Z5gvBjFw7sNiP1LMynHz7J/reM?= =?us-ascii?q?XIZ9IJqhKUiwvAj/RSKJ8pjvoFnzdnOWbmsHI5yu47kRxv0Yi0vIedLWVh5qW5?= =?us-ascii?q?AgRXNjftfcMc5intjbpCnsaRx42vEI9uGjMXXJvvSPKlCzwSuur6OAaJCj0zsG?= =?us-ascii?q?+bGaDYHQ+d9khps27PH4qsN3GNK3kT1c9iSwWFJExDnAAUWy03npsjGQCuwMzu?= =?us-ascii?q?blt55iwL6VHisRZMzPxnNwXkUmjDvgiocik7RIKZLBVI8gFI/13VPtCG7uJvAy?= =?us-ascii?q?FY+YWsrBaXJm2VfQhICHsGWkiDB1HjJbSh/8XP8+2CCuq5NfvObq2EqfZCWPeQ?= =?us-ascii?q?2ZKvzoxm8i6CNsWVIHZtEuY71VBFXXBlHMTZgC4CRDYLmCLIdcKbow28+iJvpM?= =?us-ascii?q?Cl7PvrQB7v5ZeIC7ZKN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MRny2hKkFsKFMEe?= =?us-ascii?q?5GiinhwjdeFoT1h++IvNut6WtXsEZHEIVy7RDeBqVfP4t7Ng78lsa2R0hwHC3/?= =?us-ascii?q?d9/IdhA2ouqZ2v8M4/liN0v5fYIbIwwExKj86XdOSgtuVaP5vleeXeIKftdmT+?= =?us-ascii?q?nErn9N44J6N6APJESdpIDtrjpQqlA5HgEpaLE0rjFBeEjBhgtVVLjouLIajAsT?= =?us-ascii?q?T8J5s1dWGW2sIGI++ybHVaNNgameDPwV9TuSQbIKU0VsKS5+WBS12JNve7S1h/?= =?us-ascii?q?xHtH1Jnj9lqvgwzzNmXAe8uTHrp68V2zIg+LG5tC0GuXxBT+WejznHBE5GzPQL?= =?us-ascii?q?kaccEWjt5Ua7YHkZY4v4+KNnKtj49Yk9/3Q/Zg0ufzEHXeSlECzwk6KIDZCMsN?= =?us-ascii?q?1CgB6BosPOYqGvLSIKLLQy1QrjR2Rh0gjZhBto9WoLQjaj7N8jP4i9O9wqximv?= =?us-ascii?q?GWjdalkM5LlFsM3vul4XVOE2c09uwH1/0sibQS0AXNfAFHgzjgg4cmhEa5ZD6R?= =?us-ascii?q?gGF6k0nDaHoLRJ8hsTYDfOHYSv4pPQktvQ2XkhUddqwXrbprWChpMuynJlgd11?= =?us-ascii?q?7imKuHQcbOHYVshsAn/o1ohB1eP+ffKtsvscSItnzrShX+UOMs65+Wu5wJ9qQF?= =?us-ascii?q?OqxqwCH1qlN+8O3rnbXDmhSW2ZQeSEbXOBnjc4Mk734BmnMEc3aMNUoEMnNevC?= =?us-ascii?q?nJFcnRX7UbxoXiWQuUPbzGs7POIUbwI2ooandBAUQ+MKYuicJPQuwOcgB1cWaH?= =?us-ascii?q?/JByR2AfessVGxhIh7J2lg4ULibOTq9gDpLsCfGgEAEYHAtZ5x5f26SX6dOX96?= =?us-ascii?q?0hJ9IlN49+HBGFQtruVcaYqencDMh9Rn1u4Ib/NtMSw7ut4OlYNv8I2U0MaRcR?= =?us-ascii?q?HN1Zb/PtDVreKeA/3Y1UgqfXtaUrUBawPv+4o6JsI5W6HUHbZBuBQTH7Q1QJwg?= =?us-ascii?q?N2f386F5Nx1zcg/XZLuqhsnqp+SLZoZbpnPM6VIwNijcsQUZyvOoVQx7c4yqh3?= =?us-ascii?q?LqLZAyXD1BrNptBQB9EYtSHcMAswqnA5mJmKG0i9+x51l2u+kUvqrsEvrKzsi2?= =?us-ascii?q?351tX5hG4kyGJDTRBKxsgkR/lOSyg+zA34L3Ccz4fNMLSul7TnTCar/cEYW1Mi?= =?us-ascii?q?iONd7ke05a776c16p0Ug6fZCD8Q6WLtS6pOe564Uol0Ix4fevSzDsr773B3tv9?= =?us-ascii?q?eX1b9W+fqiuSOZ9e6kHaLfDPVBJTD/ye+SBqGrNEQ5Hz8bI0MNciycKQqyl67T?= =?us-ascii?q?JPy4PROamqrkbW1nVwQpLSLU3kwA4zRYgMPBmlN0Ywx2TeryKOUjxnMsG4JJw1?= =?us-ascii?q?056uBRv36hw0wDkg?= X-IPAS-Result: =?us-ascii?q?A2ALBgBNeFta/wHyM5BdHAEBAQQBAQoBAYMVKQOBWiePK41?= =?us-ascii?q?pmz0piWZDFAEBAQEBAQEBAQFqKII4JIJPAiQZATkCAwkCBUMIAwFsBYhbgToBA?= =?us-ascii?q?xUDAawYOoMLBYEChFeBbAQIhDyBNl+DQIULgQ5EBIdLIAWjZIwEiTqCJoYdi1g?= =?us-ascii?q?CmGE2IoFQMhojUoIqghA1DxyBZ3iMEgEBAQ?= Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 14 Jan 2018 15:35:33 +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 w0EFYtVV025350; Sun, 14 Jan 2018 10:35:06 -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 w0EFYoF7179024 for ; Sun, 14 Jan 2018 10:34:50 -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 w0EFYp4G025348 for ; Sun, 14 Jan 2018 10:34:52 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1A/BQDyd1tafy0VGNZdHgEGDIMVKYFdJ?= =?us-ascii?q?48rjWmbRA+FNoRDQxQBAQEBAQEBAQETAQELFoYuGQE4ARWBO4hggToBAxUDAaw?= =?us-ascii?q?YOoMLBYEChFeBRgElBAiEPIE2X4NAhQuBDkQEhEkMgnYgBaNkjASJOoImhh2LW?= =?us-ascii?q?phhNoFyMhojUoIqggRBDxwZgU54jBIBAQE?= X-IPAS-Result: =?us-ascii?q?A1A/BQDyd1tafy0VGNZdHgEGDIMVKYFdJ48rjWmbRA+FNoR?= =?us-ascii?q?DQxQBAQEBAQEBAQETAQELFoYuGQE4ARWBO4hggToBAxUDAawYOoMLBYEChFeBR?= =?us-ascii?q?gElBAiEPIE2X4NAhQuBDkQEhEkMgnYgBaNkjASJOoImhh2LWphhNoFyMhojUoI?= =?us-ascii?q?qggRBDxwZgU54jBIBAQE?= X-IronPort-AV: E=Sophos;i="5.46,359,1511845200"; d="scan'208";a="173925" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 14 Jan 2018 10:34:49 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AwS+r/haBPBJOxKKjLzLshH//LSx+4OfEezUN459i?= =?us-ascii?q?sYplN5qZr82ybnLW6fgltlLVR4KTs6sC17KP9fi4EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQpFi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a7Xq?= =?us-ascii?q?Qx/RkxFIOgEYrZQI2xxreG2XHoTdVtemlaBwXUQj/TfIKeVqJUZQ=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BBBQAUd1tafy0VGNZdHgEGDIMVKYFdJ?= =?us-ascii?q?48rjWmbRA+FNoRDQxQBAQEBAQEBAQEBEgEBCxZdgjgigncZATgBFYE7iGCBOgE?= =?us-ascii?q?DFQMBrCI6gwsFgQKEV4FGASUECIQ8gTZfg0CFC4EORASESQyCdiAFo2SMBIk6g?= =?us-ascii?q?iaGHYtamGE2gXIyGiNSgiqCBEEPHBmBTniMEgEBAQ?= X-IPAS-Result: =?us-ascii?q?A0BBBQAUd1tafy0VGNZdHgEGDIMVKYFdJ48rjWmbRA+FNoR?= =?us-ascii?q?DQxQBAQEBAQEBAQEBEgEBCxZdgjgigncZATgBFYE7iGCBOgEDFQMBrCI6gwsFg?= =?us-ascii?q?QKEV4FGASUECIQ8gTZfg0CFC4EORASESQyCdiAFo2SMBIk6giaGHYtamGE2gXI?= =?us-ascii?q?yGiNSgiqCBEEPHBmBTniMEgEBAQ?= X-IronPort-AV: E=Sophos;i="5.46,359,1511827200"; d="scan'208";a="8098575" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from uhil3cpa06.eemsg.mail.mil ([214.24.21.45]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 14 Jan 2018 15:34:48 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;b447001f-f852-4e09-a937-46f767c8cef8 Authentication-Results: uhil19pa08.eesmg.mail.mil; dkim=permerror (key too small) header.i=@btinternet.com X-EEMSG-check-008: 260460590|UHIL19PA08_EEMSG_MP6.csd.disa.mil X-EEMSG-SBRS: 3.5 X-EEMSG-ORIG-IP: 65.20.0.218 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CDAABzdltah9oAFEFdHAEBAQQBAQoBAYMVggYnjyupLQ+FNoUGFAEBAQEBAQEBARMBAQEKCwkIKC+FURkBOAEVgTuIYIE6AQMVBKwsOoMLBYEChFeBRiYECIQ8gTaEH4ULgQ5EBIRJDIJ2IAWjZIwEiTqCJoYdi1gCmGE2gXIyGiNSgiqCBEEPEAyBZ3iMEgEBAQ X-IPAS-Result: A0CDAABzdltah9oAFEFdHAEBAQQBAQoBAYMVggYnjyupLQ+FNoUGFAEBAQEBAQEBARMBAQEKCwkIKC+FURkBOAEVgTuIYIE6AQMVBKwsOoMLBYEChFeBRiYECIQ8gTaEH4ULgQ5EBIRJDIJ2IAWjZIwEiTqCJoYdi1gCmGE2gXIyGiNSgiqCBEEPEAyBZ3iMEgEBAQ Received: from rgout0405.bt.lon5.cpcloud.co.uk (HELO rgout04.bt.lon5.cpcloud.co.uk) ([65.20.0.218]) by uhil19pa08.eesmg.mail.mil with ESMTP; 14 Jan 2018 15:34:46 +0000 X-OWM-Source-IP: 86.134.200.31 (GB) X-OWM-Env-Sender: richard_c_haines@btinternet.com X-RazorGate-Suspect: true Received: from localhost.localdomain (86.134.200.31) by rgout04.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as richard_c_haines@btinternet.com) id 5A5899C600318C9F; Sun, 14 Jan 2018 15:34:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1515944086; bh=zdBZokwEpBulW27WwbHdgyZHa76QVpoXBQGfFiRdWOU=; h=From:To:Cc:Subject:Date:Message-Id:X-Mailer; b=SzkaDAbdPWHofy9NTxG/GcrN8iZmCrkOpw2lyupvcjxYI6ZYfTglp8u9EWFmSt9CFxkX+8skbYtKASM9bicvyJFa4pNGGq+y85vp9AB3c20yoKHUrUYXU/Iu76wO2wLKXcpDdtZef66mIDZE/XpdOjOOj8ORQbOQaDGiGjhfzGY= X-EEMSG-check-009: 444-444 From: Richard Haines To: selinux@tycho.nsa.gov Date: Sun, 14 Jan 2018 15:34:36 +0000 Message-Id: <20180114153436.21916-1-richard_c_haines@btinternet.com> X-Mailer: git-send-email 2.14.3 Subject: [PATCH] libsemanage: Allow tmp files to be kept if a compile fails 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: Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP Add new option to semanage.conf that allows the tmp build files to be kept for debugging when building policy. Signed-off-by: Richard Haines --- libsemanage/man/man5/semanage.conf.5 | 8 ++++++++ libsemanage/src/conf-parse.y | 15 ++++++++++++++- libsemanage/src/conf-scan.l | 1 + libsemanage/src/direct_api.c | 21 ++++++++++++--------- libsemanage/src/semanage_conf.h | 1 + 5 files changed, 36 insertions(+), 10 deletions(-) diff --git a/libsemanage/man/man5/semanage.conf.5 b/libsemanage/man/man5/semanage.conf.5 index 8f8de55a..10cab65a 100644 --- a/libsemanage/man/man5/semanage.conf.5 +++ b/libsemanage/man/man5/semanage.conf.5 @@ -121,6 +121,14 @@ and by default it is set to "false". Please note that since this option deletes all HLL files, an updated HLL compiler will not be able to recompile the original HLL file into CIL. In order to compile the original HLL file into CIL, the same HLL file will need to be reinstalled. +.TP +.B retain-tmp +When set to "true", tmp directories (the sandbox at \fBstore-root/\fR[\fIpolicy-store\fR]\fB/tmp \fRand/or the final policy at \fBstore-root/final/\fR[\fIpolicy-store\fR]) will be retained after compilation to allow debugging of any build errors. Note that on a successful build the sandbox becomes \fBstore-root/\fR[\fIpolicy-store\fR]\fB/active\fR. +.br +The +.B retain-tmp +option can be set to either "true" or "false" and by default it is set to "false". + .SH "SEE ALSO" .TP semanage(8) diff --git a/libsemanage/src/conf-parse.y b/libsemanage/src/conf-parse.y index b527e893..f098e55d 100644 --- a/libsemanage/src/conf-parse.y +++ b/libsemanage/src/conf-parse.y @@ -61,7 +61,7 @@ static int parse_errors; %token MODULE_STORE VERSION EXPAND_CHECK FILE_MODE SAVE_PREVIOUS SAVE_LINKED TARGET_PLATFORM COMPILER_DIR IGNORE_MODULE_CACHE STORE_ROOT %token LOAD_POLICY_START SETFILES_START SEFCONTEXT_COMPILE_START DISABLE_GENHOMEDIRCON HANDLE_UNKNOWN USEPASSWD IGNOREDIRS -%token BZIP_BLOCKSIZE BZIP_SMALL REMOVE_HLL +%token BZIP_BLOCKSIZE BZIP_SMALL REMOVE_HLL RETAIN_TMP %token VERIFY_MOD_START VERIFY_LINKED_START VERIFY_KERNEL_START BLOCK_END %token PROG_PATH PROG_ARGS %token ARG @@ -95,6 +95,7 @@ single_opt: module_store | bzip_blocksize | bzip_small | remove_hll + | retain_tmp ; module_store: MODULE_STORE '=' ARG { @@ -268,6 +269,17 @@ remove_hll: REMOVE_HLL'=' ARG { free($3); } +retain_tmp: RETAIN_TMP'=' ARG { + if (strcasecmp($3, "false") == 0) { + current_conf->retain_tmp = 0; + } else if (strcasecmp($3, "true") == 0) { + current_conf->retain_tmp = 1; + } else { + yyerror("retain-tmp can only be 'true' or 'false'"); + } + free($3); +} + command_block: command_start external_opts BLOCK_END { if (new_external->path == NULL) { @@ -352,6 +364,7 @@ static int semanage_conf_init(semanage_conf_t * conf) conf->bzip_small = 0; conf->ignore_module_cache = 0; conf->remove_hll = 0; + conf->retain_tmp = 0; conf->save_previous = 0; conf->save_linked = 0; diff --git a/libsemanage/src/conf-scan.l b/libsemanage/src/conf-scan.l index 607bbf0b..e26c3494 100644 --- a/libsemanage/src/conf-scan.l +++ b/libsemanage/src/conf-scan.l @@ -54,6 +54,7 @@ handle-unknown return HANDLE_UNKNOWN; bzip-blocksize return BZIP_BLOCKSIZE; bzip-small return BZIP_SMALL; remove-hll return REMOVE_HLL; +retain-tmp return RETAIN_TMP; "[load_policy]" return LOAD_POLICY_START; "[setfiles]" return SETFILES_START; "[sefcontext_compile]" return SEFCONTEXT_COMPILE_START; diff --git a/libsemanage/src/direct_api.c b/libsemanage/src/direct_api.c index a455612f..5d2a443c 100644 --- a/libsemanage/src/direct_api.c +++ b/libsemanage/src/direct_api.c @@ -326,7 +326,10 @@ static void semanage_direct_destroy(semanage_handle_t * sh static int semanage_direct_disconnect(semanage_handle_t * sh) { /* destroy transaction */ - if (sh->is_in_transaction) { + if (sh->is_in_transaction) + semanage_release_trans_lock(sh); + + if (!sh->conf->retain_tmp && sh->is_in_transaction) { /* destroy sandbox */ if (semanage_remove_directory (semanage_path(SEMANAGE_TMP, SEMANAGE_TOPLEVEL)) < 0) { @@ -342,7 +345,6 @@ static int semanage_direct_disconnect(semanage_handle_t * sh) SEMANAGE_FINAL_TOPLEVEL)); return -1; } - semanage_release_trans_lock(sh); } /* Release object databases: local modifications */ @@ -1639,13 +1641,14 @@ cleanup: free(fc_buffer); - /* regardless if the commit was successful or not, remove the - sandbox if it is still there */ - semanage_remove_directory(semanage_path - (SEMANAGE_TMP, SEMANAGE_TOPLEVEL)); - semanage_remove_directory(semanage_final_path - (SEMANAGE_FINAL_TMP, - SEMANAGE_FINAL_TOPLEVEL)); + /* Delete sandbox unless requested by semanage.conf */ + if (!sh->conf->retain_tmp) { + semanage_remove_directory(semanage_path + (SEMANAGE_TMP, SEMANAGE_TOPLEVEL)); + semanage_remove_directory(semanage_final_path + (SEMANAGE_FINAL_TMP, + SEMANAGE_FINAL_TOPLEVEL)); + } umask(mask); return retval; diff --git a/libsemanage/src/semanage_conf.h b/libsemanage/src/semanage_conf.h index c99ac8c7..f7bba754 100644 --- a/libsemanage/src/semanage_conf.h +++ b/libsemanage/src/semanage_conf.h @@ -46,6 +46,7 @@ typedef struct semanage_conf { int bzip_blocksize; int bzip_small; int remove_hll; + int retain_tmp; int ignore_module_cache; char *ignoredirs; /* ";" separated of list for genhomedircon to ignore */ struct external_prog *load_policy;