All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Chludzinski <john.chludzinski@vivaldi.net>
To: Selinux <selinux@tycho.nsa.gov>
Subject: Added project policy code and got "semodule_package:  ..."
Date: Mon, 23 Mar 2015 21:12:51 +0100	[thread overview]
Message-ID: <fb97f2e61c52ce5eb386dfe0ccd36cae@vivaldi.net> (raw)

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

             reply	other threads:[~2015-03-23 20:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23 20:12 John Chludzinski [this message]
2015-03-23 20:18 ` Added project policy code and got "semodule_package: ..." Stephen Smalley
2015-03-23 21:04   ` John Chludzinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb97f2e61c52ce5eb386dfe0ccd36cae@vivaldi.net \
    --to=john.chludzinski@vivaldi.net \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.