All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Justin P. Mattock" <justinmattock@gmail.com>
To: Shintaro Fujiwara <shintaro.fujiwara@gmail.com>
Cc: selinux <selinux@tycho.nsa.gov>
Subject: Re: error: too many arguments to function 'security_getenforce'
Date: Thu, 13 Aug 2009 08:36:37 -0700	[thread overview]
Message-ID: <4A843305.5070601@gmail.com> (raw)
In-Reply-To: <f71a82820908122249k2c4c3397hc941ee3a3a0a75a7@mail.gmail.com>

Shintaro Fujiwara wrote:
>   security_getenforce(&seconfig);
>
> is wrong.
>
> see
>
> [fujiwara@notepc ~]$ cat -n /usr/include/selinux/selinux.h|grep
> security_getenforce
>     314	extern int security_getenforce(void);
>
>    
Great,

Can you or somebody help me in  finding
a correct patch to load the policy at boot.

I find it hard to believe that such a security policy
  would be lacking  in this area.

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.

  reply	other threads:[~2009-08-13 15:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13  3:30 error: too many arguments to function 'security_getenforce' Justin Mattock
2009-08-13  5:49 ` Shintaro Fujiwara
2009-08-13 15:36   ` Justin P. Mattock [this message]
2009-08-13 17:35 ` Daniel J Walsh
2009-08-13 18:06   ` Justin P. Mattock
2009-08-13 18:13     ` Daniel J Walsh
2009-08-13 19:00       ` Justin P. Mattock

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=4A843305.5070601@gmail.com \
    --to=justinmattock@gmail.com \
    --cc=selinux@tycho.nsa.gov \
    --cc=shintaro.fujiwara@gmail.com \
    /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.