From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-785930-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 399C2138CC5
	for <garchives@archives.gentoo.org>; Wed, 25 Mar 2015 13:36:29 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1E0B8E081D;
	Wed, 25 Mar 2015 13:36:28 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C8E02E081D
	for <gentoo-commits@lists.gentoo.org>; Wed, 25 Mar 2015 13:36:27 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7AE3233FE13
	for <gentoo-commits@lists.gentoo.org>; Wed, 25 Mar 2015 13:36:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C1231481E
	for <gentoo-commits@lists.gentoo.org>; Wed, 25 Mar 2015 13:36:25 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org>
Message-ID: <1427290422.b8ab99b5d3ee1a93f215157c36fb120857afde64.williamh@OpenRC>
Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/
X-VCS-Repository: proj/openrc
X-VCS-Files: src/rc/checkpath.c
X-VCS-Directories: src/rc/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: b8ab99b5d3ee1a93f215157c36fb120857afde64
X-VCS-Branch: master
Date: Wed, 25 Mar 2015 13:36:25 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 0e9f9c4b-977c-4924-a9ef-0e794bda81a6
X-Archives-Hash: 34f132a1693d4417a7ee63b4c7d2127f

commit:     b8ab99b5d3ee1a93f215157c36fb120857afde64
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Mar 25 13:33:42 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Mar 25 13:33:42 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=b8ab99b5

checkpath: Remove the last HAVE_SELINUX test

 src/rc/checkpath.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 3acb040..a8a1c75 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -161,10 +161,8 @@ static int do_check(char *path, uid_t uid, gid_t gid, mode_t mode,
 		}
 	}
 
-#ifdef HAVE_SELINUX
 	if (selinux_on)
 		selinux_util_label(path);
-#endif
 
 	return 0;
 }