Re: Reg: domain transition
Lukas Vrabec <[email protected]>
| Newsgroups | gmane.linux.redhat.fedora.selinux |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On 11/1/19 5:48 AM, zer0 0ne wrote: > I am writing SELinux policies for the first time and I need some > clarification > > > > 1. I have executable A executes a system() call, spawns a shell and > executes a command ‘B’ and consumes the output of command B. Do I > have to use domain transition in the above case or what is the > correct way to go about it?> 2. In the above case A and B have different SELinux policies. Since A > executes B, in SELinux policy of A do I need to make type B_t as a > required type? > 3. For process A to do domain_transition to B, do I add > b_domain_transition macro in A.if file or in A.te > > I believe you can find answers in this blog: https://danwalsh.livejournal.com/72287.html Thanks, Lukas. > TiA > > zer0 0ne > > > > _______________________________________________ > selinux mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/[email protected] > -- Lukas Vrabec SELinux Evangelist, Senior Software Engineer, Security Technologies Red Hat, Inc. _______________________________________________ selinux mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE3wrP3ArXoyYgAS7LRyAaxC8pzgYFAl28aEkACgkQRyAaxC8p zgZk6Qf+OkdN/8GlaUIhvruIcL7JWXu3fS1W+1ER03ecFFuaOzJuuLQ2ORN/gyqw ostKsXJyFLFuZ4yWsXI+FakBiSaczbwa+90mb0zpF++EEnXQnsNzYW/lDj4xid4x ZMHqHkn/B2PR7d2eWPu9S3ZS2eui2017QgqdIdGnMYfQCs7Bfh6Y1+rMGjcfWTDG 3mwTQB9SDV5Roy1z9Vy/1fAy/YjgpUpv83LsJ5N8lqRGav9/l5WMUn4gLNns570w nXA+srUy7r0H2Eq7FnECxzjV1EqDORPQfVQZ7jTnhm/LapyQBKRZ1CiV9zBkXmjI 4JsdAsuONab1cnzwYrJIGot6JRt2Vg== =9QZt -----END PGP SIGNATURE-----