<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_socket.c, branch release/5.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-11-04T19:12:42+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-11-04T19:12:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3f86d8a2ea3f3265afaa1fd263b0004c5c000e69'/>
<id>3f86d8a2ea3f3265afaa1fd263b0004c5c000e69</id>
<content type='text'>
'RELENG_5_3_0_RELEASE'.

This commit was manufactured to restore the state of the 5.3-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_5_3_0_RELEASE'.

This commit was manufactured to restore the state of the 5.3-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: Fix the ABI wrappers to use kern_fcntl() rather than calling</title>
<updated>2004-09-03T15:30:21+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2004-09-03T15:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1f15a28a917d53fd971e05c9576f7da35ab92e2d'/>
<id>1f15a28a917d53fd971e05c9576f7da35ab92e2d</id>
<content type='text'>
fcntl() directly and mark related ABI syscalls as MP safe.

Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fcntl() directly and mark related ABI syscalls as MP safe.

Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: (1.52) only translate control message if we're sure it's valid.</title>
<updated>2004-08-26T06:32:23+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-08-26T06:32:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b9ce284c1be3c59d104645176f090c4a3940416a'/>
<id>b9ce284c1be3c59d104645176f090c4a3940416a</id>
<content type='text'>
Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes to MI Linux emulation code necessary to run 32-bit Linux binaries</title>
<updated>2004-08-16T07:28:16+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-08-16T07:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4af27623361335eef9a191f7d3a76047095d0f52'/>
<id>4af27623361335eef9a191f7d3a76047095d0f52</id>
<content type='text'>
on AMD64, and the general case where the emulated platform has different
size pointers than we use natively:
- declare certain structure members as l_uintptr_t and use the new PTRIN
  and PTROUT macros to convert to and from native pointers.
- declare some structures __packed on amd64 when the layout would differ
  from that used on i386.
- include &lt;machine/../linux32/linux.h&gt; instead of &lt;machine/../linux/linux.h&gt;
  if compiling with COMPAT_LINUX32. This will need to be revisited before
  32-bit and 64-bit Linux emulation support can coexist in the same kernel.
- other small scattered changes.

This should be a no-op on i386 and Alpha.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
on AMD64, and the general case where the emulated platform has different
size pointers than we use natively:
- declare certain structure members as l_uintptr_t and use the new PTRIN
  and PTROUT macros to convert to and from native pointers.
- declare some structures __packed on amd64 when the layout would differ
  from that used on i386.
- include &lt;machine/../linux32/linux.h&gt; instead of &lt;machine/../linux/linux.h&gt;
  if compiling with COMPAT_LINUX32. This will need to be revisited before
  32-bit and 64-bit Linux emulation support can coexist in the same kernel.
- other small scattered changes.

This should be a no-op on i386 and Alpha.
</pre>
</div>
</content>
</entry>
<entry>
<title>I missed two pieces of the commit to this file. Robert has already</title>
<updated>2004-07-18T09:26:34+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2004-07-18T09:26:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fb75797e40b0159132f399af4589ab91390cd893'/>
<id>fb75797e40b0159132f399af4589ab91390cd893</id>
<content type='text'>
added one, this adds the other.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
added one, this adds the other.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove 'sg' argument to linux_sendto_hdrincl, which is what I think was</title>
<updated>2004-07-18T04:09:40+00:00</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2004-07-18T04:09:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=38da2381cd9c46a619bc70f7d86ac68c46eeeb33'/>
<id>38da2381cd9c46a619bc70f7d86ac68c46eeeb33</id>
<content type='text'>
intended.  This fixes the build, but might require revision.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
intended.  This fixes the build, but might require revision.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a kern_setsockopt and kern_getsockopt which can read the option</title>
<updated>2004-07-17T21:06:36+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2004-07-17T21:06:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e140eb430ccdc7b0fd43a93838242f43a469c634'/>
<id>e140eb430ccdc7b0fd43a93838242f43a469c634</id>
<content type='text'>
values from either user land or from the kernel. Use them for
[gs]etsockopt and to clean up some calls to [gs]etsockopt in the
Linux emulation code that uses the stackgap.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
values from either user land or from the kernel. Use them for
[gs]etsockopt and to clean up some calls to [gs]etsockopt in the
Linux emulation code that uses the stackgap.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up and wash struct iovec and struct uio handling.</title>
<updated>2004-07-10T15:42:16+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-07-10T15:42:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=552afd9c120e6b11dbb1acf319bd71a4e9f2b913'/>
<id>552afd9c120e6b11dbb1acf319bd71a4e9f2b913</id>
<content type='text'>
Add copyiniov() which copies a struct iovec array in from userland into
a malloc'ed struct iovec.  Caller frees.

Change uiofromiov() to malloc the uio (caller frees) and name it
copyinuio() which is more appropriate.

Add cloneuio() which returns a malloc'ed copy.  Caller frees.

Use them throughout.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add copyiniov() which copies a struct iovec array in from userland into
a malloc'ed struct iovec.  Caller frees.

Change uiofromiov() to malloc the uio (caller frees) and name it
copyinuio() which is more appropriate.

Add cloneuio() which returns a malloc'ed copy.  Caller frees.

Use them throughout.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a couple of regular kernel entry points, rather than COMPAT_43</title>
<updated>2004-07-08T10:18:07+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-07-08T10:18:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=87d72a8f2734556c32ee5775f7202819cfbf0383'/>
<id>87d72a8f2734556c32ee5775f7202819cfbf0383</id>
<content type='text'>
entry points.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
entry points.
</pre>
</div>
</content>
</entry>
<entry>
<title>Quick fix for LINT breakage caused by interface changes in accept(2), etc.</title>
<updated>2003-12-25T09:59:02+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2003-12-25T09:59:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3db2a84395a85f1a975b78ac44afaebc677da474'/>
<id>3db2a84395a85f1a975b78ac44afaebc677da474</id>
<content type='text'>
The log message for rev.1.160 of kern/uipc_syscalls.c and associated
changes only claimed to add restrict qualifiers (which have no effect in
the kernel so they probably shouldn't be added), but the following
interface changes were also made:
- caddr_t to `void *' and `struct sockaddr_t *'
- `int *' to `socklen_t *'.
These interface changes are not quite null, and this fix is quick (like
the changes in uipc_syscalls 1.160) because it uses bogus casts instead
of complete bounds-checked conversions.

Things should be fixed better when the conversions can be done without
using the stack gap.  linux_check_hdrincl() already uses the stack gap
and is fixed completely though the type mismatches in it were not fatal
(there were only fatal type mismatches from unopaquing pointers to
[o]sockaddr't's -- the difference between accept()'s args and oaccept()'s
args is now non-opaque, but this is not reflected in their args structs).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The log message for rev.1.160 of kern/uipc_syscalls.c and associated
changes only claimed to add restrict qualifiers (which have no effect in
the kernel so they probably shouldn't be added), but the following
interface changes were also made:
- caddr_t to `void *' and `struct sockaddr_t *'
- `int *' to `socklen_t *'.
These interface changes are not quite null, and this fix is quick (like
the changes in uipc_syscalls 1.160) because it uses bogus casts instead
of complete bounds-checked conversions.

Things should be fixed better when the conversions can be done without
using the stack gap.  linux_check_hdrincl() already uses the stack gap
and is fixed completely though the type mismatches in it were not fatal
(there were only fatal type mismatches from unopaquing pointers to
[o]sockaddr't's -- the difference between accept()'s args and oaccept()'s
args is now non-opaque, but this is not reflected in their args structs).
</pre>
</div>
</content>
</entry>
</feed>
