<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/i386/linux, branch release/7.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.3.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.3.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2010-03-21T01:30:13Z</updated>
<entry>
<title>Copy releng/7.3 to release/7.3.0 to mark 7.3-RELEASE.</title>
<updated>2010-03-21T01:30:13Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2010-03-21T01:30:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9c4d1c1956ecb0a222fb2f4579c320391fb67f06'/>
<id>urn:sha1:9c4d1c1956ecb0a222fb2f4579c320391fb67f06</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 7.3-RELEASE image.
</content>
</entry>
<entry>
<title>MFC 198554:</title>
<updated>2009-11-04T20:53:35Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-11-04T20:53:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4c11b4fd0b3f7e8f54bd91cd0e7311443489f178'/>
<id>urn:sha1:4c11b4fd0b3f7e8f54bd91cd0e7311443489f178</id>
<content type='text'>
Fix some problems with effective mmap() offsets &gt; 32 bits.  This was
partially fixed on amd64 earlier.  Rather than forcing linux_mmap_common()
to use a 32-bit offset, have it accept a 64-bit file offset.  This offset
is then passed to the real mmap() call.  Rather than inventing a structure
to hold the normal linux_mmap args that has a 64-bit offset, just pass
each of the arguments individually to linux_mmap_common() since that more
closes matches the existing style of various kern_foo() functions.
</content>
</entry>
<entry>
<title>MFC r196512:</title>
<updated>2009-08-27T17:36:59Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2009-08-27T17:36:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f613e8217080c49a8fbf89b40bbc4a0737a7b67c'/>
<id>urn:sha1:f613e8217080c49a8fbf89b40bbc4a0737a7b67c</id>
<content type='text'>
  Fix handling of .note.ABI-tag section for GNU systems [1].
  Handle GNU/Linux according to LSB Core Specification 4.0,
  Chapter 11. Object Format, 11.8. ABI note tag.

  Also check the first word of desc, not only name, according to
  glibc abi-tags specification to distinguish between Linux and
  kFreeBSD.

  Add explicit handling for Debian GNU/kFreeBSD, which runs
  on our kernels as well [2].

  In {amd64,i386}/trap.c, when checking osrel of the current process,
  also check the ABI to not change the signal behaviour for Linux
  binary processes, now that we save an osrel version for all three
  from the lists above in struct proc [2] (slightly different to HEAD).

  These changes make it possible to run FreeBSD, Debian GNU/kFreeBSD
  and Linux binaries on the same machine again for at least i386 and
  amd64, and no longer break kFreeBSD which was detected as GNU(/Linux).

PR:		kern/135468
Submitted by:	dchagin [1] (initial patch)
Suggested by:	kib [2]
Tested by:	Petr Salinger (Petr.Salinger seznam.cz) for kFreeBSD
Reviewed by:	kib
</content>
</entry>
<entry>
<title>MFC r185442:</title>
<updated>2009-06-17T21:49:41Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-06-17T21:49:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d57c7139f35b28722d82ee9ff95d37fab73c5b4e'/>
<id>urn:sha1:d57c7139f35b28722d82ee9ff95d37fab73c5b4e</id>
<content type='text'>
Make linux_sendmsg() and linux_recvmsg() work on linux32/amd64.
Change types used in the linux' struct msghdr and struct cmsghdr
definitions to the properly-sized architecture-specific types.
Move ancillary data handler from linux_sendit() to linux_sendmsg().

Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>MFC r192206:</title>
<updated>2009-06-16T05:10:21Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-06-16T05:10:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=83211503bddce283c23f44f7d254b702ff0b9451'/>
<id>urn:sha1:83211503bddce283c23f44f7d254b702ff0b9451</id>
<content type='text'>
Somewhere between 2.6.23 and 2.6.27, Linux added SOCK_CLOEXEC and
SOCK_NONBLOCK flags, that allow to save fcntl() calls.

Implement a variation of the socket() syscall which takes a flags
in addition to the type argument.

Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>MFC r185647;</title>
<updated>2009-06-10T12:07:52Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-06-10T12:07:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6e332b18bf9ee67aa4e9d6531907a979893a7a80'/>
<id>urn:sha1:6e332b18bf9ee67aa4e9d6531907a979893a7a80</id>
<content type='text'>
Several threads in a process may do vfork() simultaneously. Then, all
parent threads sleep on the parent' struct proc until corresponding
child releases the vmspace. Each sleep is interlocked with proc mutex of
the child, that triggers assertion in the sleepq_add(). The assertion
requires that at any time, all simultaneous sleepers for the channel use
the same interlock.

Silent the assertion by using conditional variable allocated in the
child. Broadcast the variable event on exec() and exit().

MFC r188750:
Adapt linux emulation to use cv for vfork wait.
</content>
</entry>
<entry>
<title>MFC r191876:</title>
<updated>2009-06-06T10:55:11Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-06-06T10:55:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=882b23954db80341c6e0d371be38fddc60946e87'/>
<id>urn:sha1:882b23954db80341c6e0d371be38fddc60946e87</id>
<content type='text'>
To avoid excessive code duplication move MI definitions to the MI
header file. As it is defined in Linux.

Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>MFC r191741:</title>
<updated>2009-06-01T04:44:43Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-06-01T04:44:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bff285de4a7ddda078a0772175e9b2936b58f60f'/>
<id>urn:sha1:bff285de4a7ddda078a0772175e9b2936b58f60f</id>
<content type='text'>
Move extern variable definitions to the header file.

Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>MFC r191719:</title>
<updated>2009-05-31T06:58:35Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-05-31T06:58:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=55697af2738202647e6800d03aef8ca841cffe4e'/>
<id>urn:sha1:55697af2738202647e6800d03aef8ca841cffe4e</id>
<content type='text'>
Reimplement futexes.
Old implemention used Giant to protect the kernel data structures,
but at the same time called malloc(M_WAITOK), that could cause the
calling thread to sleep and lost Giant protection. User-visible
result was the missed wakeup.

New implementation uses one sx lock per futex. The sx protects
the futex structures and allows to sleep while copyin or copyout
are performed.

Unlike linux, we return EINVAL when FUTEX_CMP_REQUEUE operation
is requested and either caller specified futexes are equial or
second futex already exists. This is acceptable since the situation
can only occur from the application error, and glibc falls back to
old FUTEX_WAKE operation when FUTEX_CMP_REQUEUE returns an error.

Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>Merge r191883,191966,191973 from HEAD to stable/7:</title>
<updated>2009-05-28T18:26:18Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-05-28T18:26:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a47bd4c2b1d74e74b866d44cda4b841a25356f9b'/>
<id>urn:sha1:a47bd4c2b1d74e74b866d44cda4b841a25356f9b</id>
<content type='text'>
Linux exports HZ value to user space via AT_CLKTCK auxiliary vector
entry since 2.4.0.
Being exported, AT_CLKTCK is returned by sysconf(_SC_CLK_TCK),
glibc falls back to the hard-coded CLK_TCK value when aux entry
is not present.

Glibc versions prior to 2.2.1 always use hard-coded CLK_TCK value.

For older applications/libc's which depends on hard-coded CLK_TCK
value user should set compat.linux.osrelease less than 2.4.0.

linux_times() shall use the value that is exported to user space.

PR:		kern/134251
Approved by:	kib (mentor)
</content>
</entry>
</feed>
