From: Daniel J Walsh <dwalsh@redhat.com>
To: Bandan Das <bandan.das@stratus.com>
Cc: selinux <selinux@tycho.nsa.gov>,
"Johnson, Richard" <Richard.Johnson@stratus.com>
Subject: Re: Using interfaces defined elsewhere
Date: Tue, 05 May 2009 15:58:32 -0400 [thread overview]
Message-ID: <4A009A68.9000101@redhat.com> (raw)
In-Reply-To: <1241551556.23813.80.camel@BSD.mno.stratus.com>
On 05/05/2009 03:25 PM, Bandan Das wrote:
> Hello,
>
> Here's what I am trying to do :
>
> I have a mySNMP policy with sources: mysnmp.te mysnmp.fc mysnmp.if and a
> dummyapp policy with sources: dummyapp.te dummyapp.fc and dummyapp.if.
> The SNMP policy interface file has an interface called
> mysnmp_config_read_access() and I would like to use it in my dummyapp
> policy sources : mysnmp_config_read_access(dummyapp_t)
>
> What's the best way to do this ? Not just for the above example for a
> case where I have multiple custom interface files.
>
> I tried copying the SNMP interface file
> to /usr/share/selinux/include/mysnmp. But the problem with this approach
> is that I have to be root to be able to do this. Can I ask make to use
> multiple interface files (dummyapp.if and mysnmp.if) when compiling the
> dummyapp policy module ?
>
> Thanks,
> Bandan
>
>
The make file will also look in the current directory for .if files.
--
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.
next prev parent reply other threads:[~2009-05-05 19:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-05 19:25 Using interfaces defined elsewhere Bandan Das
2009-05-05 19:58 ` Daniel J Walsh [this message]
2009-05-05 20:11 ` Bandan Das
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=4A009A68.9000101@redhat.com \
--to=dwalsh@redhat.com \
--cc=Richard.Johnson@stratus.com \
--cc=bandan.das@stratus.com \
--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.