|
Revision tags: release/14.2.0 |
|
| #
f11c79fc |
| 17-Oct-2024 |
Warner Losh <imp@FreeBSD.org> |
Revert "modules: Add missing opt_*.h files for stand-alone compile"
This reverts commit 1a37caeb076b9d31e13c54691d7f1eeb589798bb.
I'd overlooked 06c07e1203324bfe8ab4526c82dbb750864272d5 when I upda
Revert "modules: Add missing opt_*.h files for stand-alone compile"
This reverts commit 1a37caeb076b9d31e13c54691d7f1eeb589798bb.
I'd overlooked 06c07e1203324bfe8ab4526c82dbb750864272d5 when I updated a branch I'd previously committed but not updated. My search for this in my tree before the commit was to a stale file...
Sponsored by: Netflix
show more ...
|
| #
1a37caeb |
| 12-Oct-2024 |
Warner Losh <imp@FreeBSD.org> |
modules: Add missing opt_*.h files for stand-alone compile
Standalone compile that we at least create these opt_*.h files.
Sponsored by: Netflix
|
|
Revision tags: release/13.4.0 |
|
| #
12a6257a |
| 19-Aug-2024 |
Andrew Turner <andrew@FreeBSD.org> |
sys/conf: Introduce NOSAN_CFLAGS and NOSAN_C
To simplify disabling the kernel sanitizers in some files add NOSAN_CFLAGS and NOSAN_C variables. These are CFLAGS and NORMAL_C with the sanitizer flags
sys/conf: Introduce NOSAN_CFLAGS and NOSAN_C
To simplify disabling the kernel sanitizers in some files add NOSAN_CFLAGS and NOSAN_C variables. These are CFLAGS and NORMAL_C with the sanitizer flags removed.
While here add MSAN_CFLAGS to simplify keeping KMSAN in kern_kcov.c
Reviewed by: khng, brooks, imp, markj Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45498
show more ...
|
| #
e9ac4169 |
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
| #
bed65d85 |
| 04-Jun-2024 |
Andrew Turner <andrew@FreeBSD.org> |
linux64: Fix the build on arm64 with bti checking
When we enable checking for BTI on arm64 we need to include an ELF note in all object files linked into a module.
As using objcopy from a binary to
linux64: Fix the build on arm64 with bti checking
When we enable checking for BTI on arm64 we need to include an ELF note in all object files linked into a module.
As using objcopy from a binary to an ELF object file doesn't add the note switch to using .incbin from an assembly file. This allows us to add the needed note without affecting the included object.
Reviewed by: imp, kib, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45468
show more ...
|
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
8e1a7e29 |
| 10-Oct-2023 |
Mark Johnston <markj@FreeBSD.org> |
sanitizers: Avoid building genassym.c and genoffset.c with sanitizers
Some, particularly KASAN, may insert redzones around global symbols, resulting in incorrect offset definitions because genassym.
sanitizers: Avoid building genassym.c and genoffset.c with sanitizers
Some, particularly KASAN, may insert redzones around global symbols, resulting in incorrect offset definitions because genassym.sh (ab)uses symbol sizes to assign semantic meaning.
(Ideally I would be able to define this pattern in one place, but I haven't found a way to define a GENSYM_CFLAGS that actually works for all of the consumers (kern.post.mk, kmod.mk, sys/conf/files*).)
MFC after: 1 week Sponsored by: Klara, Inc. Sponsored by: Juniper Networks, Inc.
show more ...
|
| #
c6ae97c4 |
| 26-Dec-2023 |
Alex Xu (Hello71) <alex_y_xu@yahoo.ca> |
sys: ${CFLAGS:N-flto} -> ${CFLAGS:N-flto*}
For the same reason as the original https://reviews.freebsd.org/D9659: -flto=<N>, -flto=full, and -flto=thin also produce the GIMPLE/bitcode which is not s
sys: ${CFLAGS:N-flto} -> ${CFLAGS:N-flto*}
For the same reason as the original https://reviews.freebsd.org/D9659: -flto=<N>, -flto=full, and -flto=thin also produce the GIMPLE/bitcode which is not supported by genassym, so filter those out as well.
Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/898
show more ...
|
| #
031beb4e |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
22dca7ac |
| 22-Jul-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Implement xattr syscalls
Reviewed by: Differential revision: https://reviews.freebsd.org/D35544 MFC after: 1 month
|
|
Revision tags: release/13.2.0 |
|
| #
825fbd08 |
| 14-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Trim unused opt_usb.h from modules Makefiles
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
|
|
Revision tags: release/12.4.0 |
|
| #
35548e48 |
| 19-Jul-2022 |
Ed Maste <emaste@FreeBSD.org> |
linux64: improve linux_support.s make rules
Previously we relied on the .s.o rule in share/mk/bsd.suffixes.mk to tell make that linux_support.o is built from linux_support.s, even though we do not u
linux64: improve linux_support.s make rules
Previously we relied on the .s.o rule in share/mk/bsd.suffixes.mk to tell make that linux_support.o is built from linux_support.s, even though we do not use the .s.o rule to assemble it.
Reviewed by: sjg MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35864
show more ...
|
| #
ccd9b49f |
| 24-Jul-2022 |
Elliott Mitchell <ehem+freebsd@m5p.com> |
sys: use .S for assembly language files that use the preprocessor
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/609 Differential Revision: https://reviews.freebsd.org/D3
sys: use .S for assembly language files that use the preprocessor
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/609 Differential Revision: https://reviews.freebsd.org/D35908
show more ...
|
| #
010175a7 |
| 29-Oct-2022 |
Warner Losh <imp@FreeBSD.org> |
modules: Add missing opt_*.h files for stand-alone compile
Standalone compile that we at least create these opt_*.h files.
Sponsored by: Netflix
|
| #
f396f9b6 |
| 29-Oct-2022 |
Mitchell Horne <mhorne@FreeBSD.org> |
linux, linux64: fix module load
The previous commit added references to to the syscallnames arrays, but failed to add the relevant source files to the module build. Thus, the modules failed to load
linux, linux64: fix module load
The previous commit added references to to the syscallnames arrays, but failed to add the relevant source files to the module build. Thus, the modules failed to load due to missing symbols.
Reported by: cy Fixes: 1da65dcb1c57 ("linux: populate sv_syscallnames in each sysentvec") Sponsored by: The FreeBSD Foundation
show more ...
|
| #
33178488 |
| 29-Oct-2022 |
Mitchell Horne <mhorne@FreeBSD.org> |
linux, linux64: improve SRCS formatting
Sort the entries alphabetically, and list them with one entry per line. This makes the diffs much cleaner when adding or removing a new entry, as I will do in
linux, linux64: improve SRCS formatting
Sort the entries alphabetically, and list them with one entry per line. This makes the diffs much cleaner when adding or removing a new entry, as I will do in the next commit.
MFC after: 1 week Sponsored by: The FreeBSD Foundation
show more ...
|
| #
2b378d59 |
| 23-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4); Move vdso_selector_x86.c to the linux_common module
MFC after: 2 weeks
|
|
Revision tags: release/13.1.0 |
|
| #
5a6a4fb2 |
| 08-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Implement vdso getcpu for x86.
This is modeled after f2395455 (by kib@).
MFC after: 2 weeks
|
| #
ee55d560 |
| 26-Apr-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add a simple rseq syscall implementation.
To avoid annoyng messages from glibc-2.35 test suite add the simple implementation of rseq syscall which is do nothing for now.
I plan to impleme
linux(4): Add a simple rseq syscall implementation.
To avoid annoyng messages from glibc-2.35 test suite add the simple implementation of rseq syscall which is do nothing for now.
I plan to implement it if and when the API stabilizes.
MFC after: 2 weeks
show more ...
|
|
Revision tags: release/12.3.0 |
|
| #
5bb3134a |
| 07-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
Fix some modules to export more used symbols
and remove non-present symbols that are now reported by kmod_syms.awk.
Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differ
Fix some modules to export more used symbols
and remove non-present symbols that are now reported by kmod_syms.awk.
Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32878
show more ...
|
| #
b0fa09a0 |
| 26-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Fix amd64 gcc build.
Do not specify memory model and mregparm for amd64, it's only available on IA-32 architecture.
Reported by: jhb, jrtc27 MFC after: 2 weeks
|
| #
9931033b |
| 20-Jul-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4); Almost complete the vDSO.
The vDSO (virtual dynamic shared object) is a small shared library that the kernel maps R/O into the address space of all Linux processes on image activation. The
linux(4); Almost complete the vDSO.
The vDSO (virtual dynamic shared object) is a small shared library that the kernel maps R/O into the address space of all Linux processes on image activation. The vDSO is a fully formed ELF image, shared by all processes with the same ABI, has no process private data.
The primary purpose of the vDSO: - non-executable stack, signal trampolines not copied to the stack; - signal trampolines unwind, mandatory for the NPTL; - to avoid contex-switch overhead frequently used system calls can be implemented in the vDSO: for now gettimeofday, clock_gettime.
The first two have been implemented, so add the implementation of system calls.
System calls implemenation based on a native timekeeping code with some limitations: - ifunc can't be used, as vDSO r/o mapped to the process VA and rtld can't relocate symbols; - reading HPET memory is not implemented for now (TODO).
In case on any error vDSO system calls fallback to the kernel system calls. For unimplemented vDSO system calls added prototypes which call corresponding kernel system call.
Tested by: trasz (arm64) Differential revision: https://reviews.freebsd.org/D30900 MFC after: 2 weeks
show more ...
|
| #
45d99014 |
| 03-Jul-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux(4): implement coredumps on arm64
Previously they only worked on amd64.
Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30975
|
| #
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 ...
|
|
Revision tags: release/13.0.0 |
|
| #
88588c4b |
| 24-Mar-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Get rid of i386 ref here as linux64 is a 64-bit module.
Reviewed By: emaste, imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29412
|