[Fork of] Solaris Porting Layer