[Pkg-Cyrus-imapd-Debian-devel] cyrmaster is using obsolete setsockopt
SO_BSDCOMPAT
Sven Mueller
pkg-cyrus-imapd-debian-devel@lists.alioth.debian.org
Tue, 24 May 2005 19:21:12 +0200
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig048A0CF8CDB631CEBEC79136
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
Michael Liebl wrote on 24/05/2005 18:17:
> While browsing my logs, I found:
>
> kernel: process `cyrmaster' is using obsolete setsockopt SO_BSDCOMPAT
>
> Is this Debian related?
> Can anyone confirm this?
Hmm, weird.
There are only two setsockopt calls in cyrus-imapd. Here they are:
$ grep -A 2 setsockopt master.c
r = setsockopt(s->socket, SOL_SOCKET, SO_REUSEADDR,
(void *) &on, sizeof(on));
if (r < 0) {
--
r = setsockopt(s->socket, IPPROTO_IPV6, IPV6_V6ONLY,
(void *) &on, sizeof(on));
if (r < 0) {
I can't see how this could set SO_BSDCOMPAT.
Here are also the relevant defines from /usr/include/asm/socket.h and
/usr/include/(bits|linux)/in.h:
#define SOL_SOCKET 1
#define SO_REUSEADDR 2
#define SO_BSDCOMPAT 14
#define IPV6_V6ONLY 26
IPPROTO_IPV6 = 41
So this is probably a bug somewhere, but I doubt it is a bug in cyrus-imapd.
cu,
sven
--------------enig048A0CF8CDB631CEBEC79136
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Cygwin)
iD8DBQFCk2KPg3izVowCbSERAiWnAKD6dKpuM1QK4oBLkM/gcMPOJ68NmACg8ZGU
Wezm2PnQBwu8PDmrrlPmrtE=
=qLeb
-----END PGP SIGNATURE-----
--------------enig048A0CF8CDB631CEBEC79136--