RE: [v0 PATCH 1/3] SELinux: Add class support to the role_trans structure

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

 



On Thu, 2011-03-24 at 09:43 +0000, HarryCiao wrote:
> > Why "cclass"? most of the code uses tclass (which might mean 'target
> > class' but I'm not sure)
> 
> Well, I intended to use "class" but it is a reserved GCC identifier.
> 
> The class could be the subject class, that is, the "process" class, or
> could be the newly object class, so tclass(target class) won't fit
> much here.
> 
> I will update it to "classes" which I think will be better than
> "cclass" :-)

tclass is more consistent with existing code, and it does mean "target
class", where target can be a subject or an object.  

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


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

  Powered by Linux