<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/compat/linux/linux_socket.c, branch release/6.1.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.1.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.1.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2006-05-06T19:24:14Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2006-05-06T19:24:14Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2006-05-06T19:24:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=26c52663cb5e53422c188e65b45755f348c2fbf3'/>
<id>urn:sha1:26c52663cb5e53422c188e65b45755f348c2fbf3</id>
<content type='text'>
'RELENG_6_1_0_RELEASE'.

This commit was manufactured to restore the state of the 6.1-RELEASE image.
</content>
</entry>
<entry>
<title>MFC 1.62:</title>
<updated>2006-01-10T10:13:43Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2006-01-10T10:13:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bd1124a46d1f278b43553f5483057789ed909b11'/>
<id>urn:sha1:bd1124a46d1f278b43553f5483057789ed909b11</id>
<content type='text'>
  Add \n to log() message.
</content>
</entry>
<entry>
<title>Add missing locking to linux_connect() so that it can be marked MP safe:</title>
<updated>2005-07-09T12:26:22Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2005-07-09T12:26:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4641373fded7dfd64f93f45371e42a3ea6e82559'/>
<id>urn:sha1:4641373fded7dfd64f93f45371e42a3ea6e82559</id>
<content type='text'>
- Conditionally grab Giant around the EISCONN hack at the end based on
  debug.mpsafenet.
- Protect access to so_emuldata via SOCK_LOCK.

Reviewed by:	rwatson
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Reject packets larger than IP_MAXPACKET in linux_sendto() for sockets</title>
<updated>2005-03-23T08:28:00Z</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2005-03-23T08:28:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=aa675b572f72f088d07d8f1021e31769dc2ca6b5'/>
<id>urn:sha1:aa675b572f72f088d07d8f1021e31769dc2ca6b5</id>
<content type='text'>
with the IP_HDRINCL option set.  Without this change, a Linux process
with access to a raw socket could cause a kernel panic.  Raw sockets
must be created by root, and are generally not consigned to untrusted
applications; hence, the security implications of this bug are
minimal.  I believe this only affects 6-CURRENT on or after 2005-01-30.

Found by:	Coverity Prevent analysis tool
Security:	Local DOS
</content>
</entry>
<entry>
<title>Add kernel-only flag MSG_NOSIGNAL to be used in emulation layers to surpress</title>
<updated>2005-03-08T16:11:41Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2005-03-08T16:11:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8d6e40c3f13fe1e4cda4c487b9cff95b64df89a2'/>
<id>urn:sha1:8d6e40c3f13fe1e4cda4c487b9cff95b64df89a2</id>
<content type='text'>
SIGPIPE signal for the duration of the sento-family syscalls. Use it to
replace previously added hack in Linux layer based on temporarily setting
SO_NOSIGPIPE flag.

Suggested by:	alfred
</content>
</entry>
<entry>
<title>Handle MSG_NOSIGNAL flag in linux_send() by setting SO_NOSIGPIPE on socket</title>
<updated>2005-03-07T07:26:42Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2005-03-07T07:26:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2302f0fea885b83cd4a7e7239d70d62b62007d84'/>
<id>urn:sha1:2302f0fea885b83cd4a7e7239d70d62b62007d84</id>
<content type='text'>
for the duration of the send() call. Such approach may be less than ideal
in threading environment, when several threads share the same socket and it
might happen that several of them are calling linux_send() at the same time
with and without SO_NOSIGPIPE set.

However, such race condition is very unlikely in practice, therefore this
change provides practical improvement compared to the previous behaviour.

PR:		kern/76426
Submitted by:	Steven Hartland &lt;killing@multiplay.co.uk&gt;
MFC after:	3 days
</content>
</entry>
<entry>
<title>Extend kern_sendit() to take another enum uio_seg argument, which specifies</title>
<updated>2005-01-30T07:20:36Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2005-01-30T07:20:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a6886ef173c0241e9f444386ac475088c7421db0'/>
<id>urn:sha1:a6886ef173c0241e9f444386ac475088c7421db0</id>
<content type='text'>
where the buffer to send lies and use it to eliminate yet another stackgap
in linuxlator.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Match the LINUX32's style with existing style</title>
<updated>2005-01-14T04:44:56Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2005-01-14T04:44:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1997c537be039b083d9156b1c8685ac9ff25e911'/>
<id>urn:sha1:1997c537be039b083d9156b1c8685ac9ff25e911</id>
<content type='text'>
Submitted by:	Jung-uk Kim &lt;jkim@niksun.com&gt;

Use positive, not negative logic.
</content>
</entry>
<entry>
<title>Fix the ABI wrappers to use kern_fcntl() rather than calling fcntl()</title>
<updated>2004-08-24T20:21:21Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2004-08-24T20:21:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2ca25ab53ec018a64ecbf89e780fe9ff4298811e'/>
<id>urn:sha1:2ca25ab53ec018a64ecbf89e780fe9ff4298811e</id>
<content type='text'>
directly.  This removes a few more users of the stackgap and also marks
the syscalls using these wrappers MP safe where appropriate.

Tested on:	i386 with linux acroread5
Compiled on:	i386, alpha LINT
</content>
</entry>
<entry>
<title>Don't try to translate the control message unless we're certain it's</title>
<updated>2004-08-23T12:41:29Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-08-23T12:41:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=72261b9f61461c074b0617d935a196efc63cb29e'/>
<id>urn:sha1:72261b9f61461c074b0617d935a196efc63cb29e</id>
<content type='text'>
valid; otherwise a caller could trick us into changing any 32-bit word
in kernel memory to LINUX_SOL_SOCKET (0x00000001) if its previous value
is SOL_SOCKET (0x0000ffff).

MFC after:	3 days
</content>
</entry>
</feed>
