In some email I received from Hans Werner Strube, sie wrote:
> > From Hans Werner Strube
> > Between pfil-2.1.1 and 2.1.2, the following was changed in SunOS/pfildrv.c:
> > *** 1072,1078 ****
> > }
> >
> >
> > - #if SOLARIS2 < 9
> > + #if SOLARIS2 == 8
> > int miocpullup(mblk_t *m, size_t len)
> > {
> > if (m->b_cont == NULL)
> >
> > This change is incorrect. The function miocpullup() in /kernel/genunix and
> > /platform/*/kernel/genunix is also missing in Solaris < 8 and in 8 at least
> > up to 2/02, but present in Solaris 8 12/02 at the latest. Thus the original
> > form from 2.1.1 was more correct. Even better would be to introduce a check
> > in the Makefile whether /usr/include/sys/strsun.h contains a declaration
> > of miocpullup() or /kernel/genunix contains the symbol definition (using nm).
> > BTW, I did not find anything about this function in the Solaris docs.
>
> Oops, things are even more complicated. Just as in Solaris 8, the older
> patch levels of Solaris 7 do not contain this function, but the newer ones
> do! Thus the SOLARIS2 value is not a useful criterion at all. There must
> either be an automatic test or a hint how to manually modify (e.g.) the
> Makefile.
I'm halfway tempted to say "if your kernel doesn't have it,
update your installed patch set." Is that being too harsh ?
Darren