You have it backwards. Up through
MacOS X 10.4 Tiger, MacOS X was a POSIX-compatible port of BSD. Beginning with MacOS X 10.5, MacOS X has been a certified port of the UNIX 03 Unified Specification. The Unified Specification ends the bifurcation of UNIX by joining the AT&T and BSD forks of the OS.
You have some understanding of Linux. To be clear, Linux is only the kernel of the GNU operating system. GNU is a recursive acronym for
GNU's
Not
Unix. GNU was developed with the intent of developing a Unix-workalike OS without using a line of AT&T code.
The notion that Unix is proprietary is misinformed. Without a doubt, there are proprietary ports of Unix. However, MacOS X was built on a combination of opensource ports of BSD--primarily NetBSD and FreeBSD. Apple created its own port and released it as opensource under the name
Darwin. GNU, the project most noted for Linux, supported Darwin with its own
GNU-Darwin distribution.
Now that Darwin is certified UNIX 03, it is no more proprietary than it ever was. UNIX 03 is supported by
Apple (MacOS X 10.5, MacOS X 10.6), Fujitsu (Solaris 10), HP (HP-UX 11i), IBM (AIX 5L, AIX 6), and Oracle (Solaris 10, Solaris 11). The standard is maintained by The Open Group, not by a Apple or any other hardware manufacturer.