History log of /freebsd/sys/i386/linux/linux_machdep.c (Results 1 – 25 of 268)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 97add684 17-May-2024 Ricardo Branco <rbranco@suse.de>

linux: Support POSIX message queues

Reviewed by: imp, kib
Pull Request: https://github.com/freebsd/freebsd-src/pull/1248


Revision tags: release/13.3.0, release/14.0.0
# 2a1cf1b6 05-Sep-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Deduplicate mmap2

To help porting the Linux emulation layer to a new platforms start using
Linux names for conditional builds instead of architecture-specific ifdefs.

MFC after: 1 week


# 553b1a4e 05-Sep-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Deduplicate mprotect, madvise

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/


# 29eab3e4 02-Aug-2023 Gordon Bergling <gbe@FreeBSD.org>

linux(4): Fix two typos in source code comments

- s/decriptors/descriptors/

MFC after: 3 days


# 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


# 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 ...


Revision tags: release/13.2.0
# f4a512a5 14-Feb-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Cleanup includes under i386/linux

Cleanup unneeded includes, sort the rest according to style(9).
No functional changes.

MFC after: 2 weeks


# 50c85a32 14-Feb-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Move uselib() to i386

This obsolete system call is not supported by glibc. In ancient libc
versions (before glibc 2.0), uselib() was used to load the shared
libraries with names found in a

linux(4): Move uselib() to i386

This obsolete system call is not supported by glibc. In ancient libc
versions (before glibc 2.0), uselib() was used to load the shared
libraries with names found in an array of names in the binary.
On Linux, since 3.15, this system call is available only when
the kernel is configured with the CONFIG_USELIB option.

It doesn't look like anyone needs this syscall for others Linuxulators,
so move it to the corresponding MD Linuxulator.

MFC after: 2 weeks

show more ...


# cc1b0f7d 02-Feb-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Add coredump support to i386.

MFC after: 1 week


Revision tags: release/12.4.0
# 26700ac0 23-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Deduplicate execve

As linux_execve is common across archs, except amd64 32-bit Linuxulator,
move it under compat/linux.

Noted by: andrew@
MFC after: 2 weeks


Revision tags: release/13.1.0
# 3245a2ec 06-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Implement semtimedop syscalls.

On i386 are two semtimedop. The old one is called via multiplexor and
uses 32-bit timespec, and new semtimedop_tim64, which is uses 64-bit
timespec.

MFC aft

linux(4): Implement semtimedop syscalls.

On i386 are two semtimedop. The old one is called via multiplexor and
uses 32-bit timespec, and new semtimedop_tim64, which is uses 64-bit
timespec.

MFC after: 2 weeks

show more ...


# f48a6887 06-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Retire linux_semop implementation.

In i386 Linux semop called via ipc() multiplexor, so use kern_semop
directly from multiplexor.

MFC after: 2 weeks


Revision tags: release/12.3.0
# af4051d2 25-Nov-2021 Mateusz Guzik <mjg@FreeBSD.org>

linux: remove the always curthread argument from lconvpath


# 0a4b664a 12-Aug-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Add struct clone_args for future clone3 system call.

In preparation for clone3 system call add struct clone_args and use it in
clone implementation.
Move all of clone related bits to the n

linux(4): Add struct clone_args for future clone3 system call.

In preparation for clone3 system call add struct clone_args and use it in
clone implementation.
Move all of clone related bits to the newly created linux_fork.h header.

Differential revision: https://reviews.freebsd.org/D31474
MFC after: 2 weeks

show more ...


# 30c6d982 27-Jul-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

linux: implement sigaltstack(2) on arm64

... by making it machine-independent.

Reviewed By: dchagin
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D31286


# 72f7ddb5 23-Jul-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

linux: implement rt_sigsuspend(2) on arm64

... by making it architecture-independent.

Reviewed By: dchagin
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D31259


# 79617645 22-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Retire unused declaration.

MFC after: 2 weeks


Revision tags: release/13.0.0
# 3b57ddb0 18-Mar-2021 John Baldwin <jhb@FreeBSD.org>

Rename linux_set_upcall_kse() to linux_set_upcall().

This matches the rename of cpu_set_upcall_kse() in
5c2cf818454375536fda522ba83cf67c50929e6b.

Reviewed by: kib, emaste
MFC after: 1 week
Sponsore

Rename linux_set_upcall_kse() to linux_set_upcall().

This matches the rename of cpu_set_upcall_kse() in
5c2cf818454375536fda522ba83cf67c50929e6b.

Reviewed by: kib, emaste
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D29295

show more ...


# d42a83b1 26-Oct-2020 Kyle Evans <kevans@FreeBSD.org>

audit: also correctly audit linux_execve()

Linux execve() gets audited as AUE_EXECVE as well, we should also interpret
the return from this correctly for the same reasoning as in r367002.

MFC with:

audit: also correctly audit linux_execve()

Linux execve() gets audited as AUE_EXECVE as well, we should also interpret
the return from this correctly for the same reasoning as in r367002.

MFC with: r367002

show more ...


Revision tags: release/12.2.0
# ed83a561 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

i386: clean up empty lines in .c and .h files


# e2515283 27-Aug-2020 Glen Barber <gjb@FreeBSD.org>

MFH

Sponsored by: Rubicon Communications, LLC (netgate.com)


# a125ed50 19-Aug-2020 Mateusz Guzik <mjg@FreeBSD.org>

linux: add sysctl compat.linux.use_emul_path

This is a step towards facilitating jails with only Linux binaries.
Supporting emul_path adds path lookups which are completely spurious
if the binary at

linux: add sysctl compat.linux.use_emul_path

This is a step towards facilitating jails with only Linux binaries.
Supporting emul_path adds path lookups which are completely spurious
if the binary at hand runs in a Linux-based root directory.

It defaults to on (== current behavior).

make -C /root/linux-5.3-rc8 -s -j 1 bzImage:

use_emul_path=1: 101.65s user 68.68s system 100% cpu 2:49.62 total
use_emul_path=0: 101.41s user 64.32s system 100% cpu 2:45.02 total

show more ...


# d5e3895e 19-Aug-2020 Mateusz Guzik <mjg@FreeBSD.org>

linux: consistently use LFREEPATH instead of open-coding it


1234567891011