On Fri, 2009-08-14 at 10:28 -0700, Glenn Faden wrote: > 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. Yes. Just to be clear, this patch was only renaming the kernel-internal functions in an effort to avoid any future collisions between the security framework (LSM) and SELinux-specific functions. It wouldn't have changed the kernel interface or userspace in any manner. But I like having consistent names for the security server interfaces in the kernel and in userspace, and all the existing literature uses those names, so I'm inclined against changing them. We were using those names before LSM existed, of course. -- 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.