aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_dummy.c
Commit message (Collapse)AuthorAgeFilesLines
* linux: Add inotify supportMark Johnston2025-07-041-4/+0
| | | | | | | | | | | 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
* linux(4): Update syscalls.master to 6.5Dmitry Chagin2023-09-251-7/+28
| | | | MFC after: 1 week
* linux(4): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743Dmitry Chagin2023-08-181-1/+0
|
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* linux(4): Add a dedicated ioprio system callsDmitry Chagin2023-08-041-2/+0
| | | | | | | | | | | | | | On Linux these system calls have an effect only when used in conjuction with an I/O scheduler that supports I/O priorities. If no I/O scheduler has been set for a thread, then by defaut the I/O priority will follow the CPU nice value. Due to FreeBSD lack of I/O scheduler facilities, the default Linux behavior is implemented. Ubuntu 23.04 debootstrap requires Linux ionice which depends on these syscalls. Differential Revision: https://reviews.freebsd.org/D41153 MFC after: 1 month
* linux(4): Implement xattr syscallsDmitry Chagin2023-07-221-21/+0
| | | | | | Reviewed by: Differential revision: https://reviews.freebsd.org/D35544 MFC after: 1 month
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | 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
* linux(4): Implement close_range over nativeDmitry Chagin2023-04-041-1/+0
| | | | | | | | | 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
* linux(4): Cleanup includes under compat/linuxDmitry Chagin2023-02-141-2/+1
| | | | | | | Cleanup unneeded includes, sort the rest according to style(9). No functional changes. MFC after: 2 weeks
* linux(4): Add epoll_pwai2 syscall.Dmitry Chagin2022-04-261-1/+0
| | | | MFC after: 2 weeks
* linux(4): Add a simple rseq syscall implementation.Dmitry Chagin2022-04-261-1/+0
| | | | | | | | | To avoid annoyng messages from glibc-2.35 test suite add the simple implementation of rseq syscall which is do nothing for now. I plan to implement it if and when the API stabilizes. MFC after: 2 weeks
* linux: Provide dummy seccomp(2)Edward Tomasz Napierala2022-01-281-2/+0
| | | | | | | | | | Don't emit messages; this isn't any different from a Linux kernel built without OPTIONS_SECCOMP, so the userspace already needs to know how to deal with it. This is also similar with how we handle seccomp in linux_prctl(). Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D33808
* linux(4): Remove clone3 and faccessat2 from dummy.Dmitry Chagin2021-08-121-2/+0
| | | | MFC after: 2 weeks
* Drop "All rights reserved" from my copyright statements.Dmitry Chagin2021-07-201-2/+1
| | | | | | | | Add email and fixup years while here. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D30912 MFC after: 2 weeks
* linux: implement statx(2)Philippe Michaud-Boudreault2021-06-081-2/+0
| | | | | | PR: 252106 Reviewed By: dchagin Differential Revision: https://reviews.freebsd.org/D30466
* linux: deduplicate DUMMY() entriesEdward Tomasz Napierala2021-05-291-0/+10
| | | | | | | | No functional changes. Reviewed By: emaste Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30524
* linux: add new syscall numbersEdward Tomasz Napierala2021-05-281-0/+15
| | | | | Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30193
* linux(4): Implement name_to_handle_at(), open_by_handle_at()Conrad Meyer2020-11-171-2/+0
| | | | | | | | | They are similar to our getfhat(2) and fhopen(2) syscalls. Differential Revision: https://reviews.freebsd.org/D27111 Notes: svn path=/head/; revision=367773
* linux(4): Fix loadable modules after r367395Conrad Meyer2020-11-061-7/+5
| | | | | | | | | | | | | | | | Move dtrace SDT definitions into linux_common module code. Also, build linux_dummy.c into the linux_common kld -- we don't need separate versions of these stubs for 32- and 64-bit emulation. Reported by: several PR: 250897 Discussed with: emaste, trasz Tested by: John Kennedy, Yasuhiro KIMURA, Oleg Sidorkin X-MFC-With: r367395 Differential Revision: https://reviews.freebsd.org/D27124 Notes: svn path=/head/; revision=367433
* linux(4): Deduplicate unimpl/dummy syscall handlersConrad Meyer2020-11-051-0/+159
No functional change. Reviewed by: emaste, trasz Differential Revision: https://reviews.freebsd.org/D27099 Notes: svn path=/head/; revision=367395