All of lore.kernel.org
 help / color / mirror / Atom feed
From: martin@martinorr.name (Martin Orr)
To: refpolicy@oss.tresys.com
Subject: [refpolicy]  dbus, inotify
Date: Thu, 25 Sep 2008 13:45:01 +0100	[thread overview]
Message-ID: <48DB87CD.1090406@martinorr.name> (raw)

Let *_dbusd_t list inotifyfs.

Aug 20 12:23:52 caligula kernel: type=1400 audit(1219231432.671:4): avc:
denied  { read } for  pid=2646 comm="dbus-daemon" path="inotify"
dev=inotifyfs ino=1 scontext=system_u:system_r:system_dbusd_t:s0
tcontext=system_u:object_r:inotifyfs_t:s0 tclass=dir

Index: policy/modules/services/dbus.if
===================================================================
--- policy/modules/services/dbus.if.orig
+++ policy/modules/services/dbus.if
@@ -139,6 +139,7 @@

 	fs_getattr_romfs($1_dbusd_t)
 	fs_getattr_xattr_fs($1_dbusd_t)
+	fs_list_inotifyfs($1_dbusd_t)

 	selinux_get_fs_mount($1_dbusd_t)
 	selinux_validate_context($1_dbusd_t)

-- 
Martin Orr

             reply	other threads:[~2008-09-25 12:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-25 12:45 Martin Orr [this message]
2008-11-06 15:06 ` [refpolicy] dbus, inotify Christopher J. PeBenito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48DB87CD.1090406@martinorr.name \
    --to=martin@martinorr.name \
    --cc=refpolicy@oss.tresys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.