All of lore.kernel.org
 help / color / mirror / Atom feed
* avc_has_perm() returns -1 even when SELinux is in permissive mode
@ 2013-10-27 13:43 Laurent Bigonville
  2013-10-28 12:49 ` Stephen Smalley
  2013-10-28 12:55 ` Daniel J Walsh
  0 siblings, 2 replies; 21+ messages in thread
From: Laurent Bigonville @ 2013-10-27 13:43 UTC (permalink / raw)
  To: SELinux List; +Cc: Daniel J Walsh, Eric Paris

Hello,

After some debugging on Debian to figure out why D-Bus why denying
messages between my user session and policykit with SELinux in
permissive mode, eparis pointed me that Fedora has a patch for this in
the avc_has_perm() function.

The patch[0] itself seems pretty trivial and I was wondering if it (or
something similar) could be merged in the upstream codebase.

But, if I'm not wrong, this patch makes avc_has_perm() and
avc_has_perm_noaudit() have different behavior when the machine is
running in permissive mode, shouldn't this be tested in the
avc_has_perm_noaudit() function instead?

my 2¢,

Laurent Bigonville

[0]
http://pkgs.fedoraproject.org/cgit/libselinux.git/tree/libselinux-rhat.patch#n704


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-10-28 20:47 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-27 13:43 avc_has_perm() returns -1 even when SELinux is in permissive mode Laurent Bigonville
2013-10-28 12:49 ` Stephen Smalley
2013-10-28 13:36   ` Laurent Bigonville
2013-10-28 14:46     ` Daniel J Walsh
2013-10-28 15:56       ` Eric Paris
2013-10-28 16:58         ` Stephen Smalley
2013-10-28 17:11           ` Eric Paris
2013-10-28 17:21             ` Stephen Smalley
2013-10-28 18:15               ` Paul Moore
2013-10-28 18:10           ` Paul Moore
2013-10-28 18:24             ` Daniel J Walsh
2013-10-28 19:00               ` Stephen Smalley
2013-10-28 19:09                 ` Stephen Smalley
2013-10-28 19:26                   ` Stephen Smalley
2013-10-28 19:47                     ` Paul Moore
2013-10-28 19:03               ` Paul Moore
2013-10-28 19:14                 ` Stephen Smalley
2013-10-28 19:19                   ` Paul Moore
2013-10-28 19:41                   ` Eric Paris
2013-10-28 20:47                     ` Stephen Smalley
2013-10-28 12:55 ` Daniel J Walsh

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.