| #
68df2376
|
| 11-Sep-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Cleanup includes under amd64/linux
No functional changes.
MFC after: 1 week
|
| #
2a1cf1b6
|
| 05-Sep-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Deduplicate mmap2
To help porting the Linux emulation layer to a new platforms start using Linux names for conditional builds instead of architecture-specific ifdefs.
MFC after: 1 week
|
| #
553b1a4e
|
| 05-Sep-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Deduplicate mprotect, madvise
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/
|
| #
185bd9fa
|
| 28-May-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Simplify %r10 restoring on amd64
Restore %r10 at system call entry to avoid doing this multiply times.
Differential Revision: https://reviews.freebsd.org/D40154 MFC after: 1 month
|
| #
1d767415
|
| 18-May-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Implement ptrace_pokeusr for x86_64
Differential Revision: https://reviews.freebsd.org/D40097 MFC after: 1 week
|
| #
3d0addcd
|
| 18-May-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Make ptrace_pokeusr machine dependent
Differential Revision: https://reviews.freebsd.org/D40096 MFC after: 1 week
|
| #
dd2a6cd7
|
| 18-May-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Make ptrace_peekusr machine dependend
And partially implement it for x86_64.
Differential Revision: https://reviews.freebsd.org/D40095 MFC after: 1 week
|
| #
2456a459
|
| 14-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Cleanup includes under amd64/linux
Cleanup unneeded includes, sort the rest according to style(9). No functional changes.
MFC after: 2 weeks
|
| #
31e938c5
|
| 14-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Cleanup vm includes from linux_util.h
Include vm headers directly where they needed. The linux_util.h included in a most source files of the Linuxulator, avoid collecting a rarely used inc
linux(4): Cleanup vm includes from linux_util.h
Include vm headers directly where they 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 ...
|
| #
26700ac0
|
| 23-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Deduplicate execve
As linux_execve is common across archs, except amd64 32-bit Linuxulator, move it under compat/linux.
Noted by: andrew@ MFC after: 2 weeks
|
| #
af4051d2
|
| 25-Nov-2021 |
Mateusz Guzik <mjg@FreeBSD.org> |
linux: remove the always curthread argument from lconvpath
|
| #
0bf8d5d5
|
| 09-Nov-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: Replace ifdefs in ptrace with per-architecture callbacks
It's a cleanup; no (intended) functional changes.
Sponsored By: EPSRC Reviewed By: kib Differential Revision: https://reviews.freebsd
linux: Replace ifdefs in ptrace with per-architecture callbacks
It's a cleanup; no (intended) functional changes.
Sponsored By: EPSRC Reviewed By: kib Differential Revision: https://reviews.freebsd.org/D32888
show more ...
|
| #
f0d9a6a7
|
| 30-Oct-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: make PTRACE_SETREGS use a correct struct
Note that this is largely untested at this point, as was the previous version; I'm committing this mostly to get rid of `struct linux_pt_reg`.
Sponso
linux: make PTRACE_SETREGS use a correct struct
Note that this is largely untested at this point, as was the previous version; I'm committing this mostly to get rid of `struct linux_pt_reg`.
Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D32735
show more ...
|
| #
3417c298
|
| 23-Oct-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: Constify bsd_to_linux_regset()
No functional changes.
Reviewed By: emaste Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D32599
|
| #
0a4b664a
|
| 12-Aug-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add struct clone_args for future clone3 system call.
In preparation for clone3 system call add struct clone_args and use it in clone implementation. Move all of clone related bits to the n
linux(4): Add struct clone_args for future clone3 system call.
In preparation for clone3 system call add struct clone_args and use it in clone implementation. Move all of clone related bits to the newly created linux_fork.h header.
Differential revision: https://reviews.freebsd.org/D31474 MFC after: 2 weeks
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
|
| #
1ca6b15b
|
| 20-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Drop "All rights reserved" from my copyright statements.
Add email and fixup years while here.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D30912 MFC after: 2 weeks
|
| #
447636e4
|
| 30-Jun-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux(4): implement coredump support
Implement dumping core for Linux binaries on amd64, for both 32- and 64-bit executables. Some bits are still missing.
This is based on a prototype by chuck@.
linux(4): implement coredump support
Implement dumping core for Linux binaries on amd64, for both 32- and 64-bit executables. Some bits are still missing.
This is based on a prototype by chuck@.
Reviewed By: kib Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30019
show more ...
|
| #
916f3dba
|
| 06-May-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux(4): make arch_prctl(2) support GET_CET_STATUS, report unknown codes
This is largely a no-op, to make future debugging slightly easier.
Sponsored By: EPSRC Differential Revision: https://revie
linux(4): make arch_prctl(2) support GET_CET_STATUS, report unknown codes
This is largely a no-op, to make future debugging slightly easier.
Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30035
show more ...
|
| #
3b57ddb0
|
| 18-Mar-2021 |
John Baldwin <jhb@FreeBSD.org> |
Rename linux_set_upcall_kse() to linux_set_upcall().
This matches the rename of cpu_set_upcall_kse() in 5c2cf818454375536fda522ba83cf67c50929e6b.
Reviewed by: kib, emaste MFC after: 1 week Sponsore
Rename linux_set_upcall_kse() to linux_set_upcall().
This matches the rename of cpu_set_upcall_kse() in 5c2cf818454375536fda522ba83cf67c50929e6b.
Reviewed by: kib, emaste MFC after: 1 week Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D29295
show more ...
|
| #
704547ce
|
| 12-Mar-2021 |
John Baldwin <jhb@FreeBSD.org> |
amd64: Cleanups to setting TLS registers for Linux binaries.
- Use update_pcb_bases() when updating FS or GS base addresses to permit use of FSBASE and GSBASE in Linux processes. This also sets
amd64: Cleanups to setting TLS registers for Linux binaries.
- Use update_pcb_bases() when updating FS or GS base addresses to permit use of FSBASE and GSBASE in Linux processes. This also sets PCB_FULL_IRET. linux32 was setting PCB_32BIT which should be a no-op (exec sets it).
- Remove write-only variables to construct unused segment descriptors for linux32.
Reviewed by: kib MFC after: 1 week Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D29026
show more ...
|
| #
cc743b05
|
| 15-Feb-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: drop unneeded casts
No functional changes.
Sponsored By: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D28533
|