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=-4.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_PASS 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 0FB82ECDE44 for ; Sat, 27 Oct 2018 19:11:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C37E72082C for ; Sat, 27 Oct 2018 19:11:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b="aCqoVG3m" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C37E72082C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=ieee.org 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 S1728472AbeJ1Dxa (ORCPT ); Sat, 27 Oct 2018 23:53:30 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:45585 "EHLO mail-qt1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728213AbeJ1Dxa (ORCPT ); Sat, 27 Oct 2018 23:53:30 -0400 Received: by mail-qt1-f174.google.com with SMTP id l9-v6so4961234qtj.12 for ; Sat, 27 Oct 2018 12:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=J2tb8uRoUVcs1lFQEKMp526ABAf0aqj/cWfSCUBU1Oc=; b=aCqoVG3mYu2qCGb0qwjIEqhsmKR2z+MVJ5lzPpn2LPKIb//kodGptDIBj1645a9g91 7fTwe3W5UOVSFifL3oct7Ce8yl/c5PjlR2jMJ27xXKTJh5G4f4utwDu9wygMNX/Kplwa 3D3xIIhfsgtZ3e7XVJ9rbLVwGs5reiyxWDF38= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=J2tb8uRoUVcs1lFQEKMp526ABAf0aqj/cWfSCUBU1Oc=; b=PLvsPLNtYO1U3nxoWk6pwCavWXhoDSRTJGJCOTuFdeUOeiA3TxLA+ljcMhI6zPW5Z8 mVn3iaCmyqlGDaSJ5/9Qx51681LZgJouLYXQ/Ahn4uLRIbgGAkaU7lQvIaSVTeKy6X4G Sj1tsMcgkcWlWc0C2Bl8vDFMQLo1TImz77b0J9O9j1iJmwxjmBKRO/7xTicbhCii08kd aGHd9gVywVYKSe7J5TfxcMVjgm1+YoaLScULTOIkk/j1BOd3aZyxmavegJAGonCJ/HzM ZeAkOW+yq6m/d3ZrqdQUSOS7J5f3R9kBoUn3wRudCjscMCcTZWKzkVBsnTcX6/79J3UI g3Kg== X-Gm-Message-State: AGRZ1gJNV0Gnliels5SFs9RQJ59irz2gayPZIDmqlQ10mPdnD4kAIwmx JY/DDhFvXkaAPryWbLbSpJ8gWTptR04= X-Google-Smtp-Source: AJdET5facGp9ngmlegGq54KSNDpDwZ2GkCJiZihUirqe9sNM1WmNSsnv3tkG2lIAu/9dZkx3KIKDHg== X-Received: by 2002:a0c:91e8:: with SMTP id r37mr7595084qvr.141.1540667493423; Sat, 27 Oct 2018 12:11:33 -0700 (PDT) Received: from [192.168.1.190] (pool-68-134-29-209.bltmmd.fios.verizon.net. [68.134.29.209]) by smtp.gmail.com with ESMTPSA id v126-v6sm8421892qkh.97.2018.10.27.12.11.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Oct 2018 12:11:33 -0700 (PDT) Subject: Re: [PATCH] system/init: Give init_spec_daemon_domain()s the "daemon" attribute To: Luis Ressel , selinux-refpolicy@vger.kernel.org References: <20181027130320.3010-1-aranea@aixah.de> From: Chris PeBenito Message-ID: <7219ca49-fe45-3379-3511-83ebcdd237e4@ieee.org> Date: Sat, 27 Oct 2018 15:11:06 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181027130320.3010-1-aranea@aixah.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: selinux-refpolicy-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On 10/27/2018 09:03 AM, Luis Ressel wrote: > 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) Merged. -- Chris PeBenito