|
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 |
|
| #
e58ff664 |
| 20-Aug-2023 |
Dmitry Chagin <[email protected]> |
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 <[email protected]> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
4d846d26 |
| 10-May-2023 |
Warner Losh <[email protected]> |
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 |
|
| #
71bc1780 |
| 04-Apr-2023 |
Dmitry Chagin <[email protected]> |
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 ...
|
|
Revision tags: release/12.4.0, release/13.1.0 |
|
| #
ff39d74a |
| 25-Mar-2022 |
Dmitry Chagin <[email protected]> |
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 ...
|
|
Revision tags: release/12.3.0 |
|
| #
fc37be24 |
| 12-Aug-2021 |
Dmitry Chagin <[email protected]> |
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 <[email protected]> |
linux: implement O_PATH
Reviewed By: kib Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D29773
|
| #
1b11173c |
| 15-Apr-2021 |
Edward Tomasz Napierala <[email protected]> |
linux: extend the LINUX_O_ constants to make room for O_PATH
No functional changes.
Sponsored By: EPSRC
|
|
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 |
|
| #
5403f186 |
| 29-Jun-2020 |
Kyle Evans <[email protected]> |
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 ...
|
|
Revision tags: release/11.4.0 |
|
| #
bc8e2810 |
| 11-Jun-2020 |
Edward Tomasz Napierala <[email protected]> |
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
|
| #
66632fe7 |
| 20-Jan-2020 |
Edward Tomasz Napierala <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 ...
|
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
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 ...
|
| #
7f2d13d6 |
| 27-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
sys/compat: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - er
sys/compat: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0 |
|
| #
bfa4d74b |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Add several fcntl flags.
Differential Revision: https://reviews.freebsd.org/D1088 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
|
|
Revision tags: release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0 |
|
| #
d825ce0a |
| 29-Jan-2013 |
John Baldwin <[email protected]> |
Reduce duplication between i386/linux/linux.h and amd64/linux32/linux.h by moving bits that are MI out into headers in compat/linux.
Reviewed by: Chagin Dmitry dmitry | gmail MFC after: 2 weeks
|
|
Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0 |
|
| #
767a3264 |
| 19-Nov-2011 |
Ed Schouten <[email protected]> |
Make the Linux *at() calls a bit more complete.
Properly support:
- AT_EACCESS for faccessat(), - AT_SYMLINK_FOLLOW for linkat().
|
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
| #
48b05c3f |
| 08-Apr-2008 |
Konstantin Belousov <[email protected]> |
Implement the linux syscalls openat, mkdirat, mknodat, fchownat, futimesat, fstatat, unlinkat, renameat, linkat, symlinkat, readlinkat, fchmodat, faccessat.
Submitted by: rdivacky Sponsored
Implement the linux syscalls openat, mkdirat, mknodat, fchownat, futimesat, fstatat, unlinkat, renameat, linkat, symlinkat, readlinkat, fchmodat, faccessat.
Submitted by: rdivacky Sponsored by: Google Summer of Code 2007 Tested by: pho
show more ...
|