Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2015 08:55:45 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Ed Schouten <ed@nuxi.nl>
Cc:        Ed Schouten <ed@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r285910 - in head: lib/libc/sys sys/kern sys/sys
Message-ID:  <20150809085545.0beef79b@kan>
In-Reply-To: <CABh_MK=PjDUh73aPEX5yTdkgCJ--3NwKV7ZS6KvP5GYfOU1aYw@mail.gmail.com>
References:  <201507271317.t6RDHwpj067194@repo.freebsd.org> <20150808150539.0b43cfcd@kan> <CABh_MK=PjDUh73aPEX5yTdkgCJ--3NwKV7ZS6KvP5GYfOU1aYw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/a7Ec4kwZJh29oIlDB9btwpN
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 9 Aug 2015 09:37:13 +0200
Ed Schouten <ed@nuxi.nl> wrote:

> Hi Alexander,
>=20
> 2015-08-08 21:05 GMT+02:00 Alexander Kabaev <kabaev@gmail.com>:
> > this commit broke more than just syslogd. rtsol and rtsold both are
> > victims of the change as they are trying to shutdown unconnected
> > raw sockets to make then 'send-only' and fail.
>=20
> Good catch! I think that in this case it is safe to omit the call to
> shutdown(), or at least not let the application fail on startup
> because of shutdown() being more strict. After all, this code would
> fail on Linux, OS X, etc. already because of this.
>=20
> Could you test the attached patch and let me know whether it makes
> rtsol/rtsold work again?
>=20
> Thanks,
> --=20
> Ed Schouten <ed@nuxi.nl>
> Nuxi, 's-Hertogenbosch, the Netherlands
> KvK/VAT number: 62051717

It most definitely does work, this is what I have done to get my
network scripts work again. I wonder if there are other means of
restricting raw sockets that can be used to achieve the result
authors of rtsold had hoped or? =20

--=20
Alexander Kabaev

--Sig_/a7Ec4kwZJh29oIlDB9btwpN
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJVx03TXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDNUY3RDk5NTk5QjY0MUUxM0M1MTU2OTEw
NzEzMjI5OTkyNzkyRTdFAAoJEAcTIpmSeS5+vicP/jRqCzEY39Zjf9bmzYFCUdNZ
rjcsXOyOClRt90hqbqGD93GTmtHvr1qylsFEKYLyym/LGUu1ffecZfBQXKT02cDy
rLZlWcSVaIwkpVKG1VYaCE4Pa2YQ6hJgLrSTbOTdDxy2ur/dHUh384DoeLJLkZu+
qWHxTkq9aRUaNC6AhYggQY+M1hPyi15sCPRslMKF5xYQw/u41Fz3oti/pTXJxRVi
tu+eZCWcouFdn1oS5ezJ/HjJSpDBnSxFYjAYP8mPcwwy/mQNrqzlR2iRRchbcxGK
IXUJcWDbgeeAs1L3DEigxE0YT/FL4t1xyDI3lMKFE4+j9n1LAKxQkA/S9wkqmSNh
P2NOs04Y6iaNXogxEuRyn3HqdorrQakiFsUMQLB0Un5UU1W5qxpuKR3FtgAt52LR
6L9ltmfUc6QUIpicva+jPqd5OV3QoOHg5c1Y5AgbBcsb2Y8Imjy44xWCd+H3DXHm
hBTn91lw046Hbo7RjwlUKLGcAq34nNsUL5lsDljPonbRVwJL002dOwOc/USEoQZd
BLH1xu4MR0mRL1Q7Vhk0ySB+5ZLRwRA5yHmtw8Pt3EL9ogxc4HM6zCNTQK4NOCDy
GelCyKn0AdpPOs0LIcqh0r5arsznV3gct8qrC3zy1+1gA+Ns8sEnnYgZF9rwZYye
N26hz97S8VMgaIC9zzjC
=nZIq
-----END PGP SIGNATURE-----

--Sig_/a7Ec4kwZJh29oIlDB9btwpN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150809085545.0beef79b>