Message ID | 20180422192148.7320-1-nicolas.iooss@m4x.org (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 E773560388 for <patchwork-selinux@patchwork.kernel.org>; Sun, 22 Apr 2018 19:25:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2BDD28806 for <patchwork-selinux@patchwork.kernel.org>; Sun, 22 Apr 2018 19:25:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C31102894E; Sun, 22 Apr 2018 19:25:15 +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 upbd19pa07.eemsg.mail.mil (upbd19pa07.eemsg.mail.mil [214.24.27.82]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F33BD28806 for <patchwork-selinux@patchwork.kernel.org>; Sun, 22 Apr 2018 19:25:12 +0000 (UTC) Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.2]) by upbd19pa07.eemsg.mail.mil with ESMTP; 22 Apr 2018 19:25:10 +0000 X-IronPort-AV: E=Sophos;i="5.49,314,1520899200"; d="scan'208";a="10985080" IronPort-PHdr: =?us-ascii?q?9a23=3AWqA37xbf6jNGa0SpFWQ7UNn/LSx+4OfEezUN45?= =?us-ascii?q?9isYplN5qZosmzYR7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVh?= =?us-ascii?q?sI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFR?= =?us-ascii?q?rhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xA?= =?us-ascii?q?HUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLn?= =?us-ascii?q?s65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD?= =?us-ascii?q?+t4b1rSBv1gykZMTA3/nzchshpgK5GvB6tohpyyJPWbo6ILvpzZqPTc80US2?= =?us-ascii?q?RCWchfSjRBD4GhY4YBEeUBJv1Vo5Xhq1YUsRezHxWgCP/pxzRVhnH2x6o60+?= =?us-ascii?q?E5HA/e3QwvA9UOsHDOo9XuKawcUue1zK7TzTXYcvhb3jH96InUfRAmpfGDR6?= =?us-ascii?q?lwfdDQyUkoEAPFlU6QpJfgPz6a2eUBqW+b7/BvVe+2jWMstgJ/oiC3y8sxhY?= =?us-ascii?q?TEiZgZx1DZ+Slj3oo4KsO0RFRmbdK8E5ZdtzuWOopyT884Q2xluTw2xqMGtJ?= =?us-ascii?q?KmeiUB1Y4pyATFa/OddoiF+hfjVOGMLjhmnH9lY7e/hwqq8Uin1+38StG40F?= =?us-ascii?q?ZUoSpBldnBrmwN2AbJ6siGV/t95V2t2SqP1g/P6uFEJlo4lazHJJ463rE8jJ?= =?us-ascii?q?8TsUXHHiPumUX2irGZdlk89+S15Onqba/qq5+BO4NulA3zPboiltaiDeggNw?= =?us-ascii?q?gBRWmb+eCy1L35+k35Ra1HjuYonandsZDaI9kbp6GgDwBO1YYj9hC/ACu439?= =?us-ascii?q?QDhnQHMFJEdw6Hj4juIV3OJuv4Au2lj1Sjlzdr2ejKPqf9DZXVMnjDjLDhcK?= =?us-ascii?q?5/605bzgo818xf55JOBbEHO//zWEjxtNrdDhAjKAy03/joCM9m1o8EXmKPGK?= =?us-ascii?q?CZOrvIsVCU/uIvP/WMZIgNtTb/Kfgq/eLhjXwimV8ae6mp3IUXZWu2HvRiPk?= =?us-ascii?q?WYbmHjgsoHEWcWowoyVuvqiEeNUTRLfXa9Q7o85i0nCIKhFYrDXp6ij6ef0y?= =?us-ascii?q?e9H51WemdGB0uNEXj2aYqLRe0AaCWIIs9uijYET6SuS5c91RGysw/306doLu?= =?us-ascii?q?3S+i0eqJ3sytx15+zImB4o6zN0FcOd33uKT2FukWMCXyU207xnoUxh1leD1r?= =?us-ascii?q?B1jOFEFdNJ/fNESRs1NZnZz+NmEd/yQR7Bcs2PSFm4XtWsGSsxQc4pw98Sf0?= =?us-ascii?q?Z9HM2vgQ7b3yWwGb8VlqeLCYcs8q3GxXjxJt19y27C1KY7k1YpXNFDNWq8hq?= =?us-ascii?q?5w7wLTHZLGk12Fl6a2cqQRxC/N9GGfzWWQuEFXTgtwXrvZXXAFZkrbttP55l?= =?us-ascii?q?vcQL+oDLQoKApBycqZJatNZdzll1JGRO3sON7GeWK+h3+wBQqUxrOLdIfre2?= =?us-ascii?q?Qc3CLbCEUflgAT+W+KNQk4Biu7pWLRFiZuFVHuY0Py7+ZysnW7QVEozwuSdU?= =?us-ascii?q?1uy6K1+gIJhfybU/4S0LMEuCMkqzpqBlawxNzWBMSdqApmZqVTe8s94E1A1W?= =?us-ascii?q?LbqQNyIoCgI7plhl4EfAR9p1nu2AlvCoVcjcgqq2snzARoKa2C1lNOazKY3Y?= =?us-ascii?q?vrN73SMmny/Qmja7XY21HFytqW/b0P6PsgoVX5oA6pDlYi82lg09RN0HuT/J?= =?us-ascii?q?bKDA0PUZ/qUUY47Rt6p7bHYiUn4IPUz3JsO7GusjDew9IpGPclyhG4cthFLa?= =?us-ascii?q?yEDg7yHNMAB8W1MuMlh12pYggDPOBI+64+J9mmeOee2K63IOZgmyqrgnhd74?= =?us-ascii?q?B5zE2M7DZ8S+7P35se2PGXwgqHWCn6jFe9s8D4g5pIZTcMEWqj0SLkHpJeZr?= =?us-ascii?q?VufYYXDmejO9e3ychjiJP2VH5Y8VGiC0kA2MC3ZRqYd0b90hFI1UQLvXynnj?= =?us-ascii?q?O1zyd6kzEzqaqfxzDOzv/5dBoBPW5KSmxigk3qIYSuidAVQlSoZRAzlBS5/U?= =?us-ascii?q?b627RbpKNnImjdW0hIezT2IH94UqurrbeCfdBA6IkzviVKVeSwe1eaSqTyox?= =?us-ascii?q?ECySPsA3NexCwndzGtopj5gR16h36BLHZ0tnrVY91/xRfY5NzaSv5cxT4GRC?= =?us-ascii?q?h+iTbNHFi8OMOl/dKOl5fMquq+TX6uVoVPcSn3yoONrC+75WxxAR2jhvyzgc?= =?us-ascii?q?PoEQw70S/9ytlrWj7FrA3kYonq0aS6MP5oflJyCF/69cV6Bpl0kpEsi5EIxX?= =?us-ascii?q?gampKV8GIdkWf0NdVb3bzxbGARSj4Mzd/Y+xPl2FB/IXKS3Y75UW+dwsR5bd?= =?us-ascii?q?mgfmwWwj4979xNCKqM77xLgy11okGjoALSf/d9mCwdyf0w534Gme0JvxAtzi?= =?us-ascii?q?qFCLAIAUZYJTDslwiP792mtKVYfnuvcbyu20pmh9+hCq2CrR9GWHviZ5ciBj?= =?us-ascii?q?F/7t9kMF7Wy33z7ZzkeMPMYt0NuB2UlA3Aj+dLJ54rkPoFmzZnM3rnvXI50+?= =?us-ascii?q?47kQBu3ZaisYiZLWVi4bm0AgBeNjLoZ8Mf4DftgrhCnsyOxYCgAo1hGikXXJ?= =?us-ascii?q?vvVf+oCCgdtenjNwuVDDI8q2ubGLrGEQ+R8khmqWjDE5exN3GYPHMZ18ltRA?= =?us-ascii?q?GBJExDhwAZRDY6n549Fg+038HhdUB55j4f5lHmthtM1uJoNx76UmjBvguobC?= =?us-ascii?q?k7SISHJhpM8g5C/1vVMdCZ7u9rESFX5JuhrBCKKmyefAlIA38GVVGDB1D5JL?= =?us-ascii?q?au/cPA8++aBuWgM/TOfa+CqetEV/eH3ZivyJdp/y6QNsWTOXlvF+A01VZGXX?= =?us-ascii?q?B+HcTZhygDRjcJly3Tdc6bpRa9+ipxrsyl9vTkRh7v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p/cqorp05BIIGnekb/+zwr3J5lH7+mWsC331wlt2oJRz+2E9pdDO?= =?us-ascii?q?FrqE7XWDpgY52wtJXpJ5BSTXRK9J2btVhZjF1nMzSlxppEN8FN/jkMUSBPoT?= =?us-ascii?q?qHptu9UslD1tJtApARPNh/o2/9F71AOJePuX06oLvvymXW+zokqle12C2zG7?= =?us-ascii?q?OkT+Je52AeGAIpKHqFp0YyEeQs6Xnd8krRsl9q4uhXHL6PglttoDxlBJBBGi?= =?us-ascii?q?5J1Wy5L1R0VHRGr/hVJ7nUc8NGR/k/fgOgOxs7FfE6xUOJ5l10kW3/YyNsqg?= =?us-ascii?q?tQ4zrdUBUsVSkJnrftniUTpdqpOTAGV55FbygtYineJg2HniBXuQpQZFtxW5?= =?us-ascii?q?AFGNpF/a8U3ZdM9MrYVUmsMT0FXABlNg8gy/pQi1NMsEWCdiDBFgeocfHPsg?= =?us-ascii?q?NpcsuPsMGpK+n28xldhoPhru84670JR2e6lg21XdDes4j8u8WStkuVaKf3Kf?= =?us-ascii?q?CzYWPaQTjXihCwmK0kAIXU8CjVLApbMYN1yX4+bZjmE27LMgxMJ7gHKEpDSa?= =?us-ascii?q?B6ddJGr/hGZ89+ZqkG57JiCwmaRhPrBIyvtuNJLkjSRTTZKyWO7PC/rZjU7b?= =?us-ascii?q?zHRujqftaMyGrfQ6JrIpd67iH2G7Lw3o9a/kr5xOtt9l9gRlfcKC2BqsruJh?= =?us-ascii?q?8Q5Ma+bETipoMmESnQAJhujHrn3ltAeNYPQy227JQYz4tU6HTqRuJi1Ujzq+?= =?us-ascii?q?lS+KN66YQs5rBp1MO0JbvTKftGsE9oGB6UBh5w+pUqGmh/SHhbYvUNJ/fJYa?= =?us-ascii?q?QZkcfupvj1F6MN7h2V9fZZadzaKE7fgcS/FiuTSRpfnAcGszIaKBWT1+Kdka?= =?us-ascii?q?9uVcmlvfT52l4q41WmIR4G0bFt5YOA+qWWoe/adAbewqYfVajrXMzzqK4gu0?= =?us-ascii?q?SI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6lJP3XQ?= =?us-ascii?q?+O7c/zmp0+flqKRnOthKQFrrpMEelYhyX52TheFob1i+iJvNqs7GtXq0BIEY?= =?us-ascii?q?dy7R3DA6VfPZR7NA/mlsmqWEhzHC//d9zVdhY0vuqZ2PsM6f1kN0TifY8bPg?= =?us-ascii?q?4Ey7Xi5HpUUAthUrj2s02dXeIMedRmSfTErmtP5YJnMa8PM0CXpIb2oTdQtF?= =?us-ascii?q?A2HAgpZacyrjNEeEnOkglVVr36ubEajAsTT8J5tVVKGW2uJGI0/yDHWrhNjK?= =?us-ascii?q?mNFPwV9S2eTqMKU0VvPCJxXRe12JF1druymvBHtGJGkT9nrPgszTNmWAO2uT?= =?us-ascii?q?fwqKIVxTIg5La4uS0EuXxETeWekCDIBE5BzPsQjqccDHDi5kK6YHUZaov9/q?= =?us-ascii?q?VnL9z69YY9+3Q/fQkjfyoeUOu7FS7wib+ID5eUsNJYgx6NpNnObaGtIicPLL?= =?us-ascii?q?g9zgjjR3dl2AjEgBlo6HcLQimn7NI8KoWyJ8IlxiuwGWfFb1sN46JJsM70tV?= =?us-ascii?q?EVVus2bU1uzH9k0sidSS0HXNbPFHotjgg4dWVEd4pO6BECF6kygzaHordJ8x?= =?us-ascii?q?oRYDfVDoSl4Jffkd3P2XknQtdg3njWqbGdhpM2zH1lnMt57imKuHsMbOHYS8?= =?us-ascii?q?tsDWLo1odDyOzxe+mtsvoZR4R40rihVuENMtW782usxJpqQlOlxqgZH1ehNO?= =?us-ascii?q?8Dx7HbUzqqSGGBXeSLcnOMnyoiMkPp5BmnNFs3aMBQo086KOvCiYZWlxf9Xr?= =?us-ascii?q?NsWiWQuVjbwXQmMewAaw02uIanewoNTOMKeeicJO4uz+M6CFsNaX/JACR3B/?= =?us-ascii?q?WxsV63k4hxI29g7lniYeTx7gDmN8OfGhseHo7ZqZ5+4ue3Rn+HOX98zB1yO1?= =?us-ascii?q?R09+jfF1QtrONcdYiencTIjdRhzeEFb+ttMTE6utMLmIJj7I6U0N2QcRHQ1Z?= =?us-ascii?q?b/PtfVreKdA/LBzkQmYGZaUqAWYQnt/YU1IsY5W6HPHbtepRkcHqY6QJk9OG?= =?us-ascii?q?rw96x5Nx1zfRDLZLS1g8jqoeSLaoFSp3DI8lJjZBvb7gYOzv2yUBxTc4Ghh3?= =?us-ascii?q?K0Jos5AD1GsY5DEBxjSa1OEMQEphHvIpmTg7rz39mw8ER+svRMsK33Eevi0Y?= =?us-ascii?q?ipmYJrUM4JtgSwID/NCfwz0QxeheOoj6KFi8GrU5HrZM8EWe5nQ2XMdr7BGM?= =?us-ascii?q?ClJymTPt7nJBUUzoaw++lSajzJOGb0Uq+du2uhPfRgp0A6zt8dHqLfzz0our?= =?us-ascii?q?fc3ta6J2RWvTyqonPBMpxDpEfLCurTU1McSfeM/Gt/W6xCa4zy+eo=3D?= X-IPAS-Result: =?us-ascii?q?A2DOAgC+4Nxa/wHyM5Bcg0koA4FbKIxKjBiDA4JPkDGBb?= =?us-ascii?q?BcYE4cHITQYAQIBAQEBAQECAWsogjUkglECJFUDCQJICAMBbAWDM4FXAwEBq?= =?us-ascii?q?Sczg3Rkg2aCLogMgVQ/gQ+ISoUIApdzCIFhhkuGCYxZkC2BJRw4gVIzGjCDB?= =?us-ascii?q?oIgF44ZbWIBjzgBAQ?= Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 22 Apr 2018 19:25:10 +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 w3MJP7hE030853; Sun, 22 Apr 2018 15:25:08 -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 w3MJMoK1044186 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Sun, 22 Apr 2018 15:22:50 -0400 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 w3MJMt3v030657 for <selinux@tycho.nsa.gov>; Sun, 22 Apr 2018 15:22:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1C6AAAI4NxalywbGNZcHgEMBoMYKIFeK?= =?us-ascii?q?IxKjBiDA4JPkDGCA4cyITQYAQIBAQEBAQECFAEBAQEBBhgGhieCI4M4gVcDAQG?= =?us-ascii?q?YYJBHM4N0ZINmgi6IDIFUP4EPiEqFCAKXcwiBYYZLhgmMWZAtgSUcggozGjCDB?= =?us-ascii?q?oIgFxGOCG2QGwEB?= X-IPAS-Result: =?us-ascii?q?A1C6AAAI4NxalywbGNZcHgEMBoMYKIFeKIxKjBiDA4JPkDG?= =?us-ascii?q?CA4cyITQYAQIBAQEBAQECFAEBAQEBBhgGhieCI4M4gVcDAQGYYJBHM4N0ZINmg?= =?us-ascii?q?i6IDIFUP4EPiEqFCAKXcwiBYYZLhgmMWZAtgSUcggozGjCDBoIgFxGOCG2QGwE?= =?us-ascii?q?B?= X-IronPort-AV: E=Sophos;i="5.49,314,1520913600"; d="scan'208";a="258125" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 22 Apr 2018 15:22:55 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AnMsNHRUNJM5zLReuqswfUZ/S2OXV8LGtZVwlr6?= =?us-ascii?q?E/grcLSJyIuqrYYxOOt8tkgFKBZ4jH8fUM07OQ7/i7HzRYqb+681k6OKRWUB?= =?us-ascii?q?EEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAA?= =?us-ascii?q?jwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba98IRmssQndqtQdjJd/JKo21h?= =?us-ascii?q?bHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJX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W67fcM8lMH7UL8JkiTNCULGgT8kk1BX9/AP5yr8yKO?= =?us-ascii?q?3S92VYsJ/4z9F66qXVkg167j17CcmRkimNQmh4k3lORmow26ZyrA=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0C7AADB39xalywbGNZcHgEMBoMYKIF?= =?us-ascii?q?eKIxKjBiDA4JPkDGCA4cyITQYAQIBAQEBAQECARMBAQEBAQYYBleCNSKCeYI?= =?us-ascii?q?jgziBVwMBAZhhkEczg3Rkg2aCLogMgVQ/gQ+ISoUIApdzCIFhhkuGCYxZkC2?= =?us-ascii?q?BJRyCCjMaMIMGgiAXEY4IbZAbAQE?= X-IPAS-Result: =?us-ascii?q?A0C7AADB39xalywbGNZcHgEMBoMYKIFeKIxKjBiDA4JPk?= =?us-ascii?q?DGCA4cyITQYAQIBAQEBAQECARMBAQEBAQYYBleCNSKCeYIjgziBVwMBAZhhk?= =?us-ascii?q?Eczg3Rkg2aCLogMgVQ/gQ+ISoUIApdzCIFhhkuGCYxZkC2BJRyCCjMaMIMGg?= =?us-ascii?q?iAXEY4IbZAbAQE?= X-IronPort-AV: E=Sophos;i="5.49,314,1520899200"; d="scan'208";a="12349899" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from updc3cpa05.eemsg.mail.mil ([214.24.27.44]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 22 Apr 2018 19:22:54 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;105804a5-1133-4ff5-9f43-43c29fc19856 Received: from localhost.localdomain (localhost [127.0.0.1]) by UPDCF3IC14.oob.disa.mil (Postfix) with SMTP id 40Tfct3LJczJ343 for <selinux@tycho.nsa.gov>; Sun, 22 Apr 2018 19:22:54 +0000 (UTC) Received: from UPDC3CPA04.eemsg.mil (unknown [192.168.18.11]) by UPDCF3IC14.oob.disa.mil (Postfix) with ESMTP id 40Tfcs5bsnzJ33s for <selinux@tycho.nsa.gov>; Sun, 22 Apr 2018 19:22:53 +0000 (UTC) Authentication-Results: UPDC3CPA04.eemsg.mail.mil; dkim=none (message not signed) header.i=none X-EEMSG-check-008: 240354000|UPDC3CPA04_EEMSG_MP20.csd.disa.mil X-EEMSG-SBRS: 3.5 X-EEMSG-ORIG-IP: 129.104.30.34 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0C6AAC03dxahyIeaIFcHgEMBoMYggYojEqMGIMDgk+QMYIDE4cfITQYAQIBAQEBAQECFAEBAQoLCQgoL4VQgiODOIFXBAGpJTODdGSDZoIuiAyBVD+BD4hKhQgCl3MIgWGGS4YJjFmQLYElHIIKMxowgwaCIBeOGW2QGwEB X-IPAS-Result: A0C6AAC03dxahyIeaIFcHgEMBoMYggYojEqMGIMDgk+QMYIDE4cfITQYAQIBAQEBAQECFAEBAQoLCQgoL4VQgiODOIFXBAGpJTODdGSDZoIuiAyBVD+BD4hKhQgCl3MIgWGGS4YJjFmQLYElHIIKMxowgwaCIBeOGW2QGwEB Received: from mx1.polytechnique.org ([129.104.30.34]) by UPDC3CPA04.eemsg.mail.mil with ESMTP; 22 Apr 2018 19:22:53 +0000 Received: from localhost.localdomain (abo-251-56-69.avi.modulonet.fr [85.69.56.251]) (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 467855646F3 for <selinux@tycho.nsa.gov>; Sun, 22 Apr 2018 21:22:16 +0200 (CEST) X-EEMSG-check-009: 444-444 From: Nicolas Iooss <nicolas.iooss@m4x.org> To: selinux@tycho.nsa.gov Date: Sun, 22 Apr 2018 21:21:47 +0200 Message-Id: <20180422192148.7320-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.17.0 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sun Apr 22 21:22:16 2018 +0200 (CEST)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org Subject: [PATCH 1/2] sestatus: resolve symlinks in path when looking for a process 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> Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/policycoreutils/sestatus/sestatus.c b/policycoreutils/sestatus/sestatus.c index b05e794cabe7..d7f198c2fa0d 100644 --- a/policycoreutils/sestatus/sestatus.c +++ b/policycoreutils/sestatus/sestatus.c @@ -61,6 +61,7 @@ int cmp_cmdline(const char *command, int pid) int pidof(const char *command) { /* inspired by killall5.c from psmisc */ + char stackpath[PATH_MAX + 1], *p; DIR *dir; struct dirent *de; int pid, ret = -1, self = getpid(); @@ -70,6 +71,11 @@ int pidof(const char *command) return -1; } + /* Resolve the path if it contains symbolic links */ + p = realpath(command, stackpath); + if (p) + command = p; + while ((de = readdir(dir)) != NULL) { errno = 0; pid = (int)strtol(de->d_name, (char **)NULL, 10);
"sestatus -v" uses /proc/$PID/exe symbolic link in order to find the context of processes present in /etc/sestatus.conf. For example, this file includes "/usr/sbin/sshd". On Arch Linux, /bin, /sbin and /usr/sbin are symbolic links to /usr/bin, so sshd process is seen as "/usr/bin/sshd" instead of "/usr/sbin/sshd". This causes "sestatus -v" to show nothing in "Process contexts:" for sshd, agetty, etc. Use realpath() to resolve any symlink components in program paths defined in /etc/sestatus.conf. This makes "sestatus -v" show the expected result: Process contexts: Current context: sysadm_u:sysadm_r:sysadm_t Init context: system_u:system_r:init_t /sbin/agetty system_u:system_r:getty_t /usr/sbin/sshd system_u:system_r:sshd_t Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- policycoreutils/sestatus/sestatus.c | 6 ++++++ 1 file changed, 6 insertions(+)