|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Tue, 2012-02-14 at 16:22 -0500, Daniel J Walsh wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I would like to patch libselinux to always return 0 on avc_has_perm if > the machine is in permissive mode. > > This will allow Userspace Object Managers to work even if the system > is totally mislabeled and processes as running with bad context. > Currently if a program like dbus asks with a bad process label it can > get denials even in permissive mode. > > Does anyone see a problem with this? I'm not fond of it. Permissive mode is just supposed to control whether permission is granted, not to hide other kinds of errors. Consider how difficult debugging of an actual failure will be if it only shows up in enforcing mode even though it has nothing to do with policy. -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.
[Fedora Users] [Fedora Legacy] [Fedora Desktop] [Yosemite Photos] [Yosemite News] [Yosemite Campsites] [KDE Users] [Gnome Users]