All of lore.kernel.org
 help / color / mirror / Atom feed
* Cil Macros
@ 2015-09-24  4:42 Dan
  2015-09-24 12:20 ` James Carter
  0 siblings, 1 reply; 6+ messages in thread
From: Dan @ 2015-09-24  4:42 UTC (permalink / raw)
  To: selinux

Hello everyone, I've been trying to play around with macros with the CIL 
language and have come across some problems on how they work. I'm just 
trying to simple create a macro that will do a type transition with a 
process called mytest_t domain.

Here is what I have so far:




(macro mytest_t_domain_auto_trans ((ARG1))
   (typeattributeset cil_gen_require application_domain_type)
   (call domain_trans (ARG1))
   (allow ARG1 mytest_t (process (exec read write getattr transition)))
)



...but when I try to run it it obviously doesn't work. If anyone has any 
input on what I am doing wrong I'm all ears. Thanks.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-25  3:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24  4:42 Cil Macros Dan
2015-09-24 12:20 ` James Carter
2015-09-24 17:02   ` Dan
2015-09-24 17:08     ` James Carter
2015-09-25  2:26       ` Dan
2015-09-25  3:20       ` Dan

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.