|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
2e233752 |
| 28-May-2021 |
Edward Tomasz Napierala <[email protected]> |
linux: add new syscall numbers
Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30193
(cherry picked from commit 6d926e850d22c5c563571561c446c3c0dec16143)
|
|
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 ...
|
| #
36507f85 |
| 27-Jun-2020 |
Edward Tomasz Napierala <[email protected]> |
Add syscall definitions for linux xattr syscalls.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25387
|
| #
5ac26742 |
| 21-Jun-2020 |
Edward Tomasz Napierala <[email protected]> |
Adapt linuxulator syscalls.master files to the new layout. No functional changes.
Reviewed by: brooks MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.f
Adapt linuxulator syscalls.master files to the new layout. No functional changes.
Reviewed by: brooks MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25381
show more ...
|
| #
52c81be1 |
| 20-Jun-2020 |
Edward Tomasz Napierala <[email protected]> |
Add linux_madvise(2) instead of having Linux apps call the native FreeBSD madvise(2) directly. While some of the flag values match, most don't.
PR: kern/230160 Reported by: markj Reviewed by: mark
Add linux_madvise(2) instead of having Linux apps call the native FreeBSD madvise(2) directly. While some of the flag values match, most don't.
PR: kern/230160 Reported by: markj Reviewed by: markj Discussed with: brooks, kib MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25272
show more ...
|
|
Revision tags: release/11.4.0 |
|
| #
fc7510ae |
| 05-Feb-2020 |
Ed Maste <[email protected]> |
linuxulator: implement sendfile
Submitted by: Bora Özarslan <[email protected]> Submitted by: Yang Wang <[email protected]> Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential
linuxulator: implement sendfile
Submitted by: Bora Özarslan <[email protected]> Submitted by: Yang Wang <[email protected]> Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19917
show more ...
|
| #
149afbf3 |
| 21-Jan-2020 |
Mark Johnston <[email protected]> |
Fix 64-bit syscall argument fetching in 32-bit Linux syscall handlers.
The Linux32 system call argument fetcher places each argument (passed in registers in the Linux x86 system call convention) int
Fix 64-bit syscall argument fetching in 32-bit Linux syscall handlers.
The Linux32 system call argument fetcher places each argument (passed in registers in the Linux x86 system call convention) into an entry in the generic system call args array. Each member of this array is 8 bytes wide, so this approach is broken for system calls that take off_t arguments.
Fix the problem by splitting l_loff_t arguments in the 32-bit system call descriptions, the same as we do for FreeBSD32. Change entry points to handle this using the PAIR32TO64 macro.
Move linux_ftruncate64() into compat/linux.
PR: 243155 Reported by: Alex S <[email protected]> Reviewed by: kib (previous version) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23210
show more ...
|
| #
a8bfc7a8 |
| 31-Dec-2019 |
Edward Tomasz Napierala <[email protected]> |
Fix definitions for Linux getcpu(2).
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
| #
0610f417 |
| 14-Dec-2019 |
Edward Tomasz Napierala <[email protected]> |
Fix definitions for linuxulator's sync_file_range(2).
Reviewed by: brooks, emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D22371
|
|
Revision tags: release/12.1.0 |
|
| #
427b1bae |
| 11-Sep-2019 |
Ed Maste <[email protected]> |
make linux_renameat2 args consistent with linux_renameat
Use 'dfd' consistently for a directory fd.
|
|
Revision tags: release/11.3.0 |
|
| #
c034ecf3 |
| 23-Apr-2019 |
Dmitry Chagin <[email protected]> |
Since r339624 HEAD does not need for backslashes in syscalls.master, however to make a merge r345471 to the stable add backslashes to the syscalls.master.
MFC after: 3 days
|
| #
f730d606 |
| 24-Mar-2019 |
Dmitry Chagin <[email protected]> |
Update syscall.master to 5.0.
For 32-bit Linuxulator, ipc() syscall was historically the entry point for the IPC API. Starting in Linux 4.18, direct syscalls are provided for the IPC. Enable it.
MF
Update syscall.master to 5.0.
For 32-bit Linuxulator, ipc() syscall was historically the entry point for the IPC API. Starting in Linux 4.18, direct syscalls are provided for the IPC. Enable it.
MFC after: 1 month
show more ...
|
| #
7dabf89b |
| 24-Mar-2019 |
Dmitry Chagin <[email protected]> |
Linux between 4.18 and 5.0 split IPC system calls. In preparation for doing this in the Linuxulator modify our linux_shmat() to match actual Linux shmat() system call.
MFC after: 1 month
|
|
Revision tags: release/12.0.0, release/11.2.0 |
|
| #
6469bdcd |
| 06-Apr-2018 |
Brooks Davis <[email protected]> |
Move most of the contents of opt_compat.h to opt_global.h.
opt_compat.h is mentioned in nearly 180 files. In-progress network driver compabibility improvements may add over 100 more so this is close
Move most of the contents of opt_compat.h to opt_global.h.
opt_compat.h is mentioned in nearly 180 files. In-progress network driver compabibility improvements may add over 100 more so this is closer to "just about everywhere" than "only some files" per the guidance in sys/conf/options.
Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset of sys/compat/linux/*.c. A fake _COMPAT_LINUX option ensure opt_compat.h is created on all architectures.
Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control the set of compiled files.
Reviewed by: kib, cem, jhb, jtl Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14941
show more ...
|
| #
315fbaec |
| 23-Feb-2018 |
Ed Maste <[email protected]> |
Correct pseudo misspelling in sys/ comments
contrib code and #define in intel_ata.h unchanged.
|
| #
eae594f7 |
| 22-Feb-2018 |
Ed Maste <[email protected]> |
Correct proper nouns in the Linuxulator
- Capitalize Linux - Spell FreeBSD out in full - Address some style(9) on changed lines
Sponsored by: Turing Robotic Industries Inc.
|
| #
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 ...
|
| #
5cd667e6 |
| 28-Nov-2017 |
Brooks Davis <[email protected]> |
Disable vim syntax highlighting.
Vim's default pick doesn't understand that ';' is a comment character and the result looks horrible.
Reviewed by: emaste
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
8049c6bf |
| 06-Mar-2017 |
Mahdi Mokhtari <[email protected]> |
Add UNIMPLEMENTED() placeholder macro for the syscalls that are not implemented in Linux kernel itself. Cleanup DUMMY() macros.
Reviewed by: dchagin, trasz Approved by: dchagin MFC after: 1 month Di
Add UNIMPLEMENTED() placeholder macro for the syscalls that are not implemented in Linux kernel itself. Cleanup DUMMY() macros.
Reviewed by: dchagin, trasz Approved by: dchagin MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D9804
show more ...
|
| #
f8ae1bb6 |
| 26-Feb-2017 |
Dmitry Chagin <[email protected]> |
Change Linux epoll_pwait syscall definition to match Linux actual one.
MFC after: 1 month
|
| #
1064d53f |
| 26-Feb-2017 |
Dmitry Chagin <[email protected]> |
Change Linuxulator timerfd syscalls definition to match actual Linux one.
MFC after: 1 month
|
| #
8b756d40 |
| 05-Feb-2017 |
Dmitry Chagin <[email protected]> |
Update syscall.master to 4.10-rc6. Also fix comments, a typo, and wrong numbering for a few unimplemented syscalls.
For 32-bit Linuxulator, socketcall() syscall was historically the entry point for
Update syscall.master to 4.10-rc6. Also fix comments, a typo, and wrong numbering for a few unimplemented syscalls.
For 32-bit Linuxulator, socketcall() syscall was historically the entry point for the sockets API. Starting in Linux 4.3, direct syscalls are provided for the sockets API. Enable it.
The initial version of patch was provided by trasz@ and extended by me.
Submitted by: trasz MFC after: 2 week Differential Revision: https://reviews.freebsd.org/D9381
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
23e8912c |
| 10-Jul-2016 |
Dmitry Chagin <[email protected]> |
Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag. In Linux if this flag is set, PROT_READ implies PROT_EXEC for mmap(). Linux/i386 set this flag automatically if the bin
Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag. In Linux if this flag is set, PROT_READ implies PROT_EXEC for mmap(). Linux/i386 set this flag automatically if the binary requires executable stack.
READ_IMPLIES_EXEC flag will be used in the next Linux mmap() commit.
show more ...
|