<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat, branch upstream/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-09-28T11:08:32Z</updated>
<entry>
<title>MFC r272132:</title>
<updated>2014-09-28T11:08:32Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-09-28T11:08:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=50b08bf0fc909e451472e4998f66807720d3e843'/>
<id>urn:sha1:50b08bf0fc909e451472e4998f66807720d3e843</id>
<content type='text'>
Fix fcntl(2) compat32 after r270691.

Approved by:	re (glebius)
</content>
</entry>
<entry>
<title>MFC r272059:</title>
<updated>2014-09-27T08:33:50Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2014-09-27T08:33:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6ebf074b6ec14fde999379d7f9c90e7eab2d921e'/>
<id>urn:sha1:6ebf074b6ec14fde999379d7f9c90e7eab2d921e</id>
<content type='text'>
Remake Linux' SOUND_MIXER_INFO IOCTL as a wrapper around new FreeBSD's one.

Submitted by:	Dmitry Luhtionov &lt;dmitryluhtionov@gmail.com&gt;

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC r271743:</title>
<updated>2014-09-23T07:50:04Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2014-09-23T07:50:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a7ffee45dabd8b260a2fd8154797488d4f5a807'/>
<id>urn:sha1:8a7ffee45dabd8b260a2fd8154797488d4f5a807</id>
<content type='text'>
  Implement most of timer_{create,settime,gettime,getoverrun,delete}
  for amd64/linux32.  Fix the entirely bogus (untested) version from
  r161310 for i386/linux using the same shared code in compat/linux.

  It is unclear to me if we could support more clock mappings but
  the current set allows me to successfully run commercial
  32bit linux software under linuxolator on amd64.

  Reviewed by:			jhb
  Differential Revision:	D784
Sponsored by:			DARPA, AFRL
Approved by:			re (gjb)
</content>
</entry>
<entry>
<title>Regen.</title>
<updated>2014-09-03T09:05:37Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-09-03T09:05:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6f1536a57f9f006316f1da9eacc052dcbd86c4d1'/>
<id>urn:sha1:6f1536a57f9f006316f1da9eacc052dcbd86c4d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC r270691:</title>
<updated>2014-09-03T09:05:16Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-09-03T09:05:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f1fc63daefa03f6fa6777ca3d37f2d22e5fdcfba'/>
<id>urn:sha1:f1fc63daefa03f6fa6777ca3d37f2d22e5fdcfba</id>
<content type='text'>
Fix handling of the third argument for fcntl(2).  The native syscall
uses long for arg, which needs translation.
</content>
</entry>
<entry>
<title>MFC 264164: Convert while copying in control messages.</title>
<updated>2014-08-03T02:37:33Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2014-08-03T02:37:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=29d8e55b89ed268d37b65839c59fee1c50eb9c9b'/>
<id>urn:sha1:29d8e55b89ed268d37b65839c59fee1c50eb9c9b</id>
<content type='text'>
Obtained from:	Juniper Networks, Inc.
</content>
</entry>
<entry>
<title>MFC r267051:</title>
<updated>2014-07-04T15:09:56Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2014-07-04T15:09:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0294cdaef3aba346834720a07bc816770ca23bfb'/>
<id>urn:sha1:0294cdaef3aba346834720a07bc816770ca23bfb</id>
<content type='text'>
- Add support for SG_GET_SG_TABLESIZE IOCTL to report that we don't support
scatter/gather lists.
- Return error for still unsupported SG 3.x API read/write calls.
</content>
</entry>
<entry>
<title>MFC r266981:</title>
<updated>2014-07-02T10:16:12Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2014-07-02T10:16:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fedcd50c8616c084916f64b7b6c7177e3b07421c'/>
<id>urn:sha1:fedcd50c8616c084916f64b7b6c7177e3b07421c</id>
<content type='text'>
Overhaul CAM SG driver IOCTL interfaces.

Make it really work for native FreeBSD programs.  Before this it was broken
for years due to different number of pointer dereferences in Linux and
FreeBSD IOCTL paths, permanently returning errors to FreeBSD programs.
This change breaks the driver FreeBSD IOCTL ABI, making it more strict,
but since it was not working any way -- who bother.

Add shims for 32-bit programs on 64-bit host, translating the argument
of the SG_IO IOCTL for both FreeBSD and Linux ABIs.

With this change I was able to run 32-bit Linux sg3_utils tools and simple
32 and 64-bit FreeBSD test tools on both 32 and 64-bit FreeBSD systems.
</content>
</entry>
<entry>
<title>MFC r266924:</title>
<updated>2014-06-03T04:29:26Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2014-06-03T04:29:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e4ee66f898ba7682ccef264d6441e072953d5a19'/>
<id>urn:sha1:e4ee66f898ba7682ccef264d6441e072953d5a19</id>
<content type='text'>
Glibc was switched to the FUTEX_WAIT_BITSET op and CLOCK_REALTIME
flag has been added instead of FUTEX_WAIT to replace the FUTEX_WAIT
logic which needs to do gettimeofday() calls before the futex syscall
to convert the absolute timeout to a relative timeout.
Before this the CLOCK_MONOTONIC used by the FUTEX_WAIT_BITSET op.

When the FUTEX_CLOCK_REALTIME is specified the timeout is an absolute
time, not a relative time. Rework futex_wait to handle this.
On the side fix the futex leak in error case and remove useless
parentheses.

Properly calculate the timeout for the CLOCK_MONOTONIC case.

Tested by:	Hans Petter Selasky
</content>
</entry>
<entry>
<title>MFC r266782:</title>
<updated>2014-05-31T05:59:55Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2014-05-31T05:59:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0ef876a5f5ecd194eb8feca2e4a9730d10d3b8d3'/>
<id>urn:sha1:0ef876a5f5ecd194eb8feca2e4a9730d10d3b8d3</id>
<content type='text'>
In r218101 I have not changed properly the futex syscall definition.
Some Linux futex ops atomically verifies that the futex address uaddr
(uval) contains the value val. Comparing signed uval and unsigned val
may lead to an unexpected result, mostly to a deadlock.

So copyin uaddr to an unsigned int to compare the parameters correctly.

While here change ktr records to print parameters in more readable format.
</content>
</entry>
</feed>
