Revision tags: release/13.0.0, release/12.2.0 |
|
#
1a180032 |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
compat: clean up empty lines in .c and .h files
|
#
e2515283 |
| 27-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
74a796e0 |
| 17-Aug-2020 |
Mark Johnston <markj@FreeBSD.org> |
Fix a lock leak when emulating futex(FUTEX_WAIT_BITSET).
Reported by: syzkaller MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
Revision tags: release/11.4.0 |
|
#
86e794eb |
| 11-Jun-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Don't use newlines with linux_msg(). No functional changes.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
433d61a5 |
| 11-Jun-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Improve the warnings.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
44e86fbd |
| 13-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357662 through r357854.
|
#
8e3d7cae |
| 07-Feb-2020 |
Konstantin Belousov <kib@FreeBSD.org> |
linux futex_put(): do not touch futex after dropping our reference.
Reported and tested by: Steve Roome <me@stephenroome.com> Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
Revision tags: release/12.1.0 |
|
#
a161fba9 |
| 18-Oct-2019 |
Yuri Pankov <yuripv@FreeBSD.org> |
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 <iwtcex@gmail.com>
|
#
b9d3556a |
| 18-Oct-2019 |
Yuri Pankov <yuripv@FreeBSD.org> |
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 pro
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 Reviewed by: dchagin Differential Revision: https://reviews.freebsd.org/D22073
show more ...
|
Revision tags: release/11.3.0, release/12.0.0 |
|
#
14b841d4 |
| 11-Aug-2018 |
Kyle Evans <kevans@FreeBSD.org> |
MFH @ r337607, in preparation for boarding
|
#
bbd7a929 |
| 04-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r336870 through r337285, and resolve conflicts.
|
#
6040822c |
| 30-Jul-2018 |
Alan Somers <asomers@FreeBSD.org> |
Make timespecadd(3) and friends public
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
Make timespecadd(3) and friends public
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
show more ...
|
Revision tags: release/11.2.0 |
|
#
0cde66af |
| 24-Apr-2018 |
Konstantin Belousov <kib@FreeBSD.org> |
Fix futexes on i386 after the 4/4G split.
Use proper method to access userspace. For now, only the slow copyout path is implemented.
Reported and tested by: tijl (previous version) Sponsored by: T
Fix futexes on i386 after the 4/4G split.
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
show more ...
|
#
7f2d13d6 |
| 27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys/compat: further adoption of SPDX licensing ID tags.
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 - er
sys/compat: further adoption of SPDX licensing ID tags.
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.
show more ...
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
be27b311 |
| 04-May-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r317503 through r317807.
|
#
2ca5d34d |
| 01-May-2017 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Fix NULL pointer dereference in futex_wake_op() in case when the same address specified for arguments uaddr and uaddr2.
PR: 218987 Reported by: luke.tw gmail MFC after: 1 week
|
#
0aecedaa |
| 02-Apr-2017 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Remove excess tv_nsec test as this is done by linux_to_native_timespec().
MFC after: 1 week
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
f8d72f53 |
| 22-May-2016 |
Dmitry Chagin <dchagin@FreeBSD.org> |
For future use move futex timeout code to the separate function and switch to the high resolution sbintime_t.
MFC after: 1 week
|
#
a03566dd |
| 22-May-2016 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Due to lack the priority propagation feature replace sx by mutex. WIth this commit NPTL tests are ends in 1 minute faster.
MFC after: 1 week
|
#
ea53658e |
| 22-May-2016 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Add my copyright as I rewrote most of the futex code. Minor style(9) cleanup while here.
MFC after: 1 week
|
Revision tags: release/10.3.0 |
|
#
009e81b1 |
| 22-Jan-2016 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
MFH @r294567
|
#
7f38eb34 |
| 15-Jan-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r293850 through r294089.
|
#
a11378bd |
| 14-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
037f7508 |
| 14-Jan-2016 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Change linux get_robust_list system call to match actual linux one.
The set_robust_list system call request the kernel to record the head of the list of robust futexes owned by the calling thread. T
Change linux get_robust_list system call to match actual linux one.
The set_robust_list system call request the kernel to record the head of the list of robust futexes owned by the calling thread. The head argument is the list head to record. The get_robust_list system call should return the head of the robust list of the thread whose thread id is specified in pid argument. The list head should be stored in the location pointed to by head argument.
In contrast, our implemenattion of get_robust_list system call copies the known portion of memory pointed by recorded in set_robust_list system call pointer to the head of the robust list to the location pointed by head argument.
So, it is possible for a local attacker to read portions of kernel memory, which may result in a privilege escalation.
Submitted by: mjg Security: SA-16:03.linux
show more ...
|
#
e6068002 |
| 12-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|