Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88B60C46475 for ; Sat, 27 Oct 2018 13:03:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5A3312082B for ; Sat, 27 Oct 2018 13:03:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A3312082B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aixah.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728480AbeJ0VoS (ORCPT ); Sat, 27 Oct 2018 17:44:18 -0400 Received: from wp260.webpack.hosteurope.de ([80.237.133.29]:38610 "EHLO wp260.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728168AbeJ0VoS (ORCPT ); Sat, 27 Oct 2018 17:44:18 -0400 Received: from p549a87be.dip0.t-ipconnect.de ([84.154.135.190] helo=vega.skynet.aixah.de); authenticated by wp260.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1gGOFN-0002kg-Tp; Sat, 27 Oct 2018 15:03:21 +0200 Received: by vega.skynet.aixah.de (Postfix, from userid 1000) id 91A46260D4C; Sat, 27 Oct 2018 15:03:21 +0200 (CEST) From: Luis Ressel To: selinux-refpolicy@vger.kernel.org Subject: [PATCH] system/init: Give init_spec_daemon_domain()s the "daemon" attribute Date: Sat, 27 Oct 2018 15:03:20 +0200 Message-Id: <20181027130320.3010-1-aranea@aixah.de> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;aranea@aixah.de;1540645402;51acfe80; X-HE-SMSGID: 1gGOFN-0002kg-Tp Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org init_daemon_domain() applies this attribute too. --- policy/modules/system/init.if | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if index bd5fe207..2e74b515 100644 --- a/policy/modules/system/init.if +++ b/policy/modules/system/init.if @@ -206,6 +206,8 @@ interface(`init_spec_daemon_domain',` role system_r; ') + typeattribute $1 daemon; + domain_type($1) domain_entry_file($1, $2) -- 2.19.1