They gain to sell ZoL themselves with their own RHEL derivative distro. And they get all the usual open-source community benefits. It may even become necessary for them to do so, perhaps not in the short term, for Solaris' long term future is uncertain, while Linux and ZoL continue to get better.