From patchwork Fri Jan 13 20:31:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Smalley X-Patchwork-Id: 9516367 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 546AA60761 for ; Fri, 13 Jan 2017 20:28:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4749D2874B for ; Fri, 13 Jan 2017 20:28:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C5B328784; Fri, 13 Jan 2017 20:28:57 +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.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (smtp.nsa.gov [8.44.101.9]) (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 6EC5B2874B for ; Fri, 13 Jan 2017 20:28:56 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.33,223,1477958400"; d="scan'208";a="2288999" IronPort-PHdr: =?us-ascii?q?9a23=3AvwJdVx8guRm9Gf9uRHKM819IXTAuvvDOBiVQ1KB5?= =?us-ascii?q?0ekfIJqq85mqBkHD//Il1AaPBtSHrakewLON7+jJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMizexe71/IAu5oQnMuMQbjpZpJ7osxBfOvnZGYf?= =?us-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gLObxCe7BJpWZmJYBV+QDXfkbYKEW+0DaCiKOM9ujiQE?= =?us-ascii?q?VaS9S48mzRyhqRP1y79gLurS5i0UqInu1MZr6O3JlBEz9Dt0D8KH32GLUW50gn?= =?us-ascii?q?sCRyUq06BnvUx91lCD3LBljPxED9NT/ehEXRs9NZ7Z0+N1EcvyWh7bctePVlmm?= =?us-ascii?q?Xs2sASstQdIp398Of0F9Fs2ijxHC2CqqBaQYl7mPBJAt86Lc2WL9J8BnxHbc16?= =?us-ascii?q?khjkcmTdVVOW2gmKF/6xDZB5TVnEWBi6aqaaMc0TbT+2eb12WOpkBYUBVrXKXd?= =?us-ascii?q?R38ffErWrc/h5kPGVbChFaooPhFGyc6YJatAcsfpgkleRPf/JNTeZHq8m2mqBR?= =?us-ascii?q?mSwLODcIvqe34G0SXYEEgEkhkf/W2INAglHCuhpHjeDDN2H1L1f0zs6fV+qG+8?= =?us-ascii?q?TkIszAGFdU5h172o+hMOhvyTUfAT3rUZuCs7rDV0Blm91crMC9WcvwphYLlcYd?= =?us-ascii?q?Ql7VhdyG3ZrQ19MYK6L615nFERbwF3s1np1xVtBYVKidIqo28yzApuNaKY10tM?= =?us-ascii?q?dzOG0pD0Pr3XLXL//BSya67K3VHe1cyZ9r0I6PQipFXppBupGVY683V7z9lV1G?= =?us-ascii?q?OR5o7EDAoIVpLxSVo3+gNhp7HcZSk86YbU2mdqMaWutD/Nxc4pDvM/yhm8Z9df?= =?us-ascii?q?LL+EFAjqHswUHceuLPAqlEazbhIfJ+1S6rA7P9m9ePub3a6nJuFgnCipjW5f+o?= =?us-ascii?q?ByzlqM9zZgSu7Px5sF3+yX0RaGVzjmiFesqdz4mYdBZT4OBGW/0jTkCJRXZqJs?= =?us-ascii?q?YYYBEX2uLNGvxtVim57tXGZV9FiiB1MC3M+mZwGSYkfn0gJOz0QXpmarmSyizz?= =?us-ascii?q?x7izsptLaQ3DTSw+T+cxoKInBLRGh+glfwJoi0lcoWU1Sobwgukhul6l33x6xa?= =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Mhq9XCAYWazttO8RT8a082AhNOdLcit7u1753kOA6BElfWV?= =?us-ascii?q?zmgMGpatQAI3uhO1PfGEaLKLOGKCXWzMHsf6yzU7JQjP9OuB2uojubCFXsPjee?= =?us-ascii?q?lznzTR+jK+VMjDydPBNEooGxawptCW/gTNPmbR23Ktl3giMqwbcsnHPFKXYcMS?= =?us-ascii?q?Rgc0NKtrCQ9jlXgutlFGxO8HVlNvKJmz2D4OnGMJkWvuVkAj9um+Jc/ns616Nf?= =?us-ascii?q?7DtYS/xthCvSstlurkm9nemOxTpnVxxOpy1Wi42VpkpiOL/W9p9aVXbD5hIN4n?= =?us-ascii?q?2aCw4WqNt9Ft3vp6dQx8DVm6L8MjhC7czb8NAbB8jMNs2HNn8hPgDoGD7QFwQF?= =?us-ascii?q?SjGqOXvYh0xHn/GY7meVoYQiqpjwhJoOTadWVEAyFvMfEEhlBtsCIZZpUTMiir?= =?us-ascii?q?GblskI6mS9rBTKWMpauZXHWe6IDvX0NDaVl79EaAUUwbngN4QcKpX721B+all9?= =?us-ascii?q?hInKGErRXdRTrSB6aw80p0tN8HZgQW0vx0LlagSt4HoNGvKumB45lBd+a/w39D?= =?us-ascii?q?jw+1c3OkbKpCwonUk3h9rqmzSRfSXyLKe3RoFWFzD7t04qMpP4QgZ5dwuyklJ4?= =?us-ascii?q?ND3cXbJek6NgdXx3iA/boZZPA+BTTbZabxAK3/GYe/Uo3E9HpSWm309I+OzFCZ?= =?us-ascii?q?V6lAswb5Gtr2hM2wR9Y94pPabQPrZGzkBMhqKSuS+lzv0+wAgYJ0YL7WydZioI?= =?us-ascii?q?uE0TO7Y8OSWo5Ots5RaFmztZd2gGT+Aqre5y9kMhJ+SAyDrt3KNZJUCvNuyQMr?= =?us-ascii?q?iZtnPams6SWFMw0U0Jl1Jb8rdqzMcjaUuUV1wvzbeLERQGK9bCIxlPb8VO7HjT?= =?us-ascii?q?YTqOseLVzJJ7JYWyCP3nTfSUu6YSnkKkGx0pEp8W4csdG5mgykbY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i3i?= =?us-ascii?q?eMDbbRcuvPSZxv0M4upkLUf+Y5EUIg4cwbLg9XVVVhduSKLxvluBWOIRY91mSO?= =?us-ascii?q?/Lrn9L8o9gLq4PM0KbpJP0sjdJplc2ABUqaL8rtDBacFfBnBFNUabupLEAkhcc?= =?us-ascii?q?UcJ+uUJUFmK/JHk+5yHeWapIg6efDv0V8jOOTq0BSEhoPSZ+TAmz2JpwYbepmu?= =?us-ascii?q?pHsmxelCNnvPcqyyBmRAe7uSD0paIN3jIg+LeiuDoduXxFSvienDrJCFVCyvQK?= =?us-ascii?q?lqQcC3f55FyiYXkDcpH94L16KsTh74Uh5WowYQk7dS0cQeugEz3wj7+PAoGXsd?= =?us-ascii?q?JcmgSCuMPVYL+3MCgdK7U9yRX4R3Rn1Qjehhlo+nMRQjq89N8kOJm9OcE9yyqq?= =?us-ascii?q?B2fbelgM4qdSvcr/r1ELSvU5aU97zGVlzMeHWjUHRNbTFGYtkggkdWJEfYpM6R?= =?us-ascii?q?8eEKkpjCiHvq1C/gwPezfUFYKl+ojMksvS33kyU8tqzHrMpqKZnpMqzGFlm9Rs?= =?us-ascii?q?4y6MuHQTd/TYU8hoAnjyyodQ1/fzZ/CssuAbUotp1q6tUPgYMsms4WG2wollWl?= =?us-ascii?q?e5xrQCGFq0KPMDxrbeUyq+VW2YWPiEc2uSkDY9KELy4wenLkEvYsdQs0A9KvfC?= =?us-ascii?q?hoJblwD5VLN0RyaQpVzczGE4M+MVbQE2uIChewMUSu4dfe6cKvYywPcmElsDc2?= =?us-ascii?q?fJHTdqC++xqVOih5Z0O3N84UjheuTt9gfmMMeOGhkaD4HVs4R9+fugRmKOIXVg?= =?us-ascii?q?1gF9PFFo9+fDEFQ8rvdcc5GVndfKndR63+kFd/NjMSAmv94TnYVj6ZKK38iWax?= =?us-ascii?q?HRyY3yJcrUovieDP3T1UMqentVUrABewP6+506PsIlW73UBbZZswoTBaw7QJw5?= =?us-ascii?q?KWj876B1LAJ2cg7Ueru0mM3qqf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7W35V9rxKT5EUavYv9tr5Iq?= =?us-ascii?q?wVlc010SpmrSpyiCCUC1dQn0rR6KbLNL5tzb1Fo28j9rd5WV/ZEGCXSXTO1ofz?= =?us-ascii?q?U5EH/ixpu32xkpCMsw=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2FdBgCzN3lY/wHyM5BdGwEBAQMBAQEJAQEBFgEBAQMBAQE?= =?us-ascii?q?JAQEBgw4BAQEBAR+BVxGOSqF6hlMriBxXAQEBAQEBAQECAQJgKEIOAYFiG4IjA?= =?us-ascii?q?iQTFCALAwMJAhcpBQMIAwEtFR8LBRgEiFUNsn06JgKJayaPPhEBaIUYBZAdixW?= =?us-ascii?q?RWQKKRIYlAkiSHVhxHgYCEAgbDzqENRwYgWVVhS+BCYIuAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 13 Jan 2017 20:28:55 +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 v0DKSoO7008617; Fri, 13 Jan 2017 15:28:51 -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 v0DKSkfB167747 for ; Fri, 13 Jan 2017 15:28:46 -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 v0DKSkEL008611; Fri, 13 Jan 2017 15:28:46 -0500 From: Stephen Smalley To: selinux@tycho.nsa.gov Subject: [PATCH] libselinux: selinux_restorecon: only log no default label warning for caller-supplied pathname Date: Fri, 13 Jan 2017 15:31:21 -0500 Message-Id: <1484339481-3260-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 $ touch /tmp/foo $ chcon -t etc_t /tmp/foo $ restorecon /tmp/foo Warning no default label for /tmp/foo $ restorecon -R /tmp/foo Warning no default label for /tmp/foo $ restorecon -R /tmp Signed-off-by: Stephen Smalley --- libselinux/src/selinux_restorecon.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libselinux/src/selinux_restorecon.c b/libselinux/src/selinux_restorecon.c index f5fa8f5..7020669 100644 --- a/libselinux/src/selinux_restorecon.c +++ b/libselinux/src/selinux_restorecon.c @@ -90,6 +90,7 @@ struct rest_flags { bool syslog_changes; bool log_matches; bool ignore_noent; + bool warnonnomatch; }; static void restorecon_init(void) @@ -613,7 +614,7 @@ static int restorecon_sb(const char *pathname, const struct stat *sb, sb->st_mode); if (rc < 0) { - if (errno == ENOENT && flags->verbose && !flags->recurse) + if (errno == ENOENT && flags->warnonnomatch) selinux_log(SELINUX_INFO, "Warning no default label for %s\n", lookup_path); @@ -761,6 +762,7 @@ int selinux_restorecon(const char *pathname_orig, SELINUX_RESTORECON_LOG_MATCHES) ? true : false; flags.ignore_noent = (restorecon_flags & SELINUX_RESTORECON_IGNORE_NOENTRY) ? true : false; + flags.warnonnomatch = true; ignore_mounts = (restorecon_flags & SELINUX_RESTORECON_IGNORE_MOUNTS) ? true : false; @@ -983,7 +985,8 @@ int selinux_restorecon(const char *pathname_orig, default: error |= restorecon_sb(ftsent->fts_path, ftsent->fts_statp, &flags); - + if (flags.warnonnomatch) + flags.warnonnomatch = false; if (error && flags.abort_on_error) goto out; break;