All of lore.kernel.org
 help / color / mirror / Atom feed
* Added project policy code and got "semodule_package:  ..."
@ 2015-03-23 20:12 John Chludzinski
  2015-03-23 20:18 ` Stephen Smalley
  0 siblings, 1 reply; 3+ messages in thread
From: John Chludzinski @ 2015-03-23 20:12 UTC (permalink / raw)
  To: Selinux

I added project specific policy code to policy/module/<project-dir>.

Then I ran:

packages/clip-selinux-policy/clip-selinux-policy> make conf

>>> "make conf" added all the project module to "module" (e.g., projmod1 
>>> = module, projmod2 = module, etc.) in policy/modules.conf.

then I ran:

packages/clip-selinux-policy/clip-selinux-policy> make modules 
TYPE="mls" MLS_SENS=1

and got "semodule_package:  Failed to mmap tmp/<projmod1>.mod.fc:  
Invalid argument"

Any suggestions?

---John

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

end of thread, other threads:[~2015-03-23 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-23 20:12 Added project policy code and got "semodule_package: ..." John Chludzinski
2015-03-23 20:18 ` Stephen Smalley
2015-03-23 21:04   ` John Chludzinski

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.