Re: [PATCH 1/2 -v3] Namespacing of security/selinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Smalley wrote:
On Tue, 2009-07-07 at 17:49 -0400, Thomas Liu wrote:
This includes namespacing of all items originally labeled
security_ with sel_.

In addition, the functions sel_netif_sid and security_netif_sid
have been renamed because the namespacing would cause a conflict.

sel_netif_sid has been renamed to sel_netif_sid_by_index, and
security_netif_sid has been renamed to sel_netif_sid_by_name

This patch has a minor reject against the current security-testing tree.

However, I'm having second thoughts about the renaming idea.  There are
a rather large number of documents, not to mention the userspace API,
that talk about security_compute_av() and friends, and thus I'm a bit
hesitant to render them all obsolete.
Changing the namespace from security_ to sel_ or selinux_ makes it more difficult for Solaris and other non-linux systems which may be supporting Flask, to be compatible at the library level with policy management applications.

--Glenn

--
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.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux