All of lore.kernel.org
 help / color / mirror / Atom feed
* Why user/type/role identifiers duplicated to a block/decl's symtab?
@ 2011-06-02 10:24 HarryCiao
  2011-06-09 18:18 ` Joshua Brindle
  0 siblings, 1 reply; 2+ messages in thread
From: HarryCiao @ 2011-06-02 10:24 UTC (permalink / raw)
  To: Stephen Smalley, method; +Cc: selinux-mailing-list


[-- Attachment #1.1: Type: text/plain, Size: 864 bytes --]


Hi Joshua and Stephen,

I happened to have one more question about the link & expand process.

Now that once the link process is complete, the base.p_xxx tables would be "complete", that is, it would not only contain all identifiers defined in p_xxx tables of all modules(AKA, the global block of a module), but also all identifiers defined in avrule_decl_t.symtab[] for all block/decl of all modules.

Then, why would we need to duplicate user/role/type identifiers in a block/decl to its counterpart in the base module? Furthermore, why would we have to copy them once again to the out module?

Maybe the answer would be quite obvious, but I may need your hint to break it through :-)

Please also refer to the attached pdf for a picture I've drawn for the copy/merge of symtabs during link & expand.

Many thanks for your time!

Best regards,
Harry 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1100 bytes --]

[-- Attachment #2: link_expand_graphic.pdf --]
[-- Type: application/pdf, Size: 47109 bytes --]

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

end of thread, other threads:[~2011-06-09 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-02 10:24 Why user/type/role identifiers duplicated to a block/decl's symtab? HarryCiao
2011-06-09 18:18 ` Joshua Brindle

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.