From patchwork Fri Jan 13 15:00:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Smalley X-Patchwork-Id: 9515771 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 2A315601DA for ; Fri, 13 Jan 2017 14:58:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19F20286DE for ; Fri, 13 Jan 2017 14:58:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EAA92872F; Fri, 13 Jan 2017 14:58:19 +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 (smtp.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 2357A286DE for ; Fri, 13 Jan 2017 14:58:17 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.33,221,1477958400"; d="scan'208";a="2795481" IronPort-PHdr: =?us-ascii?q?9a23=3ArFHGLhNpPzRbVtSZpa8l6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0LP74ocbcNUDSrc9gkEXOFd2CrakV16yN6eu+CSQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx9GiTe5br5+Nhu7oRveusQXgoZpN7o8xAbOrnZUYe?= =?us-ascii?q?pd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbY?= =?us-ascii?q?VguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLmhy?= =?us-ascii?q?cdMz4y7X/ZhMp+gqlGpB6tvgJzz5LRbIyTKfFwfL7SfckCSGRBQMhfSiJPDIC7?= =?us-ascii?q?YYsXDecNIOhVoIbhqFUBsxS+HhKhBP/txzJSmnP7x7E23/onHArb3AIgBdUOsH?= =?us-ascii?q?HModvoKKcdT/i1zKnWwjXFcvhYxDL955LMchAlv/6NXa97fM3KyUYyDAPIlUmQ?= =?us-ascii?q?qIz5MDOV0eQBqW6b7/F6Wu61hG4nrB9xryGpy8wxiYfJnpoYxk3L+Ch22oo4Jc?= =?us-ascii?q?C0RFRlbdOrDpdcrTyWOo1rSc04WW5oojw1yrgetJ6+eygF1YooygbEa/yCb4iI?= =?us-ascii?q?+hXjVPuNITtghHJqZra/hxGq/Ei80OL8TMi00EtRriZfjtnNtmwC1xzU6sSdTP?= =?us-ascii?q?ty4lyh1iqV2wDW6+FEJVg4lavdK5E/3r49jocfvEvMEyPsmEj6kbWaelsr9+S2?= =?us-ascii?q?8ejrf63qppqGOI91jgH+PL4umsu6AekgKQgBQWyb+eW61L3+8kz1Wa5Fjvorkq?= =?us-ascii?q?nfrJ/VO98bq7WlAw5Vzokj6xG/Ay2g0NQDh3YLNl1FeBWZj4TxIVHBPOj4Deuj?= =?us-ascii?q?g1SriDprxffGPrv7DZXRLnjMirHhcK1/605bzgozyMpQ54lICr4fOvLzQVX9tN?= =?us-ascii?q?vCDh82Kwa02froCM1h1oMCXmKCGq2ZMKHIvlCU5eIvOO6MZIkUuDbjMPUl6fru?= =?us-ascii?q?jWI2mFAGYKmp24cXaG2iEvRhOUWZbmLmgs0dHmcSogo+UOvqhUWMUD5SY3ayWr?= =?us-ascii?q?wz5isgBYKoE4jMW4etgKab0yejBJ1WYWJGBU6QHnf0bYmEXO0MaC2KKM97jjME?= =?us-ascii?q?TaShS5Mm1Ry2qQD1179nLu3S+i0EqJ7uz8Z16PPJlREz9D10CMKd33uLT25qgm?= =?us-ascii?q?MCXyU207xnoUxh1leD1rB1jOFEFdNJ/fNESRs1NZnZz+NmEd/yQR7Bcs2PSFm4?= =?us-ascii?q?XtWsGSsxQc4pw98Sf0Z9HM2vjxDC3iqtBb8YjLmLBJgt/qLd2Xj9PcB9xGzc1K?= =?us-ascii?q?kijlkmXNVAOXeghqFh6wjZH5TJnFmBl6a2aaQc2zbA+3mbzWWUpkFYURVwXL7d?= =?us-ascii?q?XX8FfEvWrM/55lvGT7C0FbsoLBFNycmYKqtFctfpl0lJRO//ONTCZGK8g2mwBQ?= =?us-ascii?q?ySybOKcIXqen4d0T7YCEgckgAf5G2GNAYlBiu7pGLeFjNuH0r1Y0zw6el+tG+7?= =?us-ascii?q?TkgswgGJdUJh1L21+gMOiPyfUfwT3bUEuDo7pzVzBla90MrcC8CcqAp5YKVcfd?= =?us-ascii?q?Q97U9d2m3ErQx9P4KvL7p5i1EEbwt3ulni1xJtCoVPicIqtm8lzBJuKaKE11NM?= =?us-ascii?q?bzOY0o70Or3TLWn/5xSva7PK2lHZ1daZ4L0D6PMiq1XspAupDFYt821709lJ1H?= =?us-ascii?q?uR/o7KDAQIUZL2SUY36wN3p6rcYik66YLU0GdjMa+uvj/Exd0pGPMvygy8cNdH?= =?us-ascii?q?LKOECAjyHtUUBse0LOwqh0ambggfPO1J6q47IdmmeOCb2K6uJupgmyimjWtf6o?= =?us-ascii?q?Bnzk2M7zZ8SvLP35sd3/GXwxaIVzbmg1elqc34hYdEZTQOEWWl0ijkGJRdZqts?= =?us-ascii?q?coYXEW2uOdG4xs1ih57xXH5V7FijB1IC2M+tZxWSdEfw0hdO2kQNpnyrgyy4zy?= =?us-ascii?q?Z7kzsxtKqQwDTOw/j+dBoAImNLWmhigkvwIYizldAWRlSnbwgulBuj6kb33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LfgRzVmZj0nhIk/mg?= =?us-ascii?q?FM1ZTkQUg3+wT/EcalB4Ei8wrge25VjpbNgBv93Db3NP/bsLD4wGJb8n75eEFr?= =?us-ascii?q?EXxaMSwD9+oCE8+x6YBldZgxPNp7HcB4pg17ZC4i8+5PgwUUaRFWCMOlPbw5ar?= =?us-ascii?q?XpocjRxlpmrpgo+O5u0=3D?= X-IPAS-Result: =?us-ascii?q?A2FzBQAp6nhY/wHyM5BdGgEBAQECAQEBAQgBAQEBFQEBAQE?= =?us-ascii?q?CAQEBAQgBAQEBgxQBAQEBAR+BVxGOSpkmiFWGVCuIF1MBAQEBAQEBAQIBAmAoQ?= =?us-ascii?q?g4BgWIbgiMCJBMUIAsDAwkCFykICAMBHRAVHwsFGASIRwMLDbJJOiYChwgNglU?= =?us-ascii?q?mjXSBSAIRAWiFGAWQHYpdOI1VAYQDAopEhiUCSIlJiFRYcR4GAhAIGw86hGmBZ?= =?us-ascii?q?VUBhS56DxeCFwEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 13 Jan 2017 14:58:08 +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 v0DEvjVk028408; Fri, 13 Jan 2017 09:57:50 -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 v0DEvikE165912 for ; Fri, 13 Jan 2017 09:57:44 -0500 Received: from moss-pluto.infosec.tycho.ncsc.mil (moss-pluto [192.168.25.131]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id v0DEvhrA028402; Fri, 13 Jan 2017 09:57:43 -0500 From: Stephen Smalley To: selinux@tycho.nsa.gov Subject: [PATCH] libselinux: selinux_restorecon: only log no default label warning if recursive Date: Fri, 13 Jan 2017 10:00:16 -0500 Message-Id: <1484319616-7202-1-git-send-email-sds@tycho.nsa.gov> X-Mailer: git-send-email 2.7.4 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: Cc: alan.christopher.jenkins@gmail.com, Stephen Smalley MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP In commit 36f1ccbb574374 ("policycoreutils: setfiles: print error if no default label found"), a warning message was added to setfiles/restorecon if the user explicitly does a restorecon /path/to/foo and /path/to/foo does not have any matching label in file_contexts; in the case of a restorecon -R or setfiles, the warning isn't supposed to be logged. The check on the recursive flag got dropped when this logic was taken into selinux_restorecon(3) in libselinux. Restore this check so that we do not generate noisy log messages on restorecon -R or setfiles. Reported-by: Alan Jenkins Signed-off-by: Stephen Smalley --- libselinux/src/selinux_restorecon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libselinux/src/selinux_restorecon.c b/libselinux/src/selinux_restorecon.c index e38d1d0..f5fa8f5 100644 --- a/libselinux/src/selinux_restorecon.c +++ b/libselinux/src/selinux_restorecon.c @@ -613,7 +613,7 @@ static int restorecon_sb(const char *pathname, const struct stat *sb, sb->st_mode); if (rc < 0) { - if (errno == ENOENT && flags->verbose) + if (errno == ENOENT && flags->verbose && !flags->recurse) selinux_log(SELINUX_INFO, "Warning no default label for %s\n", lookup_path);