Re: [PATCH 1/4 -v2] Namespacing of security/selinux

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

 



On Monday 06 July 2009 02:58:38 pm Thomas Liu wrote:
> This patch namespaces the functions in security/selinux, prefixing
> non static functions with selinux_
>
> Patch 1 includes namespacing of the security/selinux folder,
> not including security/selinux/ss.
>
> Added selinux_ as a prefix to non static functions, not including
> functions beginning with avc_.  Swapped security_ with selinux_.

I haven't had a chance to look at all of you patches yet but a few quick 
thoughts in no particular order ...

* Why not prefix functions regardless of if they are static or not?  After 
all, when you are reading the function body of a caller you don't always know 
that the function being called is static.  I personally would find this nice, 
but I might be the only one.

* The "selinux_" prefix seems a tiny bit longer than necessary, how about 
something like "sel_"/"sel_ss_" (we already use SEL in a few places) or 
"selnx_"/"selnx_ss_"?

-- 
paul moore
linux @ hp


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