From: Laurent Bigonville Subject: Granting CAP_AUDIT_WRITE to X/dbus/... Date: Mon, 15 Sep 2014 13:20:03 +0200 Message-ID: <20140915132003.799cae6d@soldur.bigon.be> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx12.extmail.prod.ext.phx2.redhat.com [10.5.110.17]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8FBKJ1d025885 for ; Mon, 15 Sep 2014 07:20:19 -0400 Received: from anor.bigon.be (anor.bigon.be [91.121.173.99]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8FBKGNt030490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Sep 2014 07:20:17 -0400 Received: from anor.bigon.be (localhost.localdomain [127.0.0.1]) by anor.bigon.be (Postfix) with ESMTP id 2D1681A05A for ; Mon, 15 Sep 2014 13:20:15 +0200 (CEST) Received: from anor.bigon.be ([127.0.0.1]) by anor.bigon.be (anor.bigon.be [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TTDHLz9GUlqp for ; Mon, 15 Sep 2014 13:20:07 +0200 (CEST) Received: from soldur.bigon.be (unknown [193.53.238.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: bigon) by anor.bigon.be (Postfix) with ESMTPSA id 820101A052 for ; Mon, 15 Sep 2014 13:20:07 +0200 (CEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com Hello, I was wondering now that the xserver can run as non-root shouldn't the CAP_WRITE_AUDIT file capability be set on the Xorg executable? Same question for AVC denials logging with dbus session bus[0]? And in general, does anybody has an opinion about giving this capability to $random executable? Cheers, Laurent Bigonville [0] See: https://bugs.freedesktop.org/show_bug.cgi?id=83856