[OpenAFS-devel] call of sock_create in src/rx/LINUX/rx_knet.c

Matthew Miller mattdm@mattdm.org
Mon, 28 Jun 2004 14:54:15 -0400


On Mon, Jun 28, 2004 at 02:26:58PM -0400, Derek Atkins wrote:
[top posting fixed]
> > Can someone explain this mistery? Which kernel is this where sock_create 
> > has 5 params if SELINUX is in effect?
> > In any case, I think configure should explicitly test for the number of 
> > params to sock_create, rather than rely on SELINUX.
> Fedora Core 2

Actually -- the Fedora Core security update kernels (starting at least with
2.6.6-1.427) are back to the standard number of parameters, and instead have
a separate "sock_create_kern" which does what the fifth parameter would have
enabled. Seems like a less broken change.

In any case, I think it's probably safe to remove this test entirely.


-- 
Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>