Message ID | 20180709182940.32725-1-vmojzis@redhat.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <selinux-bounces@tycho.nsa.gov> 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 DAAF6600CA for <patchwork-selinux@patchwork.kernel.org>; Mon, 9 Jul 2018 18:32:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD64028A04 for <patchwork-selinux@patchwork.kernel.org>; Mon, 9 Jul 2018 18:32:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF5D228DD9; Mon, 9 Jul 2018 18:32:27 +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 UCOL19PA11.eemsg.mail.mil (ucol19pa11.eemsg.mail.mil [214.24.24.84]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3237228A04 for <patchwork-selinux@patchwork.kernel.org>; Mon, 9 Jul 2018 18:32:25 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.51,330,1526342400"; d="scan'208";a="550358235" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.2]) by UCOL19PA11.eemsg.mail.mil with ESMTP/TLS/AES256-SHA; 09 Jul 2018 18:32:21 +0000 X-IronPort-AV: E=Sophos;i="5.51,330,1526342400"; d="scan'208";a="13593869" IronPort-PHdr: =?us-ascii?q?9a23=3AQwTQExA12+f5mq1DKiefUyQJP3N1i/DPJgcQr6?= =?us-ascii?q?AfoPdwSPn/ps+wAkXT6L1XgUPTWs2DsrQY07SQ6/iocFdDyK7JiGoFfp1IWk?= =?us-asc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Z8eVnyVAq?= =?us-ascii?q?+CKq/StkWI5u03KemWeIAVoCr9K+Qi5/P2j385m0UScrWq3ZsMb3C4GPVmI1?= =?us-ascii?q?uCbHrihtcBDGgLsREjTOzslF2CTCRfZ3GoX6Iz/js7Ep6pDZ/fRoCxh7yMxC?= =?us-ascii?q?e6HoBMZm9aClCMFm3oep6ZW/cPciKeOMlhnSIYVbK5UY8uyQmutBPmy7pgNu?= =?us-ascii?q?fU4jMXuon929hz5u3TiRYy+Cd1D8uDzW6CUXt4nmQSRz85xKp/u1Byyk+f0a?= =?us-ascii?q?hkhPxVDcFc5/RPUgc8KJHT0eh6C9HpVw3bYNiJUlGmTs+hATErQdI728UObF?= =?us-ascii?q?plG9W+khDD2DKnDKIJl7ORHpw56b7T33/0J8lh0XnGz7Uhg0MgQsRRKW2snr?= =?us-ascii?q?R/+BTLB47Vj0WZkL6ndaUa3C7R6miDyXSBvERGXw5sS6XEXWsSZkzOrdvn4E?= =?us-ascii?q?PCSqWhCbUjMgRazs6DJbFGatrzjVVJXP3jIsjRY3qtm2esAhaF3r2NbIvue2?= =?us-ascii?q?UYwirdElMJkw4N8nmbMgg+HD2uo3rEDDxpF1LgfV/j8fVkpHO8VE80wBmAb1?= =?us-ascii?q?d92Lqt5h4VmfucRusd3rIeoighrSl7HFem39/NDtqAvwthcLxHYdIz+1dLz2?= =?us-ascii?q?XZtxZyPpa4NaBtmkYecxhrv0Ppzxh3CZ9PkcstrHM31wdyKriX0FBGdzOFx5?= =?us-ascii?q?zwPafXKmbq9hC1d6HWwk3e0MqR+qoX8vs3tk/jvAC3GUo46HhoycVa036G6p?= =?us-ascii?q?XNFgoSXor7Ulwr+Bhiu7Hafi496pvI2nJ2Nam7rCTC284pBesi0RugZMtQMK?= =?us-ascii?q?KaGw/0D80aBtKhJPYsm1e3chIOJPpS+7IsP8O6a/uG37amPPx9kz27lmlH74?= =?us-ascii?q?V9002W+yp6VOHIw44Pw+uE0QufSzf8kFChv9jsmYBKfzESGXG/yTT/CY5KYK?= =?us-ascii?q?1yeogKCWK0LM2x3Nl+gYDiW2JA/l65G1wGwNOpeQaVb1Hl0wxfz0AXoWC5li?= =?us-ascii?q?ui1Dx5iC8pobSF3CPV3uTicQALOmlRRGltlV3sO5S7j8gGXEi0aAgkjB2l5U?= =?us-ascii?q?f+x6hfuqt/NHLeTl1WcCjsKGFuSKywtqCNY8RX8pMnrT1XUPigYVCdUrP9vR?= =?us-ascii?q?oa3D//H2tZ3jA3bS2lupX+nxx8h2KQN3JzrHvfec5q3xff48bQRflL3joJXC?= =?us-ascii?q?N4kyXYBkCgP9m1+tWZj5PDsuGlV2K9T5FTajfkzYeBtCu9+G1rDgayn+urmt?= =?us-ascii?q?3mFwg60DP018JwWSXOshn8fpHh176mPuJ/YkloGFj85tJgGoF5loswgI8f2W?= =?us-ascii?q?IGiZWS83sKinzzMchH1qLldnYNQiQLw9HN6gj/xEJjNm6Jx57+VniFwctued?= =?us-ascii?q?+6YngN1yI+8c9KDryU7LpakitpuFa4qhjRYfdllDcH1fQu8GIag/0OuAc11i?= =?us-ascii?q?WSGK0SHU1GMiz0jRuI6cy+o7tNZGu0bLiwz1Rxncq6DL2YuQFcX2v5eo0+Ei?= =?us-ascii?q?Bu4MV/N0jM0HLt5Y3+ftnfc84TvAWOkxjcl+hVNI4xlv0SiCp5P2LyoGYoy/?= =?us-ascii?q?A9jRNz3ZG2po6HJHtx/KihGB5XKiX1Z98P+jHqlatehtyZ352rHph6BjoLXY?= =?us-ascii?q?foTPKxHDIcr/vnMRyCEDomqneUAbDfBxOQ6F96r3LTFJCmL3KXJXkdzdp8Xx?= =?us-ascii?q?SdIUtfgA4aXDokgp45CgCqxMvkcEhn/DwR4ED3qgdUwOJyKxb/SnvfpBuvaj?= =?us-ascii?q?osRpiQNhxW7h1F50fQKsGe4Px8EDxf/p27tgONMnabZwNKDW4XRkOEG0rvPr?= =?us-ascii?q?605dnP6+KYHPaxL+PSYbWSruxTT/mIxYix3YR75DaDLMOPPmVlD/0gwUdMR2?= =?us-ascii?q?x2G8HDlzUIUSwXmDrHb9SHqxek5i13sse//ezwVw304oePD7pSMc5z+xCtm6?= =?us-ascii?q?uDLPCfizpjJTZDyJwMwX7IyL4C3F8dkCxhazmsEa4dtS7WVq7RlLVYDwIAay?= =?us-ascii?q?N0MstE9aU83hNCOcTDkNP6yqZ4juIpC1dCTVHugcCpZcMNI2G7L17IGViEO6?= =?us-ascii?q?+HJTLRxcH7e6S8SadfjO9MrR2/pS6bE1P/PjSEjzTmTR+vPvtSjC6FJxFev5?= =?us-ascii?q?m9fQhrCWjmVt3maxm7P8RwjTw527E0gWnKNWEEOzhmb0xNtqGQ7T9fgvhnB2?= =?us-ascii?q?xB6X9lIfOemyae7ujXNJAWvuBxAiRzie1a4283xKdS7CFBWPN6gjDSrsJ0r1?= =?us-ascii?q?GgjOaP1iJtUABSpTZTmIKLoUJiNL3b9plAWXfE5BUN7WGRCxQWudRoEdjvu6?= =?us-ascii?q?FMytjViq3/MjBC88jb/cEEHcjbNNqHMGY9MRruADPbEhMFQiSxNWHenExQi+?= =?us-ascii?q?mS+WePrpg7sZjsgJ4ORaVHW1MrDP8aDV5lHNMaKpdtQjwkiaKbjNIP5Xemqh?= =?us-ascii?q?neWt9VvpTcW/KRBvXvMyqZgqNCZxsTwrP4LJ4fNovl1Ex+clN6hpjFG1LMXd?= =?us-ascii?q?BRpS1sdhU0r1tW8HdgVGIzwV7qagO27XAIFP60hAM5igxwYeQ17jfj/Vc2Kk?= =?us-ascii?q?DMpCQujEk7gc/ljiyJcD7tMKewWplbBDfuuEgvM5P0Xh11YBaokkx+LjfEQL?= =?us-ascii?q?xQj6B+em93lQ/co5pPGeJcTKFeZh8f2+2Xbe0y0VtAsiWn2VNH5ezdBJtmkw?= =?us-ascii?q?sqa4Cjr3RB2gJkd9M1KqrQJLdTwlhXnKKOsTei1votzw8GO0YN7GSSdTYTuE?= =?us-ascii?q?MWMrkmJiyo/vFj6AGZhzRDf20MWOYwrfJx6kMxI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-ascii?q?p0Rdykpej/1EIt+UKxLgUazLB3+IeL5raIpPLNbxTP17QEXbLqRszrpLQ2p0?= =?us-ascii?q?yS/eEklKIJemFtZg2nF+4dVtISxmj+1q0qyCMsHNnFH73+5P5CWXU5nijjm5?= =?us-ascii?q?BmBVkWHO0bHaaT94REgmg4g/DZNsERcq1anmaPDhukH78ZxH6l9SSYPW5lgg?= =?us-ascii?q?vU3BHoW2Oz6132ojFkTivQ1dvjlVBVVravD0dIQyWpIVN4sC+IPAfwtdr2uL?= =?us-ascii?q?4641sqPWH/r9KCinehN61LEMHlI9ycOyY0rkoNjJItXtyvxZwbGd2lLdgK8X?= =?us-ascii?q?F+dfXf5Hmpky9Av6dHn5DR4tyR+vjMAXagiLCVpKuXyzBF0Hg4uks/5cq6Ov?= =?us-ascii?q?HJ/d2KTOyi13wNQCdnpwvBQxm1p6TDr18OJUyEzEfLmYINPtFD3nk0z1rm6/?= =?us-ascii?q?YnQNIy8gVeC4nBaugapT/pJDv73VafYtwwVimE0DtbBFH1HkdiGKg6xm3wuN?= =?us-ascii?q?jFlXDK+10nXoNwbVDohQRrD4UkLkIg8FcXzTQFEQgRbhCbC7akBV/7IosAVE?= =?us-ascii?q?gDbwmH3behd6czw0Jz2LOu6/XJYex6GaUNKu5XjhSSk1hDBpIWraoeTap6e1?= =?us-ascii?q?9c6KHXoQziBJL8X/T8lHowMvq1QttB8c0Csnsv7Qm+SwCn6ZdZ4LYRkIqIeb?= =?us-ascii?q?JcYZjQoMB86F9q5TETeSxWmxhzlg63X+8aquDi5NjbrZWp5/2hVKYoXeoX8Q?= =?us-ascii?q?Y7C355j5vqj1ApucvX2PtESo3JlYT/9xhAI3yNuIba1RlwM/YBK4KvfLZ96n?= =?us-ascii?q?oGJikeJ3QVPdqVavkx+DFtMDTN51NYBsMDeNIYMNDLmQ9Klk3jQKtT+dbDGl?= =?us-ascii?q?+EF4dzcNgl72vpyD8v95sxSeLg6CKrKpDe6FFNJOlPjCJ2lNLNvOIV2+b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GAsFCsaOsJt2++67XUqbNHNgxQE0N0?= =?us-ascii?q?5xobSMX28tv/NRJs7C1ePbgM52hKtcL603YyQgpt4enJ5i4oCI0cCMNAvc1Y?= =?us-ascii?q?v2OcqK+aqFG/fTlhUyczkDFLcUZBj6oYAzP9p/XrzXTt479RgfBK1vRpsnOi?= =?us-ascii?q?+x8axvNwp8f0bXY6j8mcjloO+HJ9NUqnba40h2LXLavBsOxw=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2C0AAAiqUNb/wHyM5BdGgEBAQEBAgEBAQEIAQEBAYMfJ?= =?us-ascii?q?2UjShIoi35fow8UgWEQGAMRhyg0GAECAQEBAQEBAgFsHAyCNSSCZQI3FCAOA?= =?us-ascii?q?wkCQAgIAwEtFR8LBRgEgn8BKIFXA6wwhFuDcYE6ikQ/hXKCcwESAWyFCQKND?= =?us-ascii?q?oxBCYVWMokRC4IFhgKFVQGSEIFBOGFxTSMVO4JpCYtchG9tfBSKaYI5AQE?= Received: from tarius.tycho.ncsc.mil (HELO tarius.infosec.tycho.ncsc.mil) ([144.51.242.1]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 09 Jul 2018 18:32:20 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus.infosec.tycho.ncsc.mil [192.168.25.40]) by tarius.infosec.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w69IV32o021605; Mon, 9 Jul 2018 14:31:18 -0400 Received: from tarius.infosec.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 w69IUru1008092 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Mon, 9 Jul 2018 14:30:53 -0400 Received: from goalie.tycho.ncsc.mil (goalie.infosec.tycho.ncsc.mil [144.51.242.250]) by tarius.infosec.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w69IV1DH021603 for <selinux@tycho.nsa.gov>; Mon, 9 Jul 2018 14:31:01 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1D/AACHqENbly0bGNZdHAEBAQQBAQoBA?= =?us-ascii?q?YMfJ2VtEiiLfl+LVoUAAZI4gXoLGxGHByE0GAECAQEBAQEBAhQBAQEBAQYYBky?= =?us-ascii?q?IE4MgASiBVwObMZB/hFuDcYE6iG6BVj+FcoNzhQkCmU8JhVYyiRELggWGAoVWk?= =?us-ascii?q?hCBQYIKTSMVgyQJgimJM4RvbYEQjSIBAQ?= X-IPAS-Result: =?us-ascii?q?A1D/AACHqENbly0bGNZdHAEBAQQBAQoBAYMfJ2VtEiiLfl+?= =?us-ascii?q?LVoUAAZI4gXoLGxGHByE0GAECAQEBAQEBAhQBAQEBAQYYBkyIE4MgASiBVwObM?= =?us-ascii?q?ZB/hFuDcYE6iG6BVj+FcoNzhQkCmU8JhVYyiRELggWGAoVWkhCBQYIKTSMVgyQ?= =?us-ascii?q?JgimJM4RvbYEQjSIBAQ?= X-IronPort-AV: E=Sophos;i="5.51,330,1526356800"; d="scan'208";a="319245" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.34]) by goalie.tycho.ncsc.mil with ESMTP; 09 Jul 2018 14:31:01 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AIrVVUBEVa3gShXxXkt/atZ1GYnF86YWxBRYc79?= =?us-ascii?q?8ds5kLTJ79rsuwAkXT6L1XgUPTWs2DsrQY07SQ6/iocFdDyK7JiGoFfp1IWk?= =?us-ascii?q?1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBA?= =?us-ascii?q?j0OxZrKeTpAI7SiNm82/yv95HJbAhEmDuwbaluIBmqsA7cqtQYjYx+J6gr1x?= =?us-ascii?q?DHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PG?= =?us-ascii?q?Au+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VD?= =?us-ascii?q?K/5KlpVRDokj8KOSM5/m/JhMJ+j7lWrA69qxFl34LYfJ2ZOOZ4c6jAfd0aX2?= =?us-ascii?q?1BXsNJWiNOA4O8c5YEAe0GPeZaroj9pkAOpga5CAmyAePvzT1Ih3733a0hyO?= =?us-ascii?q?khCx/J0xEgH90UrHTYtsn6NKAXUe2syqTD0DbNb+tO1Dvj9YTFfQotre+DUL?= =?us-ascii?q?5qb8bcy1MjGgzFg1mIqIHoPimZ2vkOvmWZ9eZsS+yihmA9pwxzrDWiwNonhJ?= =?us-ascii?q?PTiYIP0F/E8D10wIYrKt28T052edCrHoFeuSyEOYZ7XNksTn10tCs70LEJp4?= =?us-ascii?q?C0fC0RyJQo3RLfbuaIc4mM4h75UeaRIDN4iGpkeLK5mRmy7VCtxvPhWsS7yl?= =?us-ascii?q?pGsCVInsPSun0PzRDe5ciKRuN4/ki72DaP0w7T6vtDIUAxjafbNZshwrkylp?= =?us-ascii?q?sSsETDBTT7mF/og6CLdkUr4PSo5/77bbXho5+QL5V0hR3mMqQyhsy/Bvw1Mh?= =?us-ascii?q?MQUGif+OS80qDj/ELiTbVWjvw5jqnZsJfAKcQdva62GRVZ0okk6xahXH+a14?= =?us-ascii?q?EDkH0GKk9VUA6WhIjufVfVKbb3CunsrU6rlWJVxuyOG7rjEJTWZizdlbDjb7?= =?us-ascii?q?dmw1RRxAo60ZZU4JcCWeJJG+76RkKk7I+QNRQ+KQHhm7y9WtxgyoMTX36OCa?= =?us-ascii?q?aFMaTU9EWF/f8rP/LTPd0IoDzxcqk97qa3y3I0nEQSO6yg3J9RbXG8TbxqIE?= =?us-ascii?q?ScNHzrhNpJUWIHpRE3Q+GijlqeGSVSaHC/U+N05jwyBI+8S4aWQIerjbE=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0D/AAAiqUNbly0bGNZdHAEBAQQBAQo?= =?us-ascii?q?BAYMfJ2VtEiiLfl+LVoUAAZI4gXoLGxGHByE0GAECAQEBAQEBAgETAQEBAQE?= =?us-ascii?q?GGAZMDII1IoUwgyABKIFXA5sxkH+EW4NxgTqIboFWP4Vyg3OFCQKZTwmFVjK?= =?us-ascii?q?JEQuCBYYChVaSEIFBggpNIxWDJAmCKYkzhG9tgRCNIgEB?= X-IPAS-Result: =?us-ascii?q?A0D/AAAiqUNbly0bGNZdHAEBAQQBAQoBAYMfJ2VtEiiLf?= =?us-ascii?q?l+LVoUAAZI4gXoLGxGHByE0GAECAQEBAQEBAgETAQEBAQEGGAZMDII1IoUwg?= =?us-ascii?q?yABKIFXA5sxkH+EW4NxgTqIboFWP4Vyg3OFCQKZTwmFVjKJEQuCBYYChVaSE?= =?us-ascii?q?IFBggpNIxWDJAmCKYkzhG9tgRCNIgEB?= X-IronPort-AV: E=Sophos;i="5.51,330,1526342400"; d="scan'208";a="13593767" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from updc3cpa06.eemsg.mail.mil ([214.24.27.45]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 09 Jul 2018 18:31:00 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;104329f5-0611-4e25-9546-60ef9dad74d0 Received: from localhost.localdomain (localhost [127.0.0.1]) by UPDCF3IC08.oob.disa.mil (Postfix) with SMTP id 41PYmz5PQRz34qRh for <selinux@tycho.nsa.gov>; Mon, 9 Jul 2018 18:30:59 +0000 (UTC) Received: from UPBD19PA01.eemsg.mil (unknown [192.168.18.2]) by UPDCF3IC08.oob.disa.mil (Postfix) with ESMTP id 41PYmz1ctcz34qRs for <selinux@tycho.nsa.gov>; Mon, 9 Jul 2018 18:30:59 +0000 (UTC) Authentication-Results: upbd19pa01.eemsg.mail.mil; dkim=none (message not signed) header.i=none X-EEMSG-check-008: 314695317|UPBD19PA01_EEMSG_MP1.csd.disa.mil X-EEMSG-SBRS: 5.2 X-EEMSG-ORIG-IP: 66.187.233.73 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ClAACRp0NbmEnpu0JdHAECBAELAYMggQxtEiiLfl+QVpI5gXoLGxABhyg0GAECAQEBAQEBAhQBAQEBAQgLCwYpIwyIB4MgASiBV6wzhFuDcYE6ikQ/hXKDc4UJAplPCYVWMokRC4E0UYYChVUBkhCBQYIKTSMVgyQJgimJM4RvPTCBDgEBjSIBAQ X-IPAS-Result: A0ClAACRp0NbmEnpu0JdHAECBAELAYMggQxtEiiLfl+QVpI5gXoLGxABhyg0GAECAQEBAQEBAhQBAQEBAQgLCwYpIwyIB4MgASiBV6wzhFuDcYE6ikQ/hXKDc4UJAplPCYVWMokRC4E0UYYChVUBkhCBQYIKTSMVgyQJgimJM4RvPTCBDgEBjSIBAQ Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) ([66.187.233.73]) by upbd19pa01.eemsg.mail.mil with ESMTP; 09 Jul 2018 18:30:57 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 80C154074476 for <selinux@tycho.nsa.gov>; Mon, 9 Jul 2018 18:30:54 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.43.12.116]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2226C2166BA2 for <selinux@tycho.nsa.gov>; Mon, 9 Jul 2018 18:30:53 +0000 (UTC) X-EEMSG-check-009: 444-444 From: Vit Mojzis <vmojzis@redhat.com> To: selinux@tycho.nsa.gov Date: Mon, 9 Jul 2018 20:29:40 +0200 Message-Id: <20180709182940.32725-1-vmojzis@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Mon, 09 Jul 2018 18:30:54 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Mon, 09 Jul 2018 18:30:54 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'vmojzis@redhat.com' RCPT:'' Subject: [PATCH] python/semanage: Fix logger class definition X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" <selinux.tycho.nsa.gov> List-Post: <mailto:selinux@tycho.nsa.gov> List-Help: <mailto:selinux-request@tycho.nsa.gov?subject=help> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
On Mon, Jul 9, 2018 at 8:29 PM, Vit Mojzis <vmojzis@redhat.com> wrote: > > Test if audit module is enabled so that logger class is defined > correctly. > > Fixes: > "semanage fcontext -l" fails with "OSError: Protocol not supported" when > booting with audit=0 > > Signed-off-by: Vit Mojzis <vmojzis@redhat.com> > --- > python/semanage/seobject.py | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/python/semanage/seobject.py b/python/semanage/seobject.py > index e5c81a7d..29b4afe0 100644 > --- a/python/semanage/seobject.py > +++ b/python/semanage/seobject.py > @@ -101,6 +101,8 @@ ftype_to_audit = {"": "any", > > try: > import audit > + #test if audit module is enabled > + audit.audit_close(audit.audit_open()) > > class logger: > This looks good to me (Ack). For future reference, I was wondering whether audit.audit_open() returns -1 or raises an exception if it fails to open the audit log, and found the answer in audit's source code (it raises an OSError, as expected [1], so the new code is fine). While reviewing your patch, I encountered the bare "except:" right after the definition of class logger. The exceptions which cause the use of the fail-over logger class are not explicitly written and this could cause issues, for example when someone tries to interrupt the program with Ctrl-C while the code executes. Would it be possible to replace this "except:" with "except ImportError, OSError:"? (This could be done in another patch). Thanks, Nicolas [1] https://github.com/linux-audit/audit-userspace/blob/v2.8.4/bindings/swig/src/auditswig.i#L27-L33)
diff --git a/python/semanage/seobject.py b/python/semanage/seobject.py index e5c81a7d..29b4afe0 100644 --- a/python/semanage/seobject.py +++ b/python/semanage/seobject.py @@ -101,6 +101,8 @@ ftype_to_audit = {"": "any", try: import audit + #test if audit module is enabled + audit.audit_close(audit.audit_open()) class logger:
Test if audit module is enabled so that logger class is defined correctly. Fixes: "semanage fcontext -l" fails with "OSError: Protocol not supported" when booting with audit=0 Signed-off-by: Vit Mojzis <vmojzis@redhat.com> --- python/semanage/seobject.py | 2 ++ 1 file changed, 2 insertions(+)