Revision tags: release/14.0.0 |
|
#
3460fab5 |
| 18-Aug-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743
|
#
685dc743 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
48645905 |
| 11-Jun-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Revert "linux(4): The futex_wait operation should restart."
This reverts commit 5eec19c8eb0e1afafd7290325c61611c9a13b621 due to its wrong. Linux interrupts futex syscall on signal and return EINTR.
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0 |
|
#
c8a79231 |
| 14-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Rename linux_timer.h to linux_time.h
To avoid confusing people, rename linux_timer.h to linux_time.h, as linux_timer.c is the implementation of timer syscalls only, while linux_time.c cont
linux(4): Rename linux_timer.h to linux_time.h
To avoid confusing people, rename linux_timer.h to linux_time.h, as linux_timer.c is the implementation of timer syscalls only, while linux_time.c contains implementation of all stuff declared in linux_time.h.
MFC after: 2 weeks
show more ...
|
#
d8e53d94 |
| 14-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Cleanup includes under compat/linux
Cleanup unneeded includes, sort the rest according to style(9). No functional changes.
MFC after: 2 weeks
|
#
513eb69e |
| 14-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Cleanup sys/sysent.h from linux_util
Include sys/sysent.h directly where it needed. The linux_util.h included in a most source files of the Linuxulator, avoid collecting a rarely used incl
linux(4): Cleanup sys/sysent.h from linux_util
Include sys/sysent.h directly where it needed. The linux_util.h included in a most source files of the Linuxulator, avoid collecting a rarely used includes here.
MFC after: 2 weeks
show more ...
|
#
10d16789 |
| 12-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Get rid of the opt_compat.h include.
Since e013e369 COMPAT_LINUX, COMPAT_LINUX32 build options are removed, so include of opt_compat.h is no more needed.
MFC after: 2 weeks
|
Revision tags: release/12.4.0 |
|
#
9f7bf94e |
| 08-Nov-2022 |
Alex S <iwtcex@gmail.com> |
linux(4): Fix get_robust_list() syscall return value.
The system call returns the head of the robust futex list. The list head is stored in the location pointed to by the head argument. When copying
linux(4): Fix get_robust_list() syscall return value.
The system call returns the head of the robust futex list. The list head is stored in the location pointed to by the head argument. When copying data between address spaces use proper head storage size as it depends on an emulated ABI.
PR: 267616 MFC after: 3 days
show more ...
|
#
b04f5d18 |
| 19-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): To improve readability use FUTEX_UNOWNED instead of 0
MFC after: 2 weeks
|
#
2cd66206 |
| 19-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Handle cas failure on ll/sc operations
Follow the 11a6ecd4. Check and handle the case when the ll/sc casu fails even when the compare succeeds.
For more details PR/263825, https://reviews
linux(4): Handle cas failure on ll/sc operations
Follow the 11a6ecd4. Check and handle the case when the ll/sc casu fails even when the compare succeeds.
For more details PR/263825, https://reviews.freebsd.org/D35150.
Obtained from: Andrew@ MFC after: 2 weeks
show more ...
|
Revision tags: release/13.1.0 |
|
#
109c2bd2 |
| 09-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4); Style.
MFC after: 2 weeks
|
#
07d10893 |
| 09-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Return native error from futex_atomic_op to avoid conversion by the caller.
MFC after: 2 weeks
|
#
5eec19c8 |
| 09-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): The futex_wait operation should restart.
It's ok from the futex_wait perspective as umtxq_sleep method uses absolute sleep timeout.
MFC after: 2 weeks
|
#
707e567a |
| 08-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add a helper intended for copying timespec's from the userspace.
There are many places where we copyin Linux timespec from the userspace and then convert it to the kernel timespec. To avoi
linux(4): Add a helper intended for copying timespec's from the userspace.
There are many places where we copyin Linux timespec from the userspace and then convert it to the kernel timespec. To avoid code duplication add a tiny halper for doing this.
MFC after: 2 weeks
show more ...
|
Revision tags: release/12.3.0 |
|
#
d4da6928 |
| 13-Aug-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Improve comment.
Reported by: pfg MFC after: 2 weeks
|
#
6e31bed6 |
| 12-Aug-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Fix futex copyrights.
As no more NetBSD code in futexes exists replace NetBSD copyrights by standard FreeBSD 2 clause license. Add Roman Divacky's copyrights as an author of the robust fut
linux(4): Fix futex copyrights.
As no more NetBSD code in futexes exists replace NetBSD copyrights by standard FreeBSD 2 clause license. Add Roman Divacky's copyrights as an author of the robust futexes.
Differential revision: https://reviews.freebsd.org/D31347 MFC after: 2 weeks
show more ...
|
#
2411ac0b |
| 29-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Eliminate a now unused includes after futexes refactoring.
MFC after: 2 weeks
|
#
d90df8ac |
| 29-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add a comment about wait/requeue pi operations.
MFC after: 2 weeks
|
#
626cbd46 |
| 29-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Handle incorrect FUTEX_CLOCK_REALTIME option bit.
Return ENOSYS if the FUTEX_CLOCK_REALTIME option bit is specified for an inappropriate futex operation.
MFC after: 2 weeks
|
#
a9bb1b1c |
| 29-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Handle FUTEX_LOCK_PI2 oeration.
FUTEX_LOCK_PI2 was added to support clock selection as FUTEX_LOCK_PI uses a CLOCK_REALTIME based absolute value since it was implemented, but it does not re
linux(4): Handle FUTEX_LOCK_PI2 oeration.
FUTEX_LOCK_PI2 was added to support clock selection as FUTEX_LOCK_PI uses a CLOCK_REALTIME based absolute value since it was implemented, but it does not require that the FUTEX_CLOCK_REALTIME bit is set, because that was introduced later.
MFC after: 2 weeks
show more ...
|
#
bd25bf09 |
| 29-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Use variable name not type for sizeof() to calculate storage size.
MFC after: 2 weeks
|
#
49a5c040 |
| 29-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Move len variable initialization to the appropriate place.
MFC after: 2 weeks
|
#
c8e9d2b7 |
| 29-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Use linux_tdfind() in get_robust_list.
In the Linux emulation layer linux_tdfind() has a special purpose to handle glibc specific TID mangling and we should use it instead of tdfind().
MF
linux(4): Use linux_tdfind() in get_robust_list.
In the Linux emulation layer linux_tdfind() has a special purpose to handle glibc specific TID mangling and we should use it instead of tdfind().
MFC after: 2 weeks
show more ...
|
#
f88d3c52 |
| 29-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Eliminate unnecessary error initialization.
MFC after: 2 weeks
|