Subject: COMPAT_SUNOS & socreate().
To: None <port-sparc@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: port-sparc
Date: 08/18/2001 12:54:34
hi folks.
i'm trying to remove the final MI COMPAT_SUNOS #ifdef from
uipc_socket.c:socreate(), and while i believe i have a solution i'm
unsure as to it's correctness and confused about how exactly to test
it. what this change does is enable SO_BROADCAST for all SOCK_DGRAM
sockets by default. i traced all the callers of socreate() and i
believe that the only ones that seem to matter are socket() and
socketpair(). so i created sunos_sys_socket{,pair}() and things
seem to work ok. how best to test this? what sunos programs rely
on this behaviour?
thanks.
.mrg.