From: Dan <dtdevore64@yahoo.com>
To: selinux@tycho.nsa.gov
Subject: Macro help
Date: Wed, 28 Oct 2015 18:24:41 -0400 [thread overview]
Message-ID: <56314B29.7020007@yahoo.com> (raw)
Hello everyone I have hit another bump with the cil macros. I am trying
to make a macro that covers the domain_type and domain_type_entry file
interfaces equivalent in Cil with macros that will confine a simple
shell script( and if anyone has any input to what I can do better or if
I am going about this in the wrong way please say so), but it says it
doesn't understand my "call usersubject_domain_type" line and won't
build for some reason. Here is what I have so far. Any help is much
appreciated, thanks.
(macro usersubject_domain_type ((type ARG1)) (type ARG2))
(typeattributeset domain ARG2)
(typeattributeset exec_type ARG1)
(typeattributeset corenet_unlabeled_type ARG2)
(typeattributeset entry_type ARG1)
(typeattributeset file_type ARG1)
(typeattributeset non_security_file_type ARG1)
(typeattributeset non_auth_file_type ARG1)
(call usersubject_domain_type (myshell_exec_t myshell_t))
next reply other threads:[~2015-10-28 22:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-28 22:24 Dan [this message]
2015-10-29 0:02 ` Macro help Steve Lawrence
2015-10-29 2:20 ` Dan
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=56314B29.7020007@yahoo.com \
--to=dtdevore64@yahoo.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.