<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_futex.c, branch releng/10.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-01-14T09:10:46Z</updated>
<entry>
<title>o Fix filemon and bmake meta-mode stability issues. [EN-16:01]</title>
<updated>2016-01-14T09:10:46Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2016-01-14T09:10:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f86e2d395476d8856f8ec778b41942180ef632c'/>
<id>urn:sha1:7f86e2d395476d8856f8ec778b41942180ef632c</id>
<content type='text'>
o Fix invalid TCP checksums with pf(4). [EN-16:02.pf]
o Fix YP/NIS client library critical bug. [EN-16:03.yplib]
o Fix SCTP ICMPv6 error message vulnerability. [SA-16:01.sctp]
o Fix ntp panic threshold bypass vulnerability. [SA-16:02.ntp]
o Fix Linux compatibility layer incorrect futex handling. [SA-16:03.linux]
o Fix Linux compatibility layer setgroups(2) system call. [SA-16:04.linux]
o Fix TCP MD5 signature denial of service. [SA-16:05.tcp]
o Fix insecure default bsnmpd.conf permissions. [SA-16:06.bsnmpd]

Errata:		FreeBSD-EN-16:01.filemon
Errata:		FreeBSD-EN-16:02.pf
Errata:		FreeBSD-EN-16:03.yplib
Security:	FreeBSD-SA-16:01.sctp, CVE-2016-1879
Security:	FreeBSD-SA-16:02.ntp, CVE-2015-5300
Security:	FreeBSD-SA-16:03.linux, CVE-2016-1880
Security:	FreeBSD-SA-16:04.linux, CVE-2016-1881
Security:	FreeBSD-SA-16:05.tcp, CVE-2016-1882
Security:	FreeBSD-SA-16:06.bsnmpd, CVE-2015-5677
Approved by:	so
</content>
</entry>
<entry>
<title>MFC r276511:</title>
<updated>2015-01-08T06:29:52Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2015-01-08T06:29:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ded2fb94990b1225f0525f2c08f64f3081e53c11'/>
<id>urn:sha1:ded2fb94990b1225f0525f2c08f64f3081e53c11</id>
<content type='text'>
Fix Clang warning: passing 'unsigned int *' to parameter of type 'int *'
converts between pointers to integer types with different sign.
</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>
<entry>
<title>Fix some typos that were causing probe argument types to show up as unknown.</title>
<updated>2013-10-01T15:40:27Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2013-10-01T15:40:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=92c6196caadbcb648cd757d5f4b4e0b6426097f9'/>
<id>urn:sha1:92c6196caadbcb648cd757d5f4b4e0b6426097f9</id>
<content type='text'>
Reviewed by:	rwatson (mac provider)
Approved by:	re (glebius)
MFC after:	1 week
</content>
</entry>
<entry>
<title>Arithmetic on pointers takes into account the size of the type. Properly cast the pointer to avoid incorrect pointer scaling.</title>
<updated>2013-01-25T14:40:54Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2013-01-25T14:40:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d04cf1d9ea987f3a8f55ef409067f468d13bed3'/>
<id>urn:sha1:4d04cf1d9ea987f3a8f55ef409067f468d13bed3</id>
<content type='text'>
MFC after:	1 Week
</content>
</entry>
<entry>
<title>- &gt;500 static DTrace probes for the linuxulator</title>
<updated>2012-05-05T19:42:38Z</updated>
<author>
<name>Alexander Leidinger</name>
<email>netchild@FreeBSD.org</email>
</author>
<published>2012-05-05T19:42:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=19e252baebe7a7466b33c27560420b7d95fe294d'/>
<id>urn:sha1:19e252baebe7a7466b33c27560420b7d95fe294d</id>
<content type='text'>
- DTrace scripts to check for errors, performance, ...
  they serve mostly as examples of what you can do with the static probe;s
  with moderate load the scripts may be overwhelmed, excessive lock-tracing
  may influence program behavior (see the last design decission)

Design decissions:
 - use "linuxulator" as the provider for the native bitsize; add the
   bitsize for the non-native emulation (e.g. "linuxuator32" on amd64)
 - Add probes only for locks which are acquired in one function and released
   in another function. Locks which are aquired and released in the same
   function should be easy to pair in the code, inter-function
   locking is more easy to verify in DTrace.
 - Probes for locks should be fired after locking and before releasing to
   prevent races (to provide data/function stability in DTrace, see the
   man-page of "dtrace -v ..." and the corresponding DTrace docs).
</content>
</entry>
<entry>
<title>Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.</title>
<updated>2011-11-07T06:44:47Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2011-11-07T06:44:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d745c852becf3792a2185003947324721209195a'/>
<id>urn:sha1:d745c852becf3792a2185003947324721209195a</id>
<content type='text'>
This means that their use is restricted to a single C file.
</content>
</entry>
<entry>
<title>Remove now-obsolete comment.</title>
<updated>2011-03-10T19:50:12Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2011-03-10T19:50:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c28a98e9487a26cd365035014e2d3d11d7e07361'/>
<id>urn:sha1:c28a98e9487a26cd365035014e2d3d11d7e07361</id>
<content type='text'>
Submitted by:	netchild
MFC after:	1 week
</content>
</entry>
<entry>
<title>Print out shared flag for debug purpose.</title>
<updated>2011-03-03T18:29:55Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2011-03-03T18:29:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3a4bc256910bbc1158bf4dde7c92b10632c66e42'/>
<id>urn:sha1:3a4bc256910bbc1158bf4dde7c92b10632c66e42</id>
<content type='text'>
MFC after:	1 Week
</content>
</entry>
</feed>
