All of lore.kernel.org
 help / color / mirror / Atom feed
* There is a bug in checkmodule that is driving me nuts
@ 2007-07-20 20:22 Daniel J Walsh
  2007-07-20 22:28 ` Karl MacMillan
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel J Walsh @ 2007-07-20 20:22 UTC (permalink / raw)
  To: Karl MacMillan, Stephen Smalley, Joshua Brindle, SE Linux

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

The compiler is mistakenly seeing a

gen_requires {
       type  xguest_gnome_home_t;
}

As a redefinition of the type

 /usr/bin/checkmodule -M -m guest.tmp -o guest.mod/usr/bin/checkmodule:  
loading policy configuration from guest.tmp
policy/modules/users/guest.te:4:ERROR 'duplicate declaration of 
type/attribute' at token ';' on line 55020:
        type xguest_gnome_home_t;
#line 4
/usr/bin/checkmodule:  error(s) encountered while parsing configuration

The problem is the gen_requires happens before the declaration.

The type is being declared in  a template file.

[-- Attachment #2: guest.tmp.bz2 --]
[-- Type: application/x-bzip, Size: 38105 bytes --]

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

end of thread, other threads:[~2007-07-23 16:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-20 20:22 There is a bug in checkmodule that is driving me nuts Daniel J Walsh
2007-07-20 22:28 ` Karl MacMillan
2007-07-21  4:20   ` Shintaro Fujiwara
2007-07-23 14:25     ` Karl MacMillan
2007-07-23 14:30   ` Stephen Smalley
2007-07-23 14:38     ` Daniel J Walsh
2007-07-23 15:00       ` Karl MacMillan
2007-07-23 16:00         ` Daniel J Walsh
2007-07-23 16:00         ` Daniel J Walsh

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.