<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 22, 2023 at 1:12 PM Larry McVoy <<a href="mailto:lm@mcvoy.com">lm@mcvoy.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Feb 22, 2023 at 01:04:37PM -0700, Warner Losh wrote:<br>
> On Wed, Feb 22, 2023, 8:50 AM Dan Cross <<a href="mailto:crossd@gmail.com" target="_blank">crossd@gmail.com</a>> wrote:<br>
> <br>
> > Has anyone tried talking to anyone at Oracle about possibly getting<br>
> > the SunOS code released under an open source license? There can't be<br>
> > any commercial value left in it.<br>
> ><br>
> <br>
> SunOS 4 has a lot of encumbered code in it, especially for i386 drivers.<br>
<br>
There is SunOS as in everything shipped, kernel and userspace, and there<br>
is the kernel.  So far as I remember, the i386 stuff was never integrated<br>
into the source tree that Sun shipped from.  There was the roadrunner<br>
stuff but I don't think that ever made it in to the official tree.  If<br>
it did, nobody paid attention to it.  All people cared about at the <br>
time as SPARC and I don't think there was any outsourced hacking for<br>
SPARC, that was all in house.<br></blockquote><div><br></div><div>I know there's i386 source kits for the Roadrunner, and that's really the</div><div>only thing that SunOS ever supported, at least that was sold. I'd been told</div><div>that it had been poorly integrated by people that had worked on it here in</div><div>Boulder, so I believe that.</div><div><br></div><div>In the 4.1.3 sources there's a number of i386 ifdefs, and at least a math library</div><div>for i386. But no kernel bits, except for a bunch of ifdefs for i386 that I've not</div><div>looked at closely. Maybe this is what is meant by 'poorly integrated' :)<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The networking stack in SunOS 4.x was BSD derived.  You might be thinking<br>
of Solaris, that took the Lachman STREAMS stack but that was 5.x, not<br>
4.x.<br></blockquote><div><br></div><div>I was thinking of the streams stuff that's in 4.x BSD. There's AT&T copyrights</div><div>on it. There's also, strangely, rfs sources included with some of the stuff one</div><div>can find online. But it looks to be imported nearly verbatim from System V</div><div>of some flavor with very few edits, judging by the 1.1 versions in many of the</div><div>files.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
As the only guy, that I'm aware of, who took all the encumbered stuff<br>
out of the kernel, put back the BSD tty drivers and a few other small<br>
things that resulted in a kernel that we could freely open source,<br>
I beg to differ with:<br>
<br>
> Bits of the<br>
> network stack as well. It was hopeless to try to open source. There was a<br>
> lot of bits<br>
> and pieces that Sun had done with contracts that were, at best, ambiguous<br>
> for<br>
> what to do should they want to open source it. <br></blockquote><div><br></div><div>I'm just reporting what my VP told me...  Grepping through the source I can</div><div>find online, the evidence is closer to what you say than what Glen told me.</div><div>Either he or I must have confused Solaris 2 with SunOS 4.</div><div><br></div><div>Warner<br></div></div></div>