relabel of socket fails somehow. any ideas?
I am trying to change the sid of a file representing a socket, after I bind to the socket. For some strange reason, this always fails, with the avc complaining that I am not allowed to relabel a socket to the given type, even though I have explicitly allowed that (running dmesg through newscripts.pl tells me to add an "allow .... { relabelto };" rule which I already have.) I have also allowed { relabelfrom } for the original type of the socket (tmp_t in this case.)
Is the avc not picking up my "allow .... { relabelto };" for some reason, or is there another reason while i can't relabel a socket after binding to it (I wouldn't think there should be.)
Thanks,
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.