Today, Sun launches OpenSolaris, the open source operating system. On the website you can look at the OpenSolaris source code, source browser, documentation, bug database, and blogs.
Here is the Project Overview and the Product Roadmap. If you wish to directly browse the kernel sources, find them here.
The project is released under the Common Development and Distribution License (CDDL).