selinux August 2009 archive
Main Archive Page > Month Archives  > selinux archives
selinux: Re: error: too many arguments to function 'security_get

Re: error: too many arguments to function 'security_getenforce'

From: Daniel J Walsh <dwalsh_at_nospam>
Date: Thu Aug 13 2009 - 18:13:45 GMT
To: "Justin P. Mattock" <justinmattock@gmail.com>


On 08/13/2009 02:06 PM, Justin P. Mattock wrote:
> Daniel J Walsh wrote:
>> >> Does >> >> selinux_mkload_policy(1); >> >> Work for you? >> >>
> I clipped part of the message to keep
> things clean.
>
> I'm going to be honest, I'm not that yet skilled
> in fixing something like this.
>
> with selinux_mkload_policy(1)
> were would I put this?
>
> Justin P. Mattock
>
>
>
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov
> with
> the words "unsubscribe selinux" without quotes as the message.

Actually the function you probably want selinux_init_load_policy

I attached the patch we used to use for sysvinit, before we moved to loading policy in the initrd.

-- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.