History log of /freebsd/sys/amd64/linux32/linux32_machdep.c (Results 1 – 25 of 236)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 61cc4830 18-Jan-2024 Alfredo Mazzinghi <am2419@cl.cam.ac.uk>

Abstract UIO allocation and deallocation.

Introduce the allocuio() and freeuio() functions to allocate and
deallocate struct uio. This hides the actual allocator interface, so it
is easier to modify

Abstract UIO allocation and deallocation.

Introduce the allocuio() and freeuio() functions to allocate and
deallocate struct uio. This hides the actual allocator interface, so it
is easier to modify the sub-allocation layout of struct uio and the
corresponding iovec array.

Obtained from: CheriBSD
Reviewed by: kib, markj
MFC after: 2 weeks
Sponsored by: CHaOS, EPSRC grant EP/V000292/1
Differential Revision: https://reviews.freebsd.org/D43711

show more ...


Revision tags: release/14.0.0
# ba90a31d 11-Sep-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Cleanup includes under amd64/linux32

No functional changes.

MFC after: 1 week


# 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


# 524c9acc 20-Aug-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Replace linux32_copyiniov by freebsd32_copyiniov

MFC after: 1 month


# c987ff4d 20-Aug-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Replace linux32_copyinuio by freebsd32_copyinuio

MFC after: 1 month


# 4231b825 20-Aug-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Add a dedicated writev syscall wrapper

Adding a writev syscall wrapper is needed due to Linux family of write
syscalls doesn't distinguish between in kernel blocking operations
and always

linux(4): Add a dedicated writev syscall wrapper

Adding a writev syscall wrapper is needed due to Linux family of write
syscalls doesn't distinguish between in kernel blocking operations
and always returns EAGAIN while FreeBSD can return ENOBUFS.

MFC after: 1 month

show more ...


# 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


# 8340b034 29-May-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Add a dedicated linux_exec_copyin_args()

Because Linux allows to exec binaries with 0 argc.

Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D40148
MFC after: 2 mo

linux(4): Add a dedicated linux_exec_copyin_args()

Because Linux allows to exec binaries with 0 argc.

Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D40148
MFC after: 2 month

show more ...


# 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


# 3d0addcd 18-May-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Make ptrace_pokeusr machine dependent

Differential Revision: https://reviews.freebsd.org/D40096
MFC after: 1 week


# dd2a6cd7 18-May-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Make ptrace_peekusr machine dependend

And partially implement it for x86_64.

Differential Revision: https://reviews.freebsd.org/D40095
MFC after: 1 week


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

linux(4): Cleanup includes under amd64/linux

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

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
# 53726a1f 23-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Fix execve() on amd64/linux32 after a125ed50

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


# 3417c298 23-Oct-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

linux: Constify bsd_to_linux_regset()

No functional changes.

Reviewed By: emaste
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D32599


# b7924341 27-Aug-2021 Andrew Turner <andrew@FreeBSD.org>

Create sys/reg.h for the common code previously in machine/reg.h

Move the common kernel function signatures from machine/reg.h to a new
sys/reg.h. This is in preperation for adding PT_GETREGSET to p

Create sys/reg.h for the common code previously in machine/reg.h

Move the common kernel function signatures from machine/reg.h to a new
sys/reg.h. This is in preperation for adding PT_GETREGSET to ptrace(2).

Reviewed by: imp, markj
Sponsored by: DARPA, AFRL (original work)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D19830

show more ...


# 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


12345678910