From patchwork Mon Nov 14 21:57:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9428503 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 AE84260471 for ; Mon, 14 Nov 2016 22:04:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE29128ACF for ; Mon, 14 Nov 2016 22:04:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A202A28AD2; Mon, 14 Nov 2016 22:04:17 +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 BE11628ACF for ; Mon, 14 Nov 2016 22:04:16 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,640,1473120000"; d="scan'208";a="924019" IronPort-PHdr: =?us-ascii?q?9a23=3AGK3n0hKBGHJGYKnEp9mcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgQKfnyrarrMEGX3/hxlliBBdydsKMfzbOO+Pm9BCQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx9GiTe5b75+Ngi6oRneusULgYZvKrs6xwfUrHdPZ+?= =?us-ascii?q?lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRne?= =?us-ascii?q?VgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gy?= =?us-ascii?q?gJLT459HzchNJ2gqxVvRmtowVzz5PIbI2QMvd1Y6HTcs4ARWdZXshfSTFPDI2/?= =?us-ascii?q?YYUIDeUBM/5Yoovgq1YAohSxGQaiC/30yjJTmn/737c33/g7HA3awgAtGc8Fvn?= =?us-ascii?q?TOrNXyMacfSfi7zKjUwjXEa/NZwyz945XLfBAmpvGMRqlwetfWxEkpFgPKklKQ?= =?us-ascii?q?qYj/MDOOzOgNsm+b7+17VeK0kGMnrg58oze1yscrkInJiZsYx1bZ/it62IY4Pc?= =?us-ascii?q?C0RUF0bNK+EJZcqjuWO5V5T888WW1kpT42x74btZKhfSUHyY4rywPBZ/CbaYSE?= =?us-ascii?q?/A7vWeSXLDxlnnxqYqi/iAy38UW4z+38UdS730hSoypel9nMqmgN1xvO6sibUv?= =?us-ascii?q?d9/lmu2TKI1w3L9uFLO1o0lavGK5462LIwipoSvljDHi/xgkn2irOZdl449eSy?= =?us-ascii?q?7uTnY7HmqoedN49ylA7+LrwjltGwDOk3KAQDX3WX9f6i2LDs40H1WqhGguUzkq?= =?us-ascii?q?bDsZDaIcobprS+Aw9Qyosj8AiwDzOn0NQegHkGI0tJdwmAj4j0PVHBPO73Deyk?= =?us-ascii?q?jlSwkDZk2/DGPrr7DpXLNXjMiq3tfbl6605C0AYz18xQ54pICrEdJ/L+QlT+u8?= =?us-ascii?q?ffAh89Mgy02PrnCM5n2oMFR22AHrWVMLjMvl+M5+IvJfSMZYAOtTnhK/kl/ePu?= =?us-ascii?q?jWQjlV4TZ6apwYAXaHe+Hvh8JEWZe3XsiM8bEWgWpgo+UPDqiFqaXDFNf3a9Rb?= =?us-ascii?q?g85jAgCI+9FYfMXJqtgL2a3CejGp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kn6wKxb?= =?us-ascii?q?pLh4L2nVWkpIejT6L2dlUqSsrLaCZdBA6I8wuyVNTOu8eUyaSqL6oxYC1iPjG3?= =?us-ascii?q?JSyy49dzyxpJX2gRh6iGaDI3ZptnbZf99/xQvH7tzGWfFRxiYGRDV/iTTPBViz?= =?us-ascii?q?Id+p/c6PmpfArO++UXmhVptNfin314+AszG75WJyCx2lg/+zgsHnERQ90SLjyd?= =?us-ascii?q?lqUzjHoQ3iYontyqu6Mfhrfk92C1/g88B6AJ1xkpMshJEM3ngXno2V8mAakWf3?= =?us-ascii?q?KthUxaP+bGYNRDISzd7a+g7l1FdkLnKTyILzTm+dzdd5Z9mmfmMW3Tow79hQB6?= =?us-ascii?q?eJ6LxLgzN1rUC+rQLNf/d9hCwQyeY16HEEmeEJoxAhzj6aArAPB0lXITLjlxqP?= =?us-ascii?q?79Cko6VYenyjcb6u20pihdqhFq2NohlAWHblfZcvBSFw4d95MFLQ133z75rpeN?= =?us-ascii?q?fOYt0OsR2UiQ3Pj/BPKJI2lPoFmzZoOX7nsX0i0e47ggRk3Yums4ifN2Vt4KW5?= =?us-ascii?q?DwZXNj31e8wT4DHsjb5CnsaRxI2vGItuGikQXJT0V/2oCCwdue7hNwmQDD02sm?= =?us-ascii?q?2bFqbHHQ+D9EdmqGrCE5WxOHGTIHkW08liRAWHK0NFmw0UWis1noIiFg+23sPh?= =?us-ascii?q?aFl26ioX5lHmthtG0vhoOAXnUmfDuAeobS85SIKFIBtY9A1C4l3aMciZ7uNzBC?= =?us-ascii?q?xX5IGurAmXJmycfQRIAnkDWlaYCFD7Irmu+d7A/vCeBuqkNfTOea2OpPdQV/eJ?= =?us-ascii?q?35KvyZdm/ziNNsWJJHZiCeE02ktZUnB9AcjZnC8PSyMPnSLXc8GbvAu8+jFwrs?= =?us-ascii?q?2n6PTkRhng6pWJC7tTLdVv/Au7gaadOOGOmil1MzFY1okDxXXQ0rgQwEYSiz1y?= =?us-ascii?q?dzmqCbkPqDXNQ7zKla9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1tMzKlyZpbM8xM4iQDXCNVrjWYvduyTtZO2c5qD5AWOddwp23yFLlCOJeP?= =?us-ascii?q?v308oqbvxWPB+zAgrFe6wy2+GqGiQ+1F/20eGwApJ2WEpUksFOYs83nd/U7TvV?= =?us-ascii?q?xu+OdbHLePh11roDlhBpBOGipJ1Xe9IltpVnlGruNaJL7Wc8FHQvkyZB6vOwAl?= =?us-ascii?q?GvI82UyG4110l2/jYyNurgta5zzdXw4sWCkamLfigzseqt28ND8bTJJJYzMhbz?= =?us-ascii?q?vFKw2FmCBXugpfZF9wW5wDBNZK5a0b15NO/sXeUUasNT0FXBt6OwIk1vpfkFVO?= =?us-ascii?q?sFmEdSDYFgWkb/DPvQNrfc2Jts6mMOz5/BtbioPgqO04978MR2e8lg2pXN/TtJ?= =?us-ascii?q?LzucOStkuWaqj4N/OzYWXbQDjLlxCwiq8uD4PW8CjLLApbN556xGImYZjmF2HG?= =?us-ascii?q?JglJKLwAJ0VFT6B6dctJrf1Aa89iZqkJ5bdnBgibSRP3BIyvsP5GI07ISjTQMy?= =?us-ascii?q?qN7u6yrZ/d4LHGVefgYcmMyGrdTKJsIpd28z/7FKn20YVG4Er5xu9t9l9mSVjB?= =?us-ascii?q?Ky2BtsruKR4L5Ma4akvvpZkpHTTIAJhujnbi2kZAeNcJTCGw9pQX1o9Z4m7qSe?= =?us-ascii?q?1kykjzrPFS97585Ikv+LBp1d27KrrOKflBqk9nBQWUBh92+ZozBmh/W3pRbfUV?= =?us-ascii?q?KPvLeqQZl8/uofjtF6ML8B2V5/BZadzfKkHdgMmwFC+TRgFfkQccrT4aMhGc2O?= =?us-ascii?q?Sbm691Tsalofb22l4371i5NB4Gw6hn5Z2Y9aqQuO/XcxzRwKAZVajsXMz+takj?= =?us-ascii?q?u0WI6vE+k74OYGN1aRW9EOcBTs4d2nvgzacywCIuCczDBbXg+OVHV30jgDLtgJ?= =?us-ascii?q?V9H0gSGvMIHLqE4YVekX0+m+zCLNEWdbpCmmmXHx6+DrAC0WKr6zeQIGR9gBHB?= =?us-ascii?q?yRfwQW2p7F/xsCB3XzDBz8v5nUpTTbm3Al1eXyy3Nk9kqDmPJhbntMLruaQp60?= =?us-ascii?q?E7KmrktNaWmWugPrNXGtfzJN2aISk6vlIYloYxRsC12YAGBdW9PMoR8GtgYffE?= =?us-ascii?q?7GOriSBBqb9dh4XC+sGV5unXHX64gq2cqrWC2DdYynwislEk8NygN/bO59qRQ/?= =?us-ascii?q?SzzGsRSihyugTbUx6ysLzboEgeOVaX30fThIwKItZZ0GEk2U784OgsXskz9Ble?= =?us-ascii?q?F4bHfP4Cviz8ODrqzlaZf9I3VzOR3yFRHl3rDVlyALI8137ovMLViXfQ/EUlRo?= =?us-ascii?q?1rd0zihRF6FIs4Jlww51gQ2CoMCxANaQqcDLGqG0vqMZcEWVIEaRSd07iwYr03?= =?us-ascii?q?0lFrwrOz+O/TavRxB68JNvlDiw6Om0ZUGpYNvK0RXr18fERd9LbNqQj+CojoRf?= =?us-ascii?q?zmlXs2Nf2pXM9a9cQZt3ot4gmhQRqv9YlM46wdiJ+Waq5OeYLMs9xk70d7+T4P?= =?us-ascii?q?cTRAgBp+jxO8Su0cof7s49jFv5qy6+auUqktS/8R9xcqG2R0l4Hwj0w7odHLy+?= =?us-ascii?q?dcTZXYiYX+8Q9XOXGFpJ3X0wJiJuoSNY2kYKxs93IdJygRP3gOJ8aZa+Eg4y9x?= =?us-ascii?q?NzXe/0dNAsIXZdIWJsXNmwFUilHxWL5J68rbHkSVBJt0d8818WX40i018YE7Uu?= =?us-ascii?q?b68jC6P5ff70tCP/lbliVjiMrCpPQJwfrVECUX+WOWawRpzSOCxZiNDOzw/eaV?= =?us-ascii?q?xNHPSVwGGi82U4FAJDuN4gGnXvC6lIn1XQOU5M7zh4g+dEGKSnyygqsFqKBMHv?= =?us-ascii?q?BEiinh2TheDI/1jeqPs9Ww8GtXqkFHEIFr4B3ZAqVQIJF7Ng7+lsa1XUVzGyr/?= =?us-ascii?q?eM7VdhoyouWW3f0D4/9jN0fkY48UPA4Ewarg6XVJVgtuVKL2vlGBUOIeftRmUu?= =?us-ascii?q?3LrmxV6Y97L68PPUSdq4LqrjhStVA2GxUlaLkuoTxGbkPOhhFaW77ouL4cjQsR?= =?us-ascii?q?SdF5tlFKGWKsP2I+4D3LVb9Lg6mVCfwV9CiTT6MVXkVsLCx+WRO01490d7uvg/?= =?us-ascii?q?9HrntMnjlhr/gyzzxmWBy8tDXpp6IK3zIg5L64uysatHxAT+WRiSHIBktfzPUE?= =?us-ascii?q?iqccEXXi6UembHkFcoTy/KFtJd78+ok5/3Q/fRIjcjUJXeu8ECHwlLqEDJGAvt?= =?us-ascii?q?xahR6NvtjObLCoICgdM7Qy0xTjSGZn3gjZhhZo/3MBQi+84988OIW9JcElyzKq?= =?us-ascii?q?GWjcdFYM5LlFv9fxtV4PUes5dFJgwGRl0sicRS0NRdfCG3g0jgg6c2pEdI9M6R?= =?us-ascii?q?4AG6kunDmIorFM/hsIbzfMDoSl5o7QkN/J2XkjV9hqwHnbpqmYhpw30X1lnMh0?= =?us-ascii?q?4jSJuHQIeOzSS9VsDWTr1odD1ez+YO2gsuIZR4toxrShVOQPM8e59muwxppqRl?= =?us-ascii?q?WpxrIAEFqlKOUD3KvUUz+5SW2EXuSGa2eMnzI+Mk/8+xaoKlk3ZdxRr086NOvC?= =?us-ascii?q?h4JTmxfnUbxqWiWavUXbw3A7MeMGawI2v5+qew4KTO8Rf+icIuwuwPwiCFQSdH?= =?us-ascii?q?LJGCp2C/OssVGzhoR7PG9g4Uria+T37g/mKMeSGgUDEYPCsp5x+Pm6S3mdOX9h?= =?us-ascii?q?0BJyP1d79+PFG1Q3qOBcb46bncLMiNRjze4Fa/BtPDU4ut4SmYJj6o6U3dyIcR?= =?us-ascii?q?7LzZbyItfVreaeA/HFyUQlZH1aWKIDYQzp/4U6IsI5W7rLELRCoxscA7Q6TYc6?= =?us-ascii?q?N2f186F0MB9zchDPa7upmMXqofiLZpRMrX/M8l0wNDvc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ascii?q?sMx/YkxClmoCI/syqBDl5QjRmI87TOE6Jmx71D5G44//dsUkGJXTzfbnDNypC6?= =?us-ascii?q?BMJX2SduvXfk2tLWvuBqMrtao5p0AFIUDi1rKNDd+ipBXn3q1weouRa0Aiiec3?= =?us-ascii?q?ol52MQKCgEcPtl5/NquxbPMNDa4AWfsLxyhlGsDFOtC7Gz3JVQQuDu0h6jIX1N?= =?us-ascii?q?cD6sE5lt7PdKk80JSaZ7dc65GV+XfVu2NR6Rpy1ZrEuimb+sF8cfhzxGnw=3D?= =?us-ascii?q?=3D?= X-IPAS-Result: =?us-ascii?q?A2FdDgCRMypY/wHyM5BeHgYMGQYMgwYBAQEBAR9YgQCmSwG?= =?us-ascii?q?UWScDgXiGMlMBAQEBAQEBAQIBAl8ogjMafls8AgQBAjcUIA4DCQEBFykICAMBL?= =?us-ascii?q?RURDgsFGASIQAQBsh8qAoNmh3SGPIYpgksRAWiFFQEEmkGBb4RNihaCSYdYhgp?= =?us-ascii?q?JkQVVWg04hRtxhU+CLQEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 14 Nov 2016 22:04: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 uAEM1xcb029075; Mon, 14 Nov 2016 17:02:01 -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 uAELvXCe097886 for ; Mon, 14 Nov 2016 16:57:33 -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 uAELvVpP027952 for ; Mon, 14 Nov 2016 16:57:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1C8AAAKMipYhyIeaIFeHQEFAQsBgzEBAQEBAXeBALcZhC4IiCpTAQIBAQEBAQITAQEBCgsJCR2FEgaBCVFXGYhhBAGyL4QSh3SGPIYpg0WFFQWaQYFvhE2KFoJJjWJJkQWBPIMHDIJAcYd8AQEB X-IPAS-Result: A1C8AAAKMipYhyIeaIFeHQEFAQsBgzEBAQEBAXeBALcZhC4IiCpTAQIBAQEBAQITAQEBCgsJCR2FEgaBCVFXGYhhBAGyL4QSh3SGPIYpg0WFFQWaQYFvhE2KFoJJjWJJkQWBPIMHDIJAcYd8AQEB X-IronPort-AV: E=Sophos;i="5.31,640,1473134400"; d="scan'208";a="5823164" 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; 14 Nov 2016 16:57:32 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AkVZRwh8EbL44m/9uRHKM819IXTAuvvDOBiVQ1KB4?= =?us-ascii?q?2ukcTK2v8tzYMVDF4r011RmSDN6dsqoP0raH+4nbGkU4qa6bt34DdJEeHzQksu?= =?us-ascii?q?4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1?= =?us-ascii?q?Ov71GonPhMiryuy+4ZPebgFGiTanfL9+MBq6oRjeu8QSnIBvNrs/xhzVr3VSZu?= =?us-ascii?q?9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnY?= =?us-ascii?q?UQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gy?= =?us-ascii?q?kFKjE56nnahMxugqxGrhyvpBtxzIzaYIyOKPZyYrnQcc8ASGZdQspcUTFKDIOm?= =?us-ascii?q?b4sICuoMJf5Wr4jhqFsJqRuxHxKsD/7sxD9PgX/2xrY62PkmHAHA3QwvA9UOsH?= =?us-ascii?q?DOo9XuLqsSUOe1zK7TzTXYdP5W3Djw6YfSfhAmu/GMUqt9fMzMwkcsDwPIlkic?= =?us-ascii?q?pZLhMj+Py+gBr2eW4/BuWO6zkWIqpQ58riCsy8sxkIXEh4MYxkrZ+Sln3Io5P8?= =?us-ascii?q?O0RFJ5bNOiDZBerTuVN5FsTcMnW2xouDg1yrkBuZOjeSgLx4krywTHa/yAd4iJ?= =?us-ascii?q?4g7jW/iNLjd4gnJleau/hwus/kS6ze38TMa03E5LripDjNbMqmgA2wHN5sWDUP?= =?us-ascii?q?dx41ut1DmV2w3d9u1IO045mKXDJ54k2LEwl54TsUrZHi/xnUX7lLKYeFk59OS0?= =?us-ascii?q?8+nnf7rrq5yTOIJsig7zMLwjmsmwDOU3KAQOWHKb+euk2b3l/E32XLJKjvksna?= =?us-ascii?q?nCqpzaJMMbpqmiAw9OyYss8BG/Dyqg0NsEg3YHN0hJeBeIgonmIV3OJ+r4Dfin?= =?us-ascii?q?j1S2jDhr3+zGPqHmApjVNXjMjrPhfbd7605Bxws+1sxf5pJIBbEBJ/L/QEnxtM?= =?us-ascii?q?fCARMjPAy0xPjnW51B0dYFVGaOBLKJGL/Dul+PoOQ0Kq+DY5FGliz6Lq0D5vXp?= =?us-ascii?q?iXYi0X4aerKylc8RaXu/Gv19ZUSeZmH3qtJdASENpAVoH7+is0GLTTMGPyX6ZK?= =?us-ascii?q?k7/DxuUI8=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0EdAgBeMipYhyIeaIFeHQEFAQsBGQYMg?= =?us-ascii?q?wYBAQEBAXeBAKZMkE2ELgiBeIYyUwEBAQEBAQEBAgECEAEBAQoLCQkdMIIzGIE?= =?us-ascii?q?AWzwGgQlRVxmIYQQBsi+EEod0hjyGKYNFhRUFmkGBb4RNihaCSY1iSZEFgTyDB?= =?us-ascii?q?wyCQHGHfAEBAQ?= X-IPAS-Result: =?us-ascii?q?A0EdAgBeMipYhyIeaIFeHQEFAQsBGQYMgwYBAQEBAXeBAKZ?= =?us-ascii?q?MkE2ELgiBeIYyUwEBAQEBAQEBAgECEAEBAQoLCQkdMIIzGIEAWzwGgQlRVxmIY?= =?us-ascii?q?QQBsi+EEod0hjyGKYNFhRUFmkGBb4RNihaCSY1iSZEFgTyDBwyCQHGHfAEBAQ?= X-IronPort-AV: E=Sophos;i="5.31,640,1473120000"; d="scan'208";a="923786" Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2016 21:57:32 +0000 Received: from localhost.localdomain (81-66-120-207.rev.numericable.fr [81.66.120.207]) (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 5E65F5649B9 for ; Mon, 14 Nov 2016 22:57:31 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 2/2] libselinux, libsemanage: swig: use SWIG_fail when an error occurs Date: Mon, 14 Nov 2016 22:57:12 +0100 Message-Id: <20161114215712.18962-2-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161114215712.18962-1-nicolas.iooss@m4x.org> References: <20161114215712.18962-1-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Mon Nov 14 22:57:31 2016 +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 Using SWIG_fail in the Python SWIG wrappers makes the wrapping function destroy/free the memory which could have been dynamically allocated before calling the wrapped function. This thus prevents possible memory leaks in the wrappers of set*con(), set*con_raw(), security_compute_*(), etc. Signed-off-by: Nicolas Iooss --- libselinux/src/exception.sh | 2 +- libsemanage/src/exception.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libselinux/src/exception.sh b/libselinux/src/exception.sh index a3ff83235ced..d6c8c71713ad 100755 --- a/libselinux/src/exception.sh +++ b/libselinux/src/exception.sh @@ -8,7 +8,7 @@ echo " \$action if (result < 0) { PyErr_SetFromErrno(PyExc_OSError); - return NULL; + SWIG_fail; } } " diff --git a/libsemanage/src/exception.sh b/libsemanage/src/exception.sh index a4095f4f8ba6..97bc2ae879f2 100644 --- a/libsemanage/src/exception.sh +++ b/libsemanage/src/exception.sh @@ -4,7 +4,7 @@ echo " \$action if (result < 0) { PyErr_SetFromErrno(PyExc_OSError); - return NULL; + SWIG_fail; } } "