All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] Segfault on duplicate require of sensitivity
@ 2007-04-19 15:29 B Topscher
  2007-05-15 14:16 ` Caleb Case
  0 siblings, 1 reply; 9+ messages in thread
From: B Topscher @ 2007-04-19 15:29 UTC (permalink / raw)
  To: selinux

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

When I have sensitivity required in two different locations I get
segmentation faults when I try and load the module.  For example, because s0
and s15 are already declared on other files if I require them in the TE file
I get a segfault.  I looked in the module.tmp file that was created on build
and saw that s0 and s15 are declared somewhere.  However, if I comment out
my require in the TE file it loads the module fine.


if in the TE I have:

require {
      sensitivity s0;
}

function( domain_t )

and the IF I have

interface(`function',`
              gen_require(`
                          sensitivity s0;
                          ')
              .......
')

When I build and then semodule -i module.pp,  I get a segfault when
committing changes (according to semodule -v).

Thank you
Bryan

[-- Attachment #2: Type: text/html, Size: 1374 bytes --]

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

end of thread, other threads:[~2007-05-31 18:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-19 15:29 [BUG] Segfault on duplicate require of sensitivity B Topscher
2007-05-15 14:16 ` Caleb Case
2007-05-15 14:39   ` Karl MacMillan
2007-05-15 17:09     ` Caleb Case
2007-05-15 17:18       ` Joshua Brindle
2007-05-15 17:19         ` Karl MacMillan
2007-05-15 17:40           ` Joshua Brindle
2007-05-25 17:26         ` Caleb Case
2007-05-31 18:25           ` 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.