* 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
* Re: Added project policy code and got "semodule_package: ..."
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
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Smalley @ 2015-03-23 20:18 UTC (permalink / raw)
To: John Chludzinski, Selinux
On 03/23/2015 04:12 PM, John Chludzinski wrote:
> 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?
Take follow-ups to the clip mailing list, please.
http://oss.tresys.com/mailman/listinfo/clip
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Added project policy code and got "semodule_package: ..."
2015-03-23 20:18 ` Stephen Smalley
@ 2015-03-23 21:04 ` John Chludzinski
0 siblings, 0 replies; 3+ messages in thread
From: John Chludzinski @ 2015-03-23 21:04 UTC (permalink / raw)
To: Stephen Smalley; +Cc: Selinux
Understood: "Take follow-ups to the clip mailing list, please."
Resolved the problem.
---John
On 2015-03-23 21:18, Stephen Smalley wrote:
> On 03/23/2015 04:12 PM, John Chludzinski wrote:
>> 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?
>
> Take follow-ups to the clip mailing list, please.
>
> http://oss.tresys.com/mailman/listinfo/clip
^ 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.