Revision tags: release/14.0.0 |
|
#
95ee2897 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
38a137f4 |
| 18-May-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Move linux_debug decalration to linux_util.h
To avoid inclusion of linux_mib.h with linux_util.h in cases where we need rate limiting macro.
MFC after: 1 week
|
#
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 ...
|
#
e185d83f |
| 26-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Use inlined LINUX_KERNVER for tests to improve readability
MFC after: 1 month
|
#
76f8584e |
| 26-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Don't relie on process osreldata when testing features
The ELF note identifyies the operating-system ABI that the executable was created for. The note data of the Glibc executable contains
linux(4): Don't relie on process osreldata when testing features
The ELF note identifyies the operating-system ABI that the executable was created for. The note data of the Glibc executable contains the earliest release number of the Linux kernel that supports this ABI. As of a current 2.37 version of Glibc, it is 3.2.0 for x86, 3.7.0 for Aarch64. Glibc does not use this release number and the current kernel's LINUX_VERSION_CODE to detect kernel features, using fallbacks to known previous way in case of ENOSYS or something else instead.
A dynamically linked Glibc reads the current kernel's LINUX_VERSION_CODE from the ELF note in the vDSO or fallback to uname syscall if the vDSO can't be located and parse the release field in struct utsname. Glibc uses the current kernel's LINUX_VERSION_CODE for "kernel too old" check.
While here use inlined LINUX_KERNVER for tests to improve readability, as suggested by emaste@.
MFC after: 1 month
show more ...
|
#
0ef30b5d |
| 22-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Bump osrelease to 5.15.0
Linux kernel version 5.15 named Trick or Treat is a 22nd LTS release.
Reviewed by: trasz, emaste Differential Revision: https://reviews.freebsd.org/D39649 MFC af
linux(4): Bump osrelease to 5.15.0
Linux kernel version 5.15 named Trick or Treat is a 22nd LTS release.
Reviewed by: trasz, emaste Differential Revision: https://reviews.freebsd.org/D39649 MFC after: 1 month
show more ...
|
#
b7a6bcdd |
| 22-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Export the AT_MINSIGSTKSZ depending on the process osreldata
AT_MINSIGSTKSZ has appeared in the 5.13.0 Linux kernel first time.
Differential Revision: https://reviews.freebsd.org/D39648 M
linux(4): Export the AT_MINSIGSTKSZ depending on the process osreldata
AT_MINSIGSTKSZ has appeared in the 5.13.0 Linux kernel first time.
Differential Revision: https://reviews.freebsd.org/D39648 MFC after: 1 month
show more ...
|
#
70eab81d |
| 22-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Export the AT_EXECFN depending on the process osreldata
AT_EXECFN has appeared in the 2.6.26 Linux kernel first time.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.o
linux(4): Export the AT_EXECFN depending on the process osreldata
AT_EXECFN has appeared in the 2.6.26 Linux kernel first time.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39647 MFC after: 1 month
show more ...
|
#
40c36c46 |
| 22-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Export the AT_RANDOM depending on the process osreldata
AT_RANDOM has appeared in the 2.6.30 Linux kernel first time.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.o
linux(4): Export the AT_RANDOM depending on the process osreldata
AT_RANDOM has appeared in the 2.6.30 Linux kernel first time.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39646 MFC after: 1 month
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
5bcf0f7c |
| 31-Mar-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Rid unused defines from linux_mib.
Reviewed by: trasz Differential revision: https://reviews.freebsd.org/D31591 MFC after: 2 weeks
|
#
4e3aefb9 |
| 31-Mar-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Fixup waitid handling P_PGID idtype.
Since Linux 5.4, if id is zero, then wait for any child that is in the same process grop as the caller's process group.
Differential revision: https:
linux(4): Fixup waitid handling P_PGID idtype.
Since Linux 5.4, if id is zero, then wait for any child that is in the same process grop as the caller's process group.
Differential revision: https://reviews.freebsd.org/D31567 MFC after: 2 weeks
show more ...
|
Revision tags: release/12.3.0 |
|
#
62b8258a |
| 06-Jun-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
Change the return type of sv__setid_allowed from bool to int
to please some userspace code using sys/sysent.h.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
Revision tags: release/13.0.0 |
|
#
598f6fb4 |
| 14-Jan-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
linuxolator: Add compat.linux.setid_allowed knob
PR: 21463 Reported by: kris Reviewed by: dchagin Tested by: trasz Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential Revision: https
linuxolator: Add compat.linux.setid_allowed knob
PR: 21463 Reported by: kris Reviewed by: dchagin Tested by: trasz Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28154
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
|
#
156da725 |
| 19-Apr-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux(4): bump osrelease to 4.4.0.
This is required for the current Arch Linux binaries to work.
PR: 254112 Reviewed By: emaste Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.o
linux(4): bump osrelease to 4.4.0.
This is required for the current Arch Linux binaries to work.
PR: 254112 Reviewed By: emaste Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D29218
show more ...
|
#
a339b422 |
| 13-Jan-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: bump the default version from 3.10.0 to 3.17.0
This is required for Qt5, as found in Ubuntu Focal. The library contains the minimum kernel version encoded in an ELF note; this makes rtld ign
linux: bump the default version from 3.10.0 to 3.17.0
This is required for Qt5, as found in Ubuntu Focal. The library contains the minimum kernel version encoded in an ELF note; this makes rtld ignore it altogether, with a confusing error message. Without it, things fail like this:
$ konsole: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
For reference, the Qt kernel version requirements can be found at: https://github.com/qt/qtbase/blob/dev/src/corelib/global/minimum-linux_p.h
Sponsored by: The FreeBSD Foundation Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D28105
show more ...
|
Revision tags: release/12.2.0 |
|
#
54669eb7 |
| 18-Oct-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add compat.linux.dummy_rlimits, and disable by default.
Turns out the dummy rlimits fix prlimit(1), but break su(8) (login-1:4.5-1ubuntu2) - although not sudo(8), for some reason.
MFC after: 2 week
Add compat.linux.dummy_rlimits, and disable by default.
Turns out the dummy rlimits fix prlimit(1), but break su(8) (login-1:4.5-1ubuntu2) - although not sudo(8), for some reason.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26814
show more ...
|
#
1c34dcb5 |
| 16-Oct-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Set default stack size for Linux apps to 8MB. This matches Linux' defaults, makes core files smaller, and fixes applications which use pthread_join(3) in a wrong way, namely Steam.
This is based on
Set default stack size for Linux apps to 8MB. This matches Linux' defaults, makes core files smaller, and fixes applications which use pthread_join(3) in a wrong way, namely Steam.
This is based on a patch submitted by Jason Yang, which I've reworked to set the limit instead of only changing the value reported (which is enough to fix the bug for Linux pthreads, but could be confusing).
PR: 248225 Submitted by: Jason_YH_Yang at wistron.com (earlier version) Analyzed by: Alex S <iwtcex@gmail.com> Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26778
show more ...
|
#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
eb6ae757 |
| 18-Jul-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Bump the default linux version from 3.2.0 to 3.10.0, which corresponds to RHEL 7. Required for DB2.
Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision
Bump the default linux version from 3.2.0 to 3.10.0, which corresponds to RHEL 7. Required for DB2.
Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25656
show more ...
|
#
462171d9 |
| 12-Jun-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add compat.linux.debug sysctl, to make it possible to silence down the debug messages. While here, clean up some variable naming.
Reviewed by: bcr (manpages), emaste MFC after: 2 weeks Sponsored by:
Add compat.linux.debug sysctl, to make it possible to silence down the debug messages. While here, clean up some variable naming.
Reviewed by: bcr (manpages), emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25230
show more ...
|
Revision tags: release/11.4.0 |
|
#
8c5059e9 |
| 10-Jun-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make linux(4) set the openfiles soft resource limit to 1024 for Linux applications, which often depend on this being the case. There's a new sysctl, compat.linux.default_openfiles, to control this b
Make linux(4) set the openfiles soft resource limit to 1024 for Linux applications, which often depend on this being the case. There's a new sysctl, compat.linux.default_openfiles, to control this behaviour.
Reviewed by: kevans, emaste, bcr (manpages) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25177
show more ...
|
#
e43d33d2 |
| 05-Mar-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358466 through r358677.
|
#
b4147bf6 |
| 05-Mar-2020 |
Tijl Coosemans <tijl@FreeBSD.org> |
Move compat.linux.map_sched_prio sysctl definition to linux_mib.c so it is only defined by linux_common kernel module and not both linux and linux64 modules.
Reported by: Yuri Pankov <ypankov@fastma
Move compat.linux.map_sched_prio sysctl definition to linux_mib.c so it is only defined by linux_common kernel module and not both linux and linux64 modules.
Reported by: Yuri Pankov <ypankov@fastmail.com>
show more ...
|
#
bb1d0df5 |
| 29-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357179 through r357269.
|