Skip to contentSkip to conversation

number of categories

refpolicy Russell Coker 2 participants 2 messages Jun 28, 2010

lore
Share & tools
lore
#0 lore raw

It seems that everyone is using 1024 categories (Fedora/RHEL counts as "almost everyone" and Debian counts as "almost everyone else").

I think it's the best thing to have the upstream policy defaults match what is being most commonly used when there is no good reason to do otherwise, and as the number of categories is entirely arbitrary there can't be a good reason to do otherwise.

Please apply a patch like the attached one. If nothing else it will save about 50 lines from each distribution's patch.

Signature · 10 lines
russell at coker.com.au
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cats.diff
Type: text/x-patch
Size: 1280 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100628/4b60e6fc/attachment.bin 
#1 lore raw
Quoted 10 lines · Russell Coker

It seems that everyone is using 1024 categories (Fedora/RHEL counts as "almost everyone" and Debian counts as "almost everyone else").

I think it's the best thing to have the upstream policy defaults match what is being most commonly used when there is no good reason to do otherwise, and as the number of categories is entirely arbitrary there can't be a good reason to do otherwise.

Please apply a patch like the attached one. If nothing else it will save about 50 lines from each distribution's patch.

Dropped unrelated hunks. Otherwise merged.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com