| #
227d01c1
|
| 18-Sep-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): On Linux SIGKILL can not be reset to default
MFC after: 1 week
|
| #
794328fb
|
| 18-Sep-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Staticize lsiginfo_to_siginfo
It's not used outside of linux_signal.c While here fix the indentation.
MFC after: 1 week
|
| #
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/
|
| #
e185d83f
|
| 26-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Use inlined LINUX_KERNVER for tests to improve readability
MFC after: 1 month
|
| #
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
|
| #
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
|
| #
d3d3b76c
|
| 16-Jul-2022 |
Gordon Bergling <gbe@FreeBSD.org> |
linux(4): Fix a typo in a source code comment
- s/alredy/already/
MFC after: 3 days
|
| #
93107373
|
| 22-Jun-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Trace Linux l_sigset_t.
MFC after: 2 weeks
|
| #
2722e515
|
| 30-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Prefer sizeof(object) vs sizeof(type)
MFC after: 2 weeks
|
| #
55731437
|
| 30-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Error is not a bool, use proper comparison
MFC afer: 2 weeks
|
| #
5e872c27
|
| 30-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Use the copyin_sigset() in the remaining places
MFC after: 2 weeks
|
| #
a6f85b12
|
| 19-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Convert the native kernel signal codes into the Linux codes
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 ...
|
| #
3923e632
|
| 26-Apr-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add copyin_sigset() helper.
MFC after: 2 weeks
|
| #
6201a50d
|
| 25-Apr-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Refactor signal send methods.
Created a couple of helpers to send signals to the specific thread or to the whole process. Use helpers in the corresponding syscalls. This fixes the confusio
linux(4): Refactor signal send methods.
Created a couple of helpers to send signals to the specific thread or to the whole process. Use helpers in the corresponding syscalls. This fixes the confusion where a signal destined for a whole process was sent to a specific thread and vice versa. There is an exclusion for the linux_kill() syscall that takes a pid argument and should send a signal to the whole process, but I know at least one example where kill() takes tid.
MFC after: 2 weeks
show more ...
|
| #
c8c93b15
|
| 29-Oct-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: Also translate the signal if the code is CLD_KILLED
This fixes ./waitid.gen.test from the strace(1) test suite.
Reviewed By: kib Sponsored By: EPSRC Differential Revision: https://reviews.fr
linux: Also translate the signal if the code is CLD_KILLED
This fixes ./waitid.gen.test from the strace(1) test suite.
Reviewed By: kib Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D32617
show more ...
|
| #
30c6d982
|
| 26-Jul-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: implement sigaltstack(2) on arm64
... by making it machine-independent.
Reviewed By: dchagin Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D31286
|
| #
72f7ddb5
|
| 23-Jul-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: implement rt_sigsuspend(2) on arm64
... by making it architecture-independent.
Reviewed By: dchagin Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D31259
|
| #
3eaf271d
|
| 13-Jul-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux(4): Improve comment about SA_RESTORER
No functional changes.
Sponsored By: EPSRC
|
| #
db4a1f33
|
| 10-Jun-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Implement rt_sigtimedwait_time64 system call.
It still does not work as intended, awaits D30675.
MFC after: 2 weeks
|
| #
f4e80108
|
| 07-Jun-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): optimize ksiginfo to siginfo conversion.
Retire ksiginfo_to_lsiginfo function, use siginfo_to_lsiginfo instead. Convert rt_sigtimedwait siginfo variables to well known names.
MFC after: 2
linux(4): optimize ksiginfo to siginfo conversion.
Retire ksiginfo_to_lsiginfo function, use siginfo_to_lsiginfo instead. Convert rt_sigtimedwait siginfo variables to well known names.
MFC after: 2 weeks
show more ...
|
| #
9c1045ff
|
| 07-Jun-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Properly convert linux siginfo to native siginfo add input validation.
MFC after: 2 weeks
|
| #
0f8dab45
|
| 07-Jun-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Fix timeout parameter of rt_sigtimedwait syscall, which is timespec not a timeval.
MFC after: 2 weeks
|