As guys said above, it's not possible.
But why you need this? If you describe your issue, we could find some
On 04/01/2015 05:51 PM, W. Michael Petullo wrote:
Is it possible to cause a process to transition to a new domain but
if it reads a file with a certain label? I am interested in imposing
this by modifying the SELinux policy only, that is, not requiring any
action on the part of the process itself. You could think of this as a
rough analog to HiStar and others' "tainting".
Red Hat, Inc.