<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_futex.c, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-06-29T20:01:56Z</updated>
<entry>
<title>linux(4): Prevent integer overflow in futex_requeue.</title>
<updated>2021-06-29T20:01:56Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2021-06-10T11:23:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=18b6113dfaeca9485aaf7338f0170f7b12603e53'/>
<id>urn:sha1:18b6113dfaeca9485aaf7338f0170f7b12603e53</id>
<content type='text'>
To prevent a signed integer overflow in futex_requeue add a sanity check
to catch negative values of nrwake or nrrequeue.

Approved by:	so
Security:	EN-21:22.linux_futex

(cherry picked from commit 25b09d6f398ea8a260ee8e2e8209fd76c61e13ee)
(cherry picked from commit 43a58daffe7256f0948ce895fed9fae55dec98fc)
</content>
</entry>
<entry>
<title>MFC r362059:</title>
<updated>2020-08-24T16:15:12Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-24T16:15:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=db14b93d1ed03979d56661fed162a7762f116eff'/>
<id>urn:sha1:db14b93d1ed03979d56661fed162a7762f116eff</id>
<content type='text'>
Don't use newlines with linux_msg().  No functional changes.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r364328:</title>
<updated>2020-08-24T13:54:58Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-08-24T13:54:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b91e0ff5b5d789c80e37968086598090c989e7d6'/>
<id>urn:sha1:b91e0ff5b5d789c80e37968086598090c989e7d6</id>
<content type='text'>
Fix a lock leak when emulating futex(FUTEX_WAIT_BITSET).
</content>
</entry>
<entry>
<title>MFC r362052:</title>
<updated>2020-08-23T22:12:55Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-23T22:12:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=559e4454ddb901560cc6b64eaa74c81f76828efb'/>
<id>urn:sha1:559e4454ddb901560cc6b64eaa74c81f76828efb</id>
<content type='text'>
Improve the warnings.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r353725 by yuripv:</title>
<updated>2020-08-23T21:48:57Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-23T21:48:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e97be8305dc65e2b4457f5ea811567dd0f1a778b'/>
<id>urn:sha1:e97be8305dc65e2b4457f5ea811567dd0f1a778b</id>
<content type='text'>
linux: futex_mtx should follow futex_list

Move futex_mtx to linux_common.ko for amd64 and aarch64 along
with respective list/mutex init/destroy.

PR:		240989
Reported by:	Alex S &lt;iwtcex@gmail.com&gt;
</content>
</entry>
<entry>
<title>MFC r353724 by yuripv:</title>
<updated>2020-08-23T21:46:48Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2020-08-23T21:46:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3b63573ac2739f003bc597df4534d304f7619d88'/>
<id>urn:sha1:3b63573ac2739f003bc597df4534d304f7619d88</id>
<content type='text'>
linux: provide just one instance of futex_list

Move futex_list definition to linux.c which is included once
in linux.ko (i386) and in linux_common.ko (amd64 and aarch64)
allowing 32/64 bit linux programs to access the same futexes
in the latter case.

PR:		240989
</content>
</entry>
<entry>
<title>MFC r357668:</title>
<updated>2020-02-14T13:10:52Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-02-14T13:10:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fc852608581657f5c1474cb51e449a9bfaeca043'/>
<id>urn:sha1:fc852608581657f5c1474cb51e449a9bfaeca043</id>
<content type='text'>
linux futex_put(): do not touch futex after dropping our reference.
</content>
</entry>
<entry>
<title>Make timespecadd(3) and friends public</title>
<updated>2018-07-30T15:46:40Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-07-30T15:46:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6040822c4e20fb46638ecaaad543fc56f6ec2b0f'/>
<id>urn:sha1:6040822c4e20fb46638ecaaad543fc56f6ec2b0f</id>
<content type='text'>
The timespecadd(3) family of macros were imported from NetBSD back in
r35029. However, they were initially guarded by #ifdef _KERNEL. In the
meantime, we have grown at least 28 syscalls that use timespecs in some
way, leading many programs both inside and outside of the base system to
redefine those macros. It's better just to make the definitions public.

Our kernel currently defines two-argument versions of timespecadd and
timespecsub.  NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define
three-argument versions.  Solaris also defines a three-argument version, but
only in its kernel.  This revision changes our definition to match the
common three-argument version.

Bump _FreeBSD_version due to the breaking KPI change.

Discussed with:	cem, jilles, ian, bde
Differential Revision:	https://reviews.freebsd.org/D14725
</content>
</entry>
<entry>
<title>Fix futexes on i386 after the 4/4G split.</title>
<updated>2018-04-24T12:50:21Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-04-24T12:50:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0cde66af7805988ea16f6c48394cf01d2f4f46f3'/>
<id>urn:sha1:0cde66af7805988ea16f6c48394cf01d2f4f46f3</id>
<content type='text'>
Use proper method to access userspace.  For now, only the slow copyout
path is implemented.

Reported and tested by:	tijl (previous version)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>sys/compat: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T15:13:23Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T15:13:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f2d13d60721803155950276e0282fcd1e6bacc3'/>
<id>urn:sha1:7f2d13d60721803155950276e0282fcd1e6bacc3</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
</feed>
