| #
fe21dbf7
|
| 08-Dec-2025 |
Ricardo Branco <rbranco@suse.de> |
linux: Implement F_DUPFD_QUERY fcntl with kcmp(2) KCMP_FILE
Signed-off-by: Ricardo Branco <rbranco@suse.de> Reviewed by: kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1920
|
| #
3965de64
|
| 06-Jun-2025 |
Mark Johnston <markj@FreeBSD.org> |
linux: Add inotify support
Implement the Linux inotify system calls using the native implementation in vfs_inotify.c.
PR: 240874 Reviewed by: brooks MFC after: 3 months Sponsored by: Klara, Inc. D
linux: Add inotify support
Implement the Linux inotify system calls using the native implementation in vfs_inotify.c.
PR: 240874 Reviewed by: brooks MFC after: 3 months Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D50761
show more ...
|
| #
9c7b1bf2
|
| 17-May-2024 |
Ricardo Branco <rbranco@suse.de> |
linux: Export linux_common_openflags()
Reviewed by: imp, kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1248
|
| #
e58ff664
|
| 20-Aug-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add a write syscall wrapper
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 EAGA
linux(4): Add a write syscall wrapper
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 ...
|
| #
95ee2897
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
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 ...
|
| #
71bc1780
|
| 04-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Implement close_range over native
Handling of the CLOSE_RANGE_UNSHARE flag is not implemented due to difference in fd unsharing mechanism in the Linux and FreeBSD.
Reviewed by: mjg Diffe
linux(4): Implement close_range over native
Handling of the CLOSE_RANGE_UNSHARE flag is not implemented due to difference in fd unsharing mechanism in the Linux and FreeBSD.
Reviewed by: mjg Differential revision: https://reviews.freebsd.org/D39398 MFC after: 2 weeks
show more ...
|
| #
ff39d74a
|
| 25-Mar-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add AT_NO_AUTOMOUNT to statx.
Specific to Linux AT_NO_AUTOMOUNT flag tells the kernel to not automount the terminal component of pathname if it is a directory that is an automount point. A
linux(4): Add AT_NO_AUTOMOUNT to statx.
Specific to Linux AT_NO_AUTOMOUNT flag tells the kernel to not automount the terminal component of pathname if it is a directory that is an automount point. As it is the default for FreeBSD silencly ignore this flag.
glibc-2.34 uses this flag in the stat64 system calls which is used by i386.
Reviewed by: trasz Differential revision: https://reviews.freebsd.org/D31524 MFC after: 2 weeks
show more ...
|
| #
fc37be24
|
| 12-Aug-2021 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Plug in aarch64 fcntl flags.
Fixes opendir() libc function.
Differential Revision: https://reviews.freebsd.org/D31357 MFC after: 2 weeks
|
| #
1663120a
|
| 15-Apr-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: implement O_PATH
Reviewed By: kib Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D29773
|
| #
1b11173c
|
| 15-Apr-2021 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
linux: extend the LINUX_O_ constants to make room for O_PATH
No functional changes.
Sponsored By: EPSRC
|
| #
de774e42
|
| 17-Nov-2020 |
Conrad Meyer <cem@FreeBSD.org> |
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
|
| #
5403f186
|
| 29-Jun-2020 |
Kyle Evans <kevans@FreeBSD.org> |
linuxolator: implement memfd_create syscall
This effectively mirrors our libc implementation, but with minor fudging -- name needs to be copied in from userspace, so we just copy it straight into st
linuxolator: implement memfd_create syscall
This effectively mirrors our libc implementation, but with minor fudging -- name needs to be copied in from userspace, so we just copy it straight into stack-allocated memfd_name into the correct position rather than allocating memory that needs to be cleaned up.
The sealing-related fcntl(2) commands, F_GET_SEALS and F_ADD_SEALS, have also been implemented now that we support them.
Note that this implementation is still not quite at feature parity w.r.t. the actual Linux version; some caveats, from my foggy memory:
- Need to implement SHM_GROW_ON_WRITE, default for memfd (in progress) - LTP wants the memfd name exposed to fdescfs - Linux allows open() of an fdescfs fd with O_TRUNC to truncate after dup. (?)
Interested parties can install and run LTP from ports (devel/linux-ltp) to confirm any fixes.
PR: 240874 Reviewed by: kib, trasz Differential Revision: https://reviews.freebsd.org/D21845
show more ...
|
| #
bc8e2810
|
| 11-Jun-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Replace LINUX_FASYNC with LINUX_O_ASYNC; no functional changes.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25218
|
| #
53d2936c
|
| 20-Jan-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r356848 through r356919.
|
| #
66632fe7
|
| 20-Jan-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Properly translate MNT_FORCE flag to Linux umount2(2). Previously it worked by accident.
MFC after: 2 weeks Sponsored by: DARPA
|
| #
cf69fe66
|
| 14-Dec-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add sync_file_range(2) implementation to linux(4); it's a thin wrapper over the usual fsync(2).
This silences some warnings when running "apt-get upgrade".
Reviewed by: brooks, emaste MFC after: 2
Add sync_file_range(2) implementation to linux(4); it's a thin wrapper over the usual fsync(2).
This silences some warnings when running "apt-get upgrade".
Reviewed by: brooks, emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D22371
show more ...
|
| #
01b9ee4c
|
| 07-Nov-2019 |
Ed Maste <emaste@FreeBSD.org> |
linux_renameat2: improve flag checks
In the cases where Linux returns an error (e.g. passing in an undefined flag) there's no need for us to emit a message. (The target of this message is a develop
linux_renameat2: improve flag checks
In the cases where Linux returns an error (e.g. passing in an undefined flag) there's no need for us to emit a message. (The target of this message is a developer working on the linuxulatorm, not the author of presumably broken Linux software).
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21606
show more ...
|
| #
fe21dbf7
|
| 08-Dec-2025 |
Ricardo Branco <rbranco@suse.de> |
linux: Implement F_DUPFD_QUERY fcntl with kcmp(2) KCMP_FILE
Signed-off-by: Ricardo Branco <rbranco@suse.de> Reviewed by: kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1920
|
| #
3965de64
|
| 06-Jun-2025 |
Mark Johnston <markj@FreeBSD.org> |
linux: Add inotify support
Implement the Linux inotify system calls using the native implementation in vfs_inotify.c.
PR: 240874 Reviewed by: brooks MFC after: 3 months Sponsored by: Klara, Inc. D
linux: Add inotify support
Implement the Linux inotify system calls using the native implementation in vfs_inotify.c.
PR: 240874 Reviewed by: brooks MFC after: 3 months Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D50761
show more ...
|
| #
9c7b1bf2
|
| 17-May-2024 |
Ricardo Branco <rbranco@suse.de> |
linux: Export linux_common_openflags()
Reviewed by: imp, kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1248
|
| #
e58ff664
|
| 20-Aug-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add a write syscall wrapper
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 EAGA
linux(4): Add a write syscall wrapper
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 ...
|
| #
95ee2897
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
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 ...
|
| #
71bc1780
|
| 04-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Implement close_range over native
Handling of the CLOSE_RANGE_UNSHARE flag is not implemented due to difference in fd unsharing mechanism in the Linux and FreeBSD.
Reviewed by: mjg Diffe
linux(4): Implement close_range over native
Handling of the CLOSE_RANGE_UNSHARE flag is not implemented due to difference in fd unsharing mechanism in the Linux and FreeBSD.
Reviewed by: mjg Differential revision: https://reviews.freebsd.org/D39398 MFC after: 2 weeks
show more ...
|