|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
8a94fdf9 |
| 22-May-2019 |
Dmitry Chagin <[email protected]> |
MFC r347052:
In order to reduce duplication between MD parts of the Linuxulator move bits that are MI out into the headers in compat/linux. For that remove bogus _packed attribute from struct l_sock
MFC r347052:
In order to reduce duplication between MD parts of the Linuxulator move bits that are MI out into the headers in compat/linux. For that remove bogus _packed attribute from struct l_sockaddr and use MI types for struct members.
And continue to move into the linux_common module a code that is intended for both Linuxulator modules (both instruction set - 32 & 64 bit) or for external modules like linsysfs or linprocfs.
To avoid header pollution introduce new sys/compat/linux_common.h header.
show more ...
|
|
Revision tags: release/12.0.0, release/11.2.0 |
|
| #
931e2a1a |
| 15-Jun-2018 |
Ed Maste <[email protected]> |
linuxulator: do not include legacy syscalls on arm64
Existing linuxulator platforms (i386, amd64) support legacy syscalls, such as non-*at ones like open, but arm64 and other new platforms do not.
linuxulator: do not include legacy syscalls on arm64
Existing linuxulator platforms (i386, amd64) support legacy syscalls, such as non-*at ones like open, but arm64 and other new platforms do not.
Wrap these in #ifdef LINUX_LEGACY_SYSCALLS, #defined in the MD linux.h files. We may need finer grained control in the future but this is sufficient for now.
Reviewed by: andrew Sponsored by: Turing Robotic Industries Differential Revision: https://reviews.freebsd.org/D15237
show more ...
|
| #
023b850b |
| 01-Mar-2018 |
Ed Maste <[email protected]> |
Rationalize license text on Linuxolator files
Many licenses on Linuxolator files contained small variations from the standard FreeBSD license text. To avoid license proliferation switch to the stan
Rationalize license text on Linuxolator files
Many licenses on Linuxolator files contained small variations from the standard FreeBSD license text. To avoid license proliferation switch to the standard 2-clause FreeBSD license for those files where I have permission from each of the listed copyright holders. Additional files still waiting on permission from others are listed in review D14210.
Approved by: dchagin, rdivacky, sos MFC after: 1 week MFC with: r329370 Sponsored by: The FreeBSD Foundation
show more ...
|
| #
132f90c6 |
| 05-Feb-2018 |
Ed Maste <[email protected]> |
Linuxolator whitespace cleanup
A version of each of the MD files by necessity exists for each CPU architecture supported by the Linuxolator. Clean these up so that new architectures do not inherit
Linuxolator whitespace cleanup
A version of each of the MD files by necessity exists for each CPU architecture supported by the Linuxolator. Clean these up so that new architectures do not inherit whitespace issues.
Clean up shared Linuxolator files while here.
Sponsored by: Turing Robotic Industries Inc.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
9811d215 |
| 28-May-2017 |
Dmitry Chagin <[email protected]> |
In r246085 some bits that are MI movied out into headers in compat/linux, but I missed that when I commited x86_64 Linuxulator. So remove the duplicates.
MFC after: 1 week
|
| #
7ece126e |
| 08-Apr-2017 |
Tai-hwa Liang <[email protected]> |
Trying to be more compatible with Linux if.h definitions: - renaming l_ifreq::ifru_metric to l_ifreq::ifru_ivalue; - adding a definition for ifr_ifindex which points to l_ifreq::ifru_ivalue.
A qui
Trying to be more compatible with Linux if.h definitions: - renaming l_ifreq::ifru_metric to l_ifreq::ifru_ivalue; - adding a definition for ifr_ifindex which points to l_ifreq::ifru_ivalue.
A quick search indicates that Linux already got the above changes since 2.1.14.
Reviewed by: kib, marcel, dchagin MFC after: 1 week
show more ...
|
| #
85712939 |
| 18-Mar-2017 |
Dmitry Chagin <[email protected]> |
To reduce code duplication move socket defines to the MI path.
MFC after: 1 week
|
| #
ab60bc84 |
| 07-Mar-2017 |
Dmitry Chagin <[email protected]> |
Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit related struct definitions out into the MI path.
Invert the native ipc structs to the Linux ipc structs convesion logic. Since
Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit related struct definitions out into the MI path.
Invert the native ipc structs to the Linux ipc structs convesion logic. Since 64-bit variant of ipc structs has more precision convert native ipc structs to the 64-bit Linux ipc structs and then truncate 64-bit values into the non 64-bit if needed. Unlike Linux, return EOVERFLOW if the values do not fit.
Fix SYSV IPC for 64-bit Linuxulator which never sets IPC_64 bit.
MFC after: 1 month
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
97d06da6 |
| 10-Jul-2016 |
Dmitry Chagin <[email protected]> |
Fix a copy/paste bug introduced during X86_64 Linuxulator work. FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation use READ_IMPLIES_EXEC flag, introduced in r302515.
Whil
Fix a copy/paste bug introduced during X86_64 Linuxulator work. FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation use READ_IMPLIES_EXEC flag, introduced in r302515.
While here move common part of mmap() and mprotect() code to the files in compat/linux to reduce code dupcliation between Linuxulator's.
Reported by: Johannes Jost Meixner, Shawn Webb
MFC after: 1 week XMFC with: r302515, r302516
show more ...
|
| #
7c598200 |
| 27-Mar-2016 |
Dmitry Chagin <[email protected]> |
Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET.
Pointed out by: ae@
|
| #
c826fcfe |
| 27-Mar-2016 |
Dmitry Chagin <[email protected]> |
iConvert Linux SOL_IPV6 level.
MFC after: 1 week
|
|
Revision tags: release/10.3.0 |
|
| #
f1389991 |
| 23-Jan-2016 |
Dmitry Chagin <[email protected]> |
Fix a typo.
MFC after: 3 days
|
|
Revision tags: release/10.2.0 |
|
| #
b7aaa9fd |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Reduce duplication between MD Linux code by moving msg related struct definitions out into the compat/linux/linux_socket.h
|
| #
4ab7403b |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Rework signal code to allow using it by other modules, like linprocfs:
1. Linux sigset always 64 bit on all platforms. In order to move Linux sigset code to the linux_common module define it as 64 b
Rework signal code to allow using it by other modules, like linprocfs:
1. Linux sigset always 64 bit on all platforms. In order to move Linux sigset code to the linux_common module define it as 64 bit int. Move Linux sigset manipulation routines to the MI path.
2. Move Linux signal number definitions to the MI path. In general, they are the same on all platforms except for a few signals.
3. Map Linux RT signals to the FreeBSD RT signals and hide signal conversion tables to avoid conversion errors.
4. Emulate Linux SIGPWR signal via FreeBSD SIGRTMIN signal which is outside of allowed on Linux signal numbers.
PR: 197216
show more ...
|
| #
a7ac4576 |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
According to Linux man sigaltstack(3) shall return EINVAL if the ss argument is not a null pointer, and the ss_flags member pointed to by ss contains flags other than SS_DISABLE. However, in fact, Li
According to Linux man sigaltstack(3) shall return EINVAL if the ss argument is not a null pointer, and the ss_flags member pointed to by ss contains flags other than SS_DISABLE. However, in fact, Linux also allows SS_ONSTACK flag which is simply ignored.
For buggy apps (at least mono) ignore other than SS_DISABLE flags as a Linux do.
While here move MI part of sigaltstack code to the appropriate place.
Reported by: abi at abinet dot ru
show more ...
|
| #
3e89b641 |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Put the correct value for the abi_nfdbits parameter of kern_select() for all supported Linuxulators.
Differential Revision: https://reviews.freebsd.org/D1093 Reviewed by: trasz
|
| #
4d0f380d |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
To avoid code duplication move open/fcntl definitions to the MI header file.
Differential Revision: https://reviews.freebsd.org/D1087 Reviewed by: trasz
|
| #
4048f59c |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Add AT_RANDOM and AT_EXECFN auxiliary vector entries which are used by glibc. At list since glibc version 2.16 using AT_RANDOM is mandatory.
Differential Revision: https://reviews.freebsd.org/D1080
|
| #
b2f58791 |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Add preliminary support for x86-64 Linux binaries.
Differential Revision: https://reviews.freebsd.org/D1076
|