From: dominick.grift@gmail.com (grift)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 8/9] Allow capability block_suspend to system_dbusd_t
Date: Tue, 18 Dec 2012 09:44:37 +0100 [thread overview]
Message-ID: <1355820277.1849.1.camel@localhost> (raw)
In-Reply-To: <20121218093153.68fa5d72@soldur.bigon.be>
On Tue, 2012-12-18 at 09:31 +0100, Laurent Bigonville wrote:
> Le Mon, 17 Dec 2012 21:38:23 +0100,
> grift <dominick.grift@gmail.com> a ?crit :
>
> > On Mon, 2012-12-17 at 20:58 +0100, Laurent Bigonville wrote:
> > > From: Laurent Bigonville <bigon@bigon.be>
> > >
> > > ---
> > > dbus.te | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/dbus.te b/dbus.te
> > > index 2ed2d6e..c418ebb 100644
> > > --- a/dbus.te
> > > +++ b/dbus.te
> > > @@ -57,6 +57,7 @@ ifdef(`enable_mls',`
> > > #
> > >
> > > allow system_dbusd_t self:capability { sys_resource dac_override
> > > setgid setpcap setuid }; +allow system_dbusd_t self:capability2
> > > block_suspend; dontaudit system_dbusd_t self:capability
> > > sys_tty_config; allow system_dbusd_t self:process { getattr
> > > getsched signal_perms setpgid getcap setcap setrlimit }; allow
> > > system_dbusd_t self:fifo_file rw_fifo_file_perms;
> >
> > I am not confident about this.
> > Do you stil have the avc denial of this event?
>
> time->Mon Dec 17 10:38:26 2012
> type=SYSCALL msg=audit(1355737106.427:178): arch=c000003e syscall=233 success=yes exit=0 a0=5 a1=2 a2=14 a3=7fb7f748ecd0 items=0 ppid=3971 pid=3990 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="host" exe="/usr/bin/host" subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null)
> type=AVC msg=audit(1355737106.427:178): avc: denied { block_suspend } for pid=3990 comm="host" capability=36 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=capability2
>
> This is indeed maybe not correct
>
> Laurent
What is "host"
can you do a ps auxZ | grep system_dbusd_t
next prev parent reply other threads:[~2012-12-18 8:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-17 19:58 [refpolicy] [PATCH 1/9] Properly label nm-dispatcher.action on Debian Laurent Bigonville
2012-12-17 19:58 ` [refpolicy] [PATCH 2/9] Allow system_dbusd_t to transition to networkmanager_initrc_t Laurent Bigonville
2012-12-17 20:18 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 3/9] policykit.fc: Properly label polkit-agent-helper-1 on Debian Laurent Bigonville
2012-12-17 20:39 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 4/9] cups.fc: Properly label cups-pk-helper-mechanism " Laurent Bigonville
2012-12-17 20:40 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 5/9] Allow pcscd the fsetid capability Laurent Bigonville
2012-12-17 20:40 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 6/9] Allow networkmanager_t to read crypto_sysctl_t Laurent Bigonville
2012-12-17 20:41 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 7/9] Allow virsh_t context to read sysctl_crypto_t Laurent Bigonville
2012-12-17 20:42 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 8/9] Allow capability block_suspend to system_dbusd_t Laurent Bigonville
2012-12-17 20:38 ` grift
2012-12-18 8:31 ` Laurent Bigonville
2012-12-18 8:44 ` grift [this message]
2012-12-18 9:18 ` Laurent Bigonville
2012-12-18 16:20 ` grift
2012-12-17 19:58 ` [refpolicy] [PATCH 9/9] Allow cupsd_t to read cupsd_log_t Laurent Bigonville
2012-12-17 20:43 ` grift
2012-12-17 20:39 ` [refpolicy] [PATCH 1/9] Properly label nm-dispatcher.action on Debian grift
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=1355820277.1849.1.camel@localhost \
--to=dominick.grift@gmail.com \
--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.