History log of /freebsd-14.2/sys/amd64/linux/syscalls.master (Results 1 – 25 of 58)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# ea54d65b 03-Oct-2023 Dmitry Chagin <[email protected]>

linux(4): Deorbit linux_nosys from syscalls.master

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

(cherry picked from commit 8e523be5a5a2cb9660021d2de5732ee7257b2788)


# 4d46ca65 25-Sep-2023 Dmitry Chagin <[email protected]>

linux(4): Update syscalls.master to 6.5

MFC after: 1 week

(cherry picked from commit 0a16d3d14db67c89ee08f954c670ec4f447a7ab5)


# aad4b799 20-Aug-2023 Dmitry Chagin <[email protected]>

linux(4): Add a 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 EA

linux(4): Add a 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 ...


# 510f5c88 20-Aug-2023 Dmitry Chagin <[email protected]>

linux(4): Modify write syscall to match Linux

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

linux(4): Modify write syscall to match Linux

Adding a write 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 ...


# 78d14616 16-Aug-2023 Warner Losh <[email protected]>

sys: Remove $FreeBSD$: one-line bare tag

Remove /^\s*\$FreeBSD\$$\n/


# 1c83154e 04-Aug-2023 Dmitry Chagin <[email protected]>

linux(4): Modify ioprio syscalls to match Linux

MFC after: 1 month


# 41f2c69e 22-Jul-2023 Dmitry Chagin <[email protected]>

linux(4): Modify xattr syscalls to match Linux

MFC after: 1 month


# 8340b034 29-May-2023 Dmitry Chagin <[email protected]>

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


# ca3333dd 28-Apr-2023 Dmitry Chagin <[email protected]>

linux(4): Use Linux dev_t type for mknod syscalls dev argument

As of version 2.6.0 of the Linux kernel, dev_t is a 32-bit unsigned integer
on all platforms. Prior the 2.6 kernel dev_t type was an un

linux(4): Use Linux dev_t type for mknod syscalls dev argument

As of version 2.6.0 of the Linux kernel, dev_t is a 32-bit unsigned integer
on all platforms. Prior the 2.6 kernel dev_t type was an unsigned short.
However, since the firs commit of the Linuxulator, mknod syscall get int dev
argument.
Also, there is some confusion here, while the kernel declares a dev_t type
as a 32-bit sized, the user-space dev_t type can be size of 64 bits, e.g.,
in the Glibc library.
To avoid confusion and to help porting of the Linuxulator to other platforms
use explicit l_dev_t for dev argument of mknod syscalls.

show more ...


# 559b94a1 20-Apr-2023 Warner Losh <[email protected]>

syscall.master: Fix comments

Have more accruate comments. While #if, #else, etc are copied to the
header files, lines that don't start with # are not. And #include files
are only output to sysinc (

syscall.master: Fix comments

Have more accruate comments. While #if, #else, etc are copied to the
header files, lines that don't start with # are not. And #include files
are only output to sysinc (which winds up at the front of init_sysent.c
which seems a bit odd). This is all radically undocumented, and likely
has drifted somewhat from 4.4BSD and what other systems do (they've
drifted too, fwiw).

Sponsored by: Netflix

show more ...


Revision tags: release/13.2.0
# 1c27dce1 04-Apr-2023 Dmitry Chagin <[email protected]>

linux(4): Modify close_range syscall to match Linux

MFC after: 2 weeks


Revision tags: release/12.4.0, release/13.1.0
# f19c4e23 06-May-2022 Dmitry Chagin <[email protected]>

linux(4): Change semtimedop syscall definition to match Linux actual one.

MFC after: 2 weeks


# f6860926 06-May-2022 Dmitry Chagin <[email protected]>

linux(4): Call semop directly.

As the Linux semop syscall is not defined in i386, and as it is equal
to the native semop syscall, call it directly.
Fix semop definition to match Linux actual one - n

linux(4): Call semop directly.

As the Linux semop syscall is not defined in i386, and as it is equal
to the native semop syscall, call it directly.
Fix semop definition to match Linux actual one - nsops is size_t type.

MFC after: 2 weeks

show more ...


# 81b0b7dc 26-Apr-2022 Dmitry Chagin <[email protected]>

linux(4): Change epoll_pwait2 syscall definition to match Linux actual one.

MFC after: 2 weeks


# f202f35d 26-Apr-2022 Dmitry Chagin <[email protected]>

linux(4): Change rseq syscall definition to match Linux actual one.

MFC after: 2 weeks


Revision tags: release/12.3.0
# 17913b0b 12-Aug-2021 Dmitry Chagin <[email protected]>

linux(4): Implement clone3 system call.

clone3 system call is used by glibc-2.34.

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


# f1c45049 12-Aug-2021 Dmitry Chagin <[email protected]>

linux(4): Change clone syscall definition to match Linux actual one.

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


# 13d79be9 12-Aug-2021 Dmitry Chagin <[email protected]>

linux(4): Implement faccessat2 system call.

It's used by bash on arm64 with glibc-2.32.

Reviewed by: trasz
Differential Revision: https://reviews.freebsd.org/D31345
MFC after: 2 weeks


# 2eff670f 22-Jun-2021 Dmitry Chagin <[email protected]>

linux(4): Implement poll system call via linux_common_ppol()
for the sake of converting events to/from native.

MFC after: 2 weeks


# 3c1de151 10-Jun-2021 Dmitry Chagin <[email protected]>

linux(4): Change Linux futex syscall definition to match Linux actual one.

MFC after: 2 weeks


# 0f8dab45 07-Jun-2021 Dmitry Chagin <[email protected]>

linux(4): Fix timeout parameter of rt_sigtimedwait syscall, which is
timespec not a timeval.

MFC after: 2 weeks


# 6d926e85 28-May-2021 Edward Tomasz Napierala <[email protected]>

linux: add new syscall numbers

Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D30193


Revision tags: release/13.0.0
# de774e42 17-Nov-2020 Conrad Meyer <[email protected]>

linux(4): Implement name_to_handle_at(), open_by_handle_at()

They are similar to our getfhat(2) and fhopen(2) syscalls.

Differential Revision: https://reviews.freebsd.org/D27111


Revision tags: release/12.2.0
# 8d1d0171 18-Jul-2020 Edward Tomasz Napierala <[email protected]>

Add a trivial linux(4) splice(2) implementation, which simply
returns EINVAL. Fixes grep (grep-3.1-2build1).

PR: kern/218699
Reported by: avos
Reviewed by: emaste
MFC after: 2 weeks
Sponsored by:

Add a trivial linux(4) splice(2) implementation, which simply
returns EINVAL. Fixes grep (grep-3.1-2build1).

PR: kern/218699
Reported by: avos
Reviewed by: emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D25636

show more ...


# 308e194c 27-Jun-2020 Edward Tomasz Napierala <[email protected]>

Add proper types for linux message queue syscalls; mostly taken
from 32-bit Linuxulator.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2

Add proper types for linux message queue syscalls; mostly taken
from 32-bit Linuxulator.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D25386

show more ...


123