Re: SELinux context patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chad Sellers wrote:
On 5/18/09 2:16 PM, "Daniel J Walsh"<dwalsh@xxxxxxxxxx>  wrote:

This patch adds context files for virtual_domain and virtual_image,
these are both being used to locat the default context to be executed by
svirt.

I also included the subs patch which I submitted before.  This patch
allows us to substitute prefixes to matchpathcon.

So we can say /export/home == /home

and

/web == /var/www

The only problem I see with the patch is:

+                       sub->dst=strdup(dst);
+                       if (! sub->dst) {
+                               free(sub);
+                               free(sub->src);
+                               return -1;
+                       }

the free()'s should be reversed in order. Other than that the patch looks
fine. I'll fix this in the merge.

Acked-by: Chad Sellers<csellers@xxxxxxxxxx>


Merged in libselinux 2.0.82

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux