#
5ab6ed93 |
| 11-Aug-2024 |
Fernando Apesteguía <fernape@FreeBSD.org> |
faccessat(2): Honor AT_SYMLINK_NOFOLLOW
Make the system call honor `AT_SYMLINK_NOFOLLOW`.
Also enable this from `linux_faccessat2` where the issue arised the first time. Update manual pages accordi
faccessat(2): Honor AT_SYMLINK_NOFOLLOW
Make the system call honor `AT_SYMLINK_NOFOLLOW`.
Also enable this from `linux_faccessat2` where the issue arised the first time. Update manual pages accordingly.
PR: 275295 Reported by: kenrap@kennethraplee.com Approved by: kib@ Differential Revision: https://reviews.freebsd.org/D46267
show more ...
|
Revision tags: release/14.1.0 |
|
#
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
|
Revision tags: release/13.3.0 |
|
#
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 |
|
#
c987ff4d |
| 20-Aug-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Replace linux32_copyinuio by freebsd32_copyinuio
MFC after: 1 month
|
#
d6cb9e72 |
| 20-Aug-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Return EAGAIN instead of ENOBUFS for non-blocking sockets in pwrite
MFC after: 1 month
|
#
dfbb3e2a |
| 20-Aug-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Return EAGAIN instead of ENOBUFS for non-blocking sockets in pwritev
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 ...
|
#
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 ...
|
#
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/
|
#
77294677 |
| 18-Jul-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Use M_LINUX for malloc type in getdents
MFC after: 2 weeks
|
#
e27e3fa7 |
| 18-Jul-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Use M_LINUX for malloc type in getdents64
MFC after: 2 weeks
|
#
b27f3237 |
| 18-Jul-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Delete a useless variable in getdents64
MFC after: 2 weeks
|
#
13d049ab |
| 18-Jul-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Use M_LINUX for malloc type in readdir
MFC after: 2 weeks
|
#
fffb2e8d |
| 18-Jul-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Delete a useless variable in readdir
MFC after: 2 weeks
|
#
fc1c787a |
| 18-Jul-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Properly allocate buffer for kern_getdirentries in readdir
Looks like prior to ino64 project the size of the struct linux_dirent was greater (or equal) to the size of the native struct dir
linux(4): Properly allocate buffer for kern_getdirentries in readdir
Looks like prior to ino64 project the size of the struct linux_dirent was greater (or equal) to the size of the native struct dirent so the native dirent fit into the buffer. After ino64 project the size of the native struct dirent has increased.
Spotted by gcc12. MFC after: 2 weeks
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
|
#
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 ...
|
#
cb858340 |
| 28-Apr-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Add a dedicated statat() implementation
Get rid of calling Linux stat translation hook and specific to Linux handling of non-vnode dirfd from kern_statat(),
Reviewed by: kib, mjg Differe
linux(4): Add a dedicated statat() implementation
Get rid of calling Linux stat translation hook and specific to Linux handling of non-vnode dirfd from kern_statat(),
Reviewed by: kib, mjg Differential revision: https://reviews.freebsd.org/D35474
show more ...
|
Revision tags: release/13.2.0 |
|
#
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 ...
|
#
d8e53d94 |
| 14-Feb-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Cleanup includes under compat/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 |
|
#
1bb3faed |
| 23-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Fix unlinkat() after a125ed50
MFC after: 2 weeks
|
#
e0aef0d6 |
| 23-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Fix unlink() after a125ed50
MFC after: 2 weeks
|
Revision tags: release/13.1.0 |
|
#
b1744628 |
| 09-May-2022 |
Dmitry Chagin <dchagin@FreeBSD.org> |
linux(4): Fixed offset miscalculation in the preadv/pwritev syscalls.
MFC after: 2 weeks
|