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=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 6B8FEC282D7 for ; Wed, 30 Jan 2019 23:56:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1D86B2081B for ; Wed, 30 Jan 2019 23:56:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b="eKjQsrEF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727052AbfA3X4u (ORCPT ); Wed, 30 Jan 2019 18:56:50 -0500 Received: from mail-qt1-f170.google.com ([209.85.160.170]:44640 "EHLO mail-qt1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbfA3X4t (ORCPT ); Wed, 30 Jan 2019 18:56:49 -0500 Received: by mail-qt1-f170.google.com with SMTP id n32so1593808qte.11 for ; Wed, 30 Jan 2019 15:56:49 -0800 (PST) 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=Th4nhRTBJkFunI0XMxFs1jb7fn4kFib0g55ftO7cb58=; b=eKjQsrEF5F+pYiToVZyPnI+ApMNtz7iaevK+O/b8D/xAra0mKFAyEmJSIjHL+dpGqW lxoZvIN8/PwtVqyWjmO0bnkhxy6UcsFP/AwHPU6v56CX+INK1Tg+4/eGBrp2Hpogt9ch rLX/h1lzzO0QUOoM4EJO6dv57v9Qr9WHa3+qU= 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=Th4nhRTBJkFunI0XMxFs1jb7fn4kFib0g55ftO7cb58=; b=oa2Ixg+YVqEaU1Isc12HHaRhIHR7ZqvqqmohyQjGZ0HT5uuZMV2JBw+KHXcq5o1uew 3ReM02JXeF7QFTdNk3nq7a/CA3dbFGxoVeMOy6nCOsRMQe/q4E1No3G1qDzyU+msdBkL ymy1FBImVIrk+YssdzWYOBcGxQ939X2mtk0J+3KmfGWzHelQ4OZaL9UKr1GpKzO5MOd+ e5mVczSJQUTi0e1f/IY/dJ1OBezBxDaFf0zQtB0oA5cYXvRue9kjxysfELLtM2vwfwlv M6WP1kwi+AS0teqcerSOn1t5IbIQfSgUXLjEkpsJTQNlKpcj1y3ZCbekSLvwrIGjGXTm 5k4w== X-Gm-Message-State: AJcUukdDe6hMtPQ4GYZLf9m0ghuK/19C6WOd//t0TGDz8qpYD/ijSshZ ObJdMpLIFXyRgEax2IB4op0QadnxgpA= X-Google-Smtp-Source: ALg8bN4G5csNYGhCHJGLt8lFqOAi8Wnj58go3k1BHXUnyS/QAbOr4CQNl9d9Iy+ur+V3BO1ZRxFZAQ== X-Received: by 2002:a0c:8762:: with SMTP id 31mr30734187qvi.118.1548892608537; Wed, 30 Jan 2019 15:56:48 -0800 (PST) Received: from [192.168.1.190] (pool-108-15-23-247.bltmmd.fios.verizon.net. [108.15.23.247]) by smtp.gmail.com with ESMTPSA id f36sm1870652qtb.67.2019.01.30.15.56.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jan 2019 15:56:48 -0800 (PST) Subject: Re: strange system_dbusd_t stuff To: Russell Coker , "selinux-refpolicy@vger.kernel.org" References: <2712701.6trG81MuIz@liv> From: Chris PeBenito Message-ID: Date: Wed, 30 Jan 2019 18:44:52 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <2712701.6trG81MuIz@liv> 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 1/30/19 8:05 AM, Russell Coker wrote: > # for /usr/lib/kauth/libexec/backlighthelper accessing /root/.config > xdg_search_config_dirs(system_dbusd_t) > > So system_dbusd_t is running backlighthelper from the powerdevil package when > I login as non-root. Is it expected that backlighthelper runs as > system_dbusd_t? Accessing /root/.config seems like a powerdevil bug in any > case. I don't have a laptop handy to dig through this, but it sounds buggy to me. I wouldn't expect to see it running in system_dbusd_t. -- Chris PeBenito