#
d1daec3d |
| 19-Aug-2024 |
Ed Maste <emaste@FreeBSD.org> |
linux.4: improve the path translation clarificiation
As suggested by martin@lispworks.com, refer to the compat path explicitly, and correct an existing grammaro.
PR: 277804 Fixes: f66e71fa78e1 ("l
linux.4: improve the path translation clarificiation
As suggested by martin@lispworks.com, refer to the compat path explicitly, and correct an existing grammaro.
PR: 277804 Fixes: f66e71fa78e1 ("linux.4: clarify path translation") Sponsored by: The FreeBSD Foundation
show more ...
|
#
f66e71fa |
| 19-Aug-2024 |
Ed Maste <emaste@FreeBSD.org> |
linux.4: clarify path translation
Try to be a little more explicit about the path translation mechanism accessing /compat/linux/<path> then falling back to /<path>.
PR: 277804 Reviewed by: fernape
linux.4: clarify path translation
Try to be a little more explicit about the path translation mechanism accessing /compat/linux/<path> then falling back to /<path>.
PR: 277804 Reviewed by: fernape Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/14.1.0 |
|
#
9a9677ec |
| 19-May-2024 |
Ricardo Branco <rbranco@suse.de> |
linux: Update linux manpage to mention mqueuefs
Reviewed by: imp, kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1248
|
#
1a720cbe |
| 15-May-2024 |
Alexander Ziaee <concussious@runbox.com> |
man filesystems: fix xrefs after move to section 4
Reviewed by: des, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
|
Revision tags: release/13.3.0, release/14.0.0 |
|
#
fa9896e0 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line nroff pattern
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
d5dc757e |
| 31-Mar-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add compat.linux32.emulate_i386 knob.
Historically 32-bit Linuxulator under amd64 emulated the real i386 behavior. Since 3d8dd983 the old i386 Linux world can't be used under amd64 Linuxul
linux(4): Add compat.linux32.emulate_i386 knob.
Historically 32-bit Linuxulator under amd64 emulated the real i386 behavior. Since 3d8dd983 the old i386 Linux world can't be used under amd64 Linuxulator as it don't know anything about amd64 machine (which is returned now by newuname() syscall). So, add a knob to allow to swith the behavior and use i386 Linux binaries on amd64. Set knob to the new behavior as I think this is common to the modern Linux distros.
Reviewed by: Pau Amma (doc), emaste Differential revision: https://reviews.freebsd.org/D34708 MFC after: 2 weeks
show more ...
|
#
b896bdb8 |
| 17-Jan-2022 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: Make compat.linux.preserve_vstatus default to 1
From a user point of view, this makes ^T work out of the box.
Reviewed By: debdrup (man page) Sponsored By: EPSRC Differential Revision: https
linux: Make compat.linux.preserve_vstatus default to 1
From a user point of view, this makes ^T work out of the box.
Reviewed By: debdrup (man page) Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D33842
show more ...
|
#
595532a7 |
| 09-Jan-2022 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: More man page tweaks
Mention debootstrap(8) and improve the wording.
Reviewed By: debdrup, emaste, Pau Amma Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D33772
|
#
bd8077ee |
| 05-Jan-2022 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux(4): man page tweaks
Advertise rc.conf method as the right way to enable it, mention file system mapping... and change some wording.
Reviewed By: emaste, debdrup, Pau Amma Sponsored By: EPSRC
linux(4): man page tweaks
Advertise rc.conf method as the right way to enable it, mention file system mapping... and change some wording.
Reviewed By: emaste, debdrup, Pau Amma Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D33720
show more ...
|
Revision tags: release/12.3.0 |
|
#
e013e369 |
| 22-Jun-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Get rid of Linuxulator kernel build options.
Stop confusing people, retire COMPAT_LINUX and COMPAT_LINUX32 kernel build options. Since we have 32 and 64 bit Linux emulators, we can't build
linux(4): Get rid of Linuxulator kernel build options.
Stop confusing people, retire COMPAT_LINUX and COMPAT_LINUX32 kernel build options. Since we have 32 and 64 bit Linux emulators, we can't build both emulators together into the kernel. I don't think it matters, Linux emulation depends on loadable modules (via rc).
Cut LINPROCFS and LINSYSFS for consistency.
PR: 215061 Reviewed by: bcr (manpages), trasz Differential Revision: https://reviews.freebsd.org/D30751 MFC after: 2 weeks
show more ...
|
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 ...
|
#
8ec6c4a3 |
| 08-Nov-2020 |
Alexander Leidinger <netchild@FreeBSD.org> |
- add more linux socket options (sorted by value) - map those IPv4 / IPv6 socket options which exist in FreeBSD + most of them visually verified to have the same type/layout of arguments + not
- add more linux socket options (sorted by value) - map those IPv4 / IPv6 socket options which exist in FreeBSD + most of them visually verified to have the same type/layout of arguments + not tested with linux programs to behave as intended - be more human readable for known options which are not handled - be more verbose for unhandled socket message flags we know about - print the jail ID in linux_msg if run in a jail - add possibility to print debug message about known missing parts only once - add multiple levels of sysctl linux.debug: 1: print debug messages, tell about unimplemented stuff (only once) 2: like 1, but also print messages about implemented but not tested stuff (only once) 3+: like 2, but no rate limiting of messages - increase default linux debug level from 1 to 3
We are a lot more verbose in as we need to be (e.g. some of the IP socket options which are the same, and share the same memory layout, and are believed to work). The reason is that we have no good testsuite to test those linux-bits. The LTP or other test suites like the python one, are not fully up to the task we need. As such the excessive messages about emulated but not tested socket options.
IMO any MFC (possible, but most probably not by me) should set the default debug level to 1.
Discussed with: trasz
show more ...
|
Revision tags: release/12.2.0 |
|
#
d458747e |
| 22-Sep-2020 |
Christian Brueffer <brueffer@FreeBSD.org> |
Fix a bunch of mdoc issues found by mandoc -Tlint.
|
#
6bc92736 |
| 05-Jul-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make linux(4) man page also mention /compat/linux/dev.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
6ef8f9d2 |
| 04-Jul-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make the linux rc script use linrdlnk by default.
This fixes Linux gettyname(3), with caveats (see PR).
PR: kern/240767 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revisio
Make the linux rc script use linrdlnk by default.
This fixes Linux gettyname(3), with caveats (see PR).
PR: kern/240767 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25558
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 ...
|
#
2cf9eb6c |
| 16-Dec-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add a hack to make ^T work for Linux binaries, enabled with 'compat.linux.preserve_vstatus=1' sysctl.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.f
Add a hack to make ^T work for Linux binaries, enabled with 'compat.linux.preserve_vstatus=1' sysctl.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21967
show more ...
|
#
b5f20658 |
| 16-Dec-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add compat.linux.emul_path, so it can be set to something other than "/compat/linux". Useful when you have several compat directories with different Linux versions and you don't want to clash with f
Add compat.linux.emul_path, so it can be set to something other than "/compat/linux". Useful when you have several compat directories with different Linux versions and you don't want to clash with files installed by linux-c7 packages.
Reviewed by: bcr (manpages) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D22574
show more ...
|
#
f54d9519 |
| 13-Nov-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Improve Linuxulator man pages to better reflect the current state, and add some missing Xrs.
Reviewed by: brueffer, emaste (earlier version) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation D
Improve Linuxulator man pages to better reflect the current state, and add some missing Xrs.
Reviewed by: brueffer, emaste (earlier version) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D22277
show more ...
|
Revision tags: release/12.1.0 |
|
#
fd2ced61 |
| 28-Oct-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Document the fact that Linux binaries depend on pty(4).
The source part of the review will be addressed in a different way.
Reviewed by: emaste, brooks MFC after: 2 weeks Sponsored by: The FreeBSD
Document the fact that Linux binaries depend on pty(4).
The source part of the review will be addressed in a different way.
Reviewed by: emaste, brooks MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21492
show more ...
|
Revision tags: release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0 |
|
#
0275f9db |
| 11-Aug-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r321383 through r322397.
|
#
d59ead01 |
| 03-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r321970
|
#
b99d7905 |
| 01-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r321851
|
#
77d3337c |
| 01-Aug-2017 |
Dmitry Chagin <dchagin@FreeBSD.org> |
Implement proper Linux /dev/fd and /proc/self/fd behavior by adding Linux specific things to the native fdescfs file system.
Unlike FreeBSD, the Linux fdescfs is a directory containing a symbolic li
Implement proper Linux /dev/fd and /proc/self/fd behavior by adding Linux specific things to the native fdescfs file system.
Unlike FreeBSD, the Linux fdescfs is a directory containing a symbolic links to the actual files, which the process has open. A readlink(2) call on this file returns a full path in case of regular file or a string in a special format (type:[inode], anon_inode:<file-type>, etc..). As well as in a FreeBSD, opening the file in the Linux fdescfs directory is equivalent to duplicating the corresponding file descriptor.
Here we have mutually exclusive requirements: - in case of readlink(2) call fdescfs lookup() method should return VLNK vnode otherwise our kern_readlink() fail with EINVAL error; - in the other calls fdescfs lookup() method should return non VLNK vnode.
For what new vnode v_flag VV_READLINK was added, which is set if fdescfs has beed mounted with linrdlnk option an modified kern_readlinkat() to properly handle it.
For now For Linux ABI compatibility mount fdescfs volume with linrdlnk option:
mount -t fdescfs -o linrdlnk null /compat/linux/dev/fd
Reviewed by: kib@ MFC after: 1 week Relnotes: yes
show more ...
|