| #
80336636
|
| 14-Oct-2025 |
Mark Johnston <markj@FreeBSD.org> |
imgact: Mark brandinfo and note structures as const
No functional change intended.
Reviewed by: olce, kib, emaste MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D53062
|
| #
85007872
|
| 24-Jun-2025 |
Andrew Turner <andrew@FreeBSD.org> |
sys: Add AT_HWCAP3 and AT_HWCAP4
It is likely we will need these on arm64. Add them in preparation for flags in these to be added at some point in the future.
Reviewed by: brooks, imp, kib Sponsore
sys: Add AT_HWCAP3 and AT_HWCAP4
It is likely we will need these on arm64. Add them in preparation for flags in these to be added at some point in the future.
Reviewed by: brooks, imp, kib Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D51005
show more ...
|
| #
68ba38da
|
| 19-May-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
amd64: add pcb_tlsbase
This is a value for TLS base that would be explicitly set by user. It is forced into the fsbase register on entry to signal handler, making TLS in the handler usable even if u
amd64: add pcb_tlsbase
This is a value for TLS base that would be explicitly set by user. It is forced into the fsbase register on entry to signal handler, making TLS in the handler usable even if userspace uses segmentation.
Reported and tested: Alex S <iwtcex@gmail.com> Tested by: pho Reviewed by: olce Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D50482
show more ...
|
| #
be707ee0
|
| 10-Feb-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
amd64/linux*: mark brandlists as static
Sponsored by: The FreeBSD Foundation MFC after: 3 days
|
| #
199e397e
|
| 03-Oct-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Deorbit linux_nosys
Differential Revision: https://reviews.freebsd.org/D41901 MFC after: 1 week
|
| #
7acc4240
|
| 25-Sep-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
linuxolator: fix nosys() to not send SIGSYS
Reviewed by: dchagin, markj Discussed with: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/
linuxolator: fix nosys() to not send SIGSYS
Reviewed by: dchagin, markj Discussed with: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D41976
show more ...
|
| #
68df2376
|
| 11-Sep-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Cleanup includes under amd64/linux
No functional changes.
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/
|
| #
4281dab8
|
| 28-Jul-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add elf_hwcap2 to x86
On x86 Linux via AT_HWCAP2 the user controlled (by tunables) processor capabilities are exposed.
Reviewed by: Differential Revision: https://reviews.freebsd.org/D411
linux(4): Add elf_hwcap2 to x86
On x86 Linux via AT_HWCAP2 the user controlled (by tunables) processor capabilities are exposed.
Reviewed by: Differential Revision: https://reviews.freebsd.org/D41165 MFC after: 2 weeks
show more ...
|
| #
cbbac560
|
| 08-Jun-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Preserve fpu xsave state across signal delivery on amd64
PR: 270247 Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D40444 MFC after: 2 weeks
|
| #
920184ed
|
| 08-Jun-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): In preparation for xsave refactor fxsave code on amd64
Due to fxsave area is os independent reimplement fxsave handmade code using copying of a whole area.
Reviewed by: kib Differential
linux(4): In preparation for xsave refactor fxsave code on amd64
Due to fxsave area is os independent reimplement fxsave handmade code using copying of a whole area.
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D40443 MFC after: 2 weeks
show more ...
|
| #
84617f6f
|
| 06-Jun-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4) rt_sendsig: Remove the use of caddr_t
Replace caddr_t by more appropriate char *.
MFC after: 2 weeks
|
| #
fd745e1d
|
| 29-May-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Use pwd_altroot() to tell namei() about ABI root path
PR: 72920 Differential Revision: https://reviews.freebsd.org/D40090 MFC after: 2 month
|
| #
037b60fb
|
| 28-May-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Preserve %rcx (return address) like a Linux do
Perhaps, this does not makes much sense as destroyng %rcx declared by the x86_64 Linux syscall ABI. However,: a) if we get a signal while we
linux(4): Preserve %rcx (return address) like a Linux do
Perhaps, this does not makes much sense as destroyng %rcx declared by the x86_64 Linux syscall ABI. However,: a) if we get a signal while we are in the kernel, we should restore tf_rcx when preparing machine context for signal handlers. b) the Linux world is strange, someone can depend on %rcx value after syscall, something like go.
Differential Revision: https://reviews.freebsd.org/D40155 MFC after: 1 month
show more ...
|
| #
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
|
| #
a463dd81
|
| 28-May-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add a comment explaining registers at syscall entry point on amd64
Differential Revision: https://reviews.freebsd.org/D40153 MFC after: 1 month
|
| #
a99b890e
|
| 28-May-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Drop a weird comment from linux_set_syscall_retval on amd64
I agree, it would be great to avoid PCB_FULL_IRET, however we should follow Linux system call ABI.
Reviewed by: emaste Differe
linux(4): Drop a weird comment from linux_set_syscall_retval on amd64
I agree, it would be great to avoid PCB_FULL_IRET, however we should follow Linux system call ABI.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40152 MFC after: 1 month
show more ...
|
| #
7d8c9839
|
| 22-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Deduplicate linux_copyout_auxargs()
Export default MINSIGSTKSZ value for the x86 until we do not preserve AVX registers in the signal context.
Differential Revision: https://reviews.freeb
linux(4): Deduplicate linux_copyout_auxargs()
Export default MINSIGSTKSZ value for the x86 until we do not preserve AVX registers in the signal context.
Differential Revision: https://reviews.freebsd.org/D39644 MFC after: 1 month
show more ...
|
| #
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
|
| #
ce20c00e
|
| 02-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Remove stale comment that no longer applies.
MFC after: 1 week
|
| #
6ad07a4b
|
| 02-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Microoptimize rt_sendsig() on amd64.
Drop proc lock earlier, before copying user stuff.
Pointed out by: kib Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D38326 MF
linux(4): Microoptimize rt_sendsig() on amd64.
Drop proc lock earlier, before copying user stuff.
Pointed out by: kib Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D38326 MFC after: 1 week
show more ...
|
| #
a95cb95e
|
| 02-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Preserve fpu fxsave state across signal delivery on amd64.
PR: 240768 Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D38302 MFC after: 1 week
|
| #
95b86034
|
| 02-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Deduplicate linux_trans_osrel().
MFC after: 1 week
|
| #
6039e966
|
| 02-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Deduplicate linux_copyout_strings().
It is still present in the 32-bit Linuxulator on amd64.
MFC after: 1 week
|