All of lore.kernel.org
 help / color / mirror / Atom feed
* Aliases
@ 2001-08-16 21:11 dmaynor
  2001-08-17  2:48 ` Aliases dlang
  0 siblings, 1 reply; 16+ messages in thread
From: dmaynor @ 2001-08-16 21:11 UTC (permalink / raw)
  To: linux-kernel

Is their a limit on the number of alias interfaces you can have under 2.4?

^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <00df01c127a8$c354ad20$bb1cfa18@JimWS.suse.lists.linux.kernel>]
* aliases
@ 2004-01-09 11:18 Russell Coker
  2004-01-09 14:09 ` aliases Stephen Smalley
  2004-01-15 18:03 ` aliases Stephen Smalley
  0 siblings, 2 replies; 16+ messages in thread
From: Russell Coker @ 2004-01-09 11:18 UTC (permalink / raw)
  To: SE Linux

I believe that we need a minor change in the policy language to deal with 
aliases.

The current setup requires that all aliases be specified on the type 
declaration line.  One significant problem with this is that if a type is 
declared by a macro there is no way to add aliases to it.  Because of this we 
have at various times had aliases specified in macros when they weren't 
needed for 95% of the cases.

I believe that a declaration of the form is necessary:
typealias foo_t aliases { bar_t baz_t };

That would mean that I could do:

var_run_domain(foo)
typealias foo_var_run_t alias var_run_foo_t;

Instead of having the current alias in the var_run_domain() macro.  Of course 
it's no big deal for the var_run_domain() macro (and I'll remove the alias 
from my tree because it's been there too long anyway).  But there are other 
situations which are more difficult to manage (such as renaming netscape to 
mozilla).

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2004-01-15 18:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-16 21:11 Aliases dmaynor
2001-08-17  2:48 ` Aliases dlang
2001-08-18  5:43   ` Aliases Jim Roland
2001-08-18 10:30     ` Aliases Justin Guyett
2001-08-18 12:32       ` Aliases Ralf Baechle
2001-08-18 12:57         ` Aliases David Lang
2001-08-18 19:29           ` Aliases David Ford
2001-08-18 19:25         ` Aliases David Ford
2001-08-18 21:45           ` Aliases Ralf Baechle
2001-08-20  1:03         ` Aliases David Lang
2001-08-20  2:29           ` Aliases Justin Guyett
2001-08-18 12:43       ` Aliases Michael Clark
     [not found] <00df01c127a8$c354ad20$bb1cfa18@JimWS.suse.lists.linux.kernel>
     [not found] ` <Pine.LNX.4.33.0108180245070.27721-100000@kobayashi.soze.net.suse.lists.linux.kernel>
     [not found]   ` <20010818143232.A11687@bacchus.dhis.org.suse.lists.linux.kernel>
2001-08-18 22:04     ` Aliases Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2004-01-09 11:18 aliases Russell Coker
2004-01-09 14:09 ` aliases Stephen Smalley
2004-01-15 18:03 ` aliases Stephen Smalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.