Page MenuHomeFreeBSD

Linux EmulationUmbrella
ActivePublic

Recent Activity

Sep 25 2023

dchagin abandoned D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.

Due to D41976

Sep 25 2023, 5:50 PM · Linux Emulation

Sep 21 2023

dchagin added a comment to D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.
In D41859#955406, @kib wrote:
In D41859#955376, @kib wrote:

Btw, the way you proposed will not work, due to nosys marked as ABSENT and in such cases syscall_thread_enter() return ENOSYS.

Are you saying that sometimes we do not send SIGSYS for FreeBSD native processes?

yes, OBSOL syscalls, https://people.freebsd.org/~dchagin/nosys.c

And ABSENT as well?

Sep 21 2023, 12:14 PM · Linux Emulation

Sep 20 2023

kib added a comment to D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.
In D41859#955376, @kib wrote:

Btw, the way you proposed will not work, due to nosys marked as ABSENT and in such cases syscall_thread_enter() return ENOSYS.

Are you saying that sometimes we do not send SIGSYS for FreeBSD native processes?

yes, OBSOL syscalls, https://people.freebsd.org/~dchagin/nosys.c

And ABSENT as well?

Sep 20 2023, 9:30 AM · Linux Emulation
dchagin added a comment to D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.
In D41859#955376, @kib wrote:

Btw, the way you proposed will not work, due to nosys marked as ABSENT and in such cases syscall_thread_enter() return ENOSYS.

Are you saying that sometimes we do not send SIGSYS for FreeBSD native processes?

Sep 20 2023, 9:08 AM · Linux Emulation
kib added a comment to D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.

Btw, the way you proposed will not work, due to nosys marked as ABSENT and in such cases syscall_thread_enter() return ENOSYS.

Are you saying that sometimes we do not send SIGSYS for FreeBSD native processes?

Sep 20 2023, 4:00 AM · Linux Emulation

Sep 19 2023

dchagin added a comment to D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.
In D41859#955044, @kib wrote:

D41901 sounds as a hack, again.

Am I right that the issue is that nosys() sends signal, while Linux' nosys should not? If yes, there are two options:

yes

Sep 19 2023, 10:45 PM · Linux Emulation

Sep 18 2023

kib added a comment to D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.

D41901 sounds as a hack, again.

Sep 18 2023, 3:21 PM · Linux Emulation
dchagin added a comment to D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.
In D41859#954114, @kib wrote:

Can you explain more? Does linuxolator need syscall slot 0?

Sep 18 2023, 3:00 PM · Linux Emulation

Sep 14 2023

kib added a comment to D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.

Can you explain more? Does linuxolator need syscall slot 0?

Sep 14 2023, 5:56 PM · Linux Emulation
dchagin updated the summary of D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error.
Sep 14 2023, 11:04 AM · Linux Emulation
xmj removed a member for Linux Emulation: xmj.
Sep 14 2023, 7:09 AM

Sep 1 2023

jhb added a comment to D38459: timerfd: Add native support for Linux's timerfd.

This patch has been applied to src under commit af93fea710385b2b11f0cabd377e7ed6f3d97c34.

There doesn't seem to be a way to associate this review directly with that commit, so I'm just going to abandon it.

Sep 1 2023, 9:47 PM · linuxkpi, Linux Emulation
jfree abandoned D38459: timerfd: Add native support for Linux's timerfd.

This patch has been applied to src under commit af93fea710385b2b11f0cabd377e7ed6f3d97c34.

Sep 1 2023, 6:41 PM · linuxkpi, Linux Emulation
jfree accepted D38459: timerfd: Add native support for Linux's timerfd.
Sep 1 2023, 6:35 PM · linuxkpi, Linux Emulation

Aug 24 2023

jfree added inline comments to D38459: timerfd: Add native support for Linux's timerfd.
Aug 24 2023, 11:44 PM · linuxkpi, Linux Emulation
mjg added inline comments to D38459: timerfd: Add native support for Linux's timerfd.
Aug 24 2023, 11:11 PM · linuxkpi, Linux Emulation
jfree added a comment to D38459: timerfd: Add native support for Linux's timerfd.
In D38459#947334, @imp wrote:

Are there any tests?

Aug 24 2023, 2:08 PM · linuxkpi, Linux Emulation
jfree abandoned D38460: timerfd: Add libc syscall wrappers.
Aug 24 2023, 2:01 PM · linuxkpi, Linux Emulation
imp updated subscribers of D38459: timerfd: Add native support for Linux's timerfd.
Aug 24 2023, 5:07 AM · linuxkpi, Linux Emulation
imp added a comment to D38459: timerfd: Add native support for Linux's timerfd.

I have this staged and plan to commit once I confirm universe builds.

Aug 24 2023, 5:03 AM · linuxkpi, Linux Emulation

Aug 17 2023

dchagin closed D34555: linuxulator: add sendfile fallback for non-socket FDs.
Aug 17 2023, 7:59 PM · Linux Emulation

Aug 4 2023

dchagin closed D41153: linux(4): Add a dedicated ioprio system calls.
Aug 4 2023, 1:05 PM · Linux Emulation

Jul 29 2023

dchagin closed D41224: linux(4): Fix control message size calculation.
Jul 29 2023, 8:23 AM · Linux Emulation

Jul 28 2023

dchagin added a reviewer for D41224: linux(4): Fix control message size calculation: Linux Emulation.
Jul 28 2023, 9:17 AM · Linux Emulation
dchagin closed D41165: linux(4): Add elf_hwcap2 to x86.
Jul 28 2023, 8:57 AM · Linux Emulation

Jul 24 2023

dchagin added a reviewer for D41165: linux(4): Add elf_hwcap2 to x86: Linux Emulation.
Jul 24 2023, 8:08 PM · Linux Emulation
dchagin added a project to D41165: linux(4): Add elf_hwcap2 to x86: Linux Emulation.
Jul 24 2023, 8:08 PM · Linux Emulation
dchagin abandoned D41162: linux(4): Properly apply the protection mode for stack.
Jul 24 2023, 8:08 PM · Linux Emulation
dchagin added a comment to D41162: linux(4): Properly apply the protection mode for stack.

hmm, looks like the problem in how protections handled during stack grows

Jul 24 2023, 7:45 PM · Linux Emulation
dchagin added reviewers for D41162: linux(4): Properly apply the protection mode for stack: Linux Emulation, kib.
Jul 24 2023, 6:18 PM · Linux Emulation
dchagin added a comment to D41153: linux(4): Add a dedicated ioprio system calls.

debootstrap for Ubuntu 23.04 requires Linux ionice command which depends on these syscalls

Jul 24 2023, 6:18 PM · Linux Emulation
dchagin added a reviewer for D41153: linux(4): Add a dedicated ioprio system calls: Linux Emulation.
Jul 24 2023, 6:18 PM · Linux Emulation

Jul 22 2023

dchagin closed D35544: linux(4): Implement xattr syscalls.
Jul 22 2023, 11:10 AM · Linux Emulation

Jul 18 2023

minsoochoo0122_proton.me removed a member for Linux Emulation: minsoochoo0122_proton.me.
Jul 18 2023, 8:20 PM
minsoochoo0122_proton.me added a watcher for Linux Emulation: minsoochoo0122_proton.me.
Jul 18 2023, 8:20 PM

Jun 29 2023

Herald added a reviewer for D40096: linux(4): Make ptrace_pokeusr machine dependent: andrew.
Jun 29 2023, 8:26 AM · Linux Emulation
Herald added a reviewer for D40095: linux(4): Make ptrace_peekusr machine dependend: andrew.
Jun 29 2023, 8:21 AM · Linux Emulation
Herald added a reviewer for D39645: linux(4): Fix LINUX_AT_COUNT comments: andrew.
Jun 29 2023, 8:20 AM · Linux Emulation
Herald added a reviewer for D39644: linux(4): Deduplicate linux_copyout_auxargs(): andrew.
Jun 29 2023, 8:20 AM · Linux Emulation

Jun 28 2023

jfree added a comment to D38459: timerfd: Add native support for Linux's timerfd.

I would like to get this patch committed before the 14.0 freeze in August. I am personally in favor of making these syscalls, but I'd like some notice if we're not going this route.

Jun 28 2023, 8:01 PM · linuxkpi, Linux Emulation
jfree updated the diff for D38459: timerfd: Add native support for Linux's timerfd.

Add brief comments explaining each of the tfd_jumped macros.

Jun 28 2023, 7:57 PM · linuxkpi, Linux Emulation

Jun 8 2023

dchagin closed D40444: linux(4): Preserve fpu xsave state across signal delivery on amd64.
Jun 8 2023, 10:34 PM · Linux Emulation
dchagin closed D40443: linux(4): In preparation for xsave refactor fxsave code on amd64.
Jun 8 2023, 10:34 PM · Linux Emulation
kib accepted D40444: linux(4): Preserve fpu xsave state across signal delivery on amd64.
Jun 8 2023, 6:50 PM · Linux Emulation
dchagin updated the diff for D40444: linux(4): Preserve fpu xsave state across signal delivery on amd64.

whoops, magic2 type changed to uint32_t too

Jun 8 2023, 8:06 AM · Linux Emulation
dchagin updated the diff for D40444: linux(4): Preserve fpu xsave state across signal delivery on amd64.

Yes, done, it's much better now, thank you!

Jun 8 2023, 8:03 AM · Linux Emulation

Jun 7 2023

kib added inline comments to D40444: linux(4): Preserve fpu xsave state across signal delivery on amd64.
Jun 7 2023, 11:22 PM · Linux Emulation
dchagin added inline comments to D40444: linux(4): Preserve fpu xsave state across signal delivery on amd64.
Jun 7 2023, 11:14 PM · Linux Emulation
kib added inline comments to D40444: linux(4): Preserve fpu xsave state across signal delivery on amd64.
Jun 7 2023, 10:12 PM · Linux Emulation
kib accepted D40443: linux(4): In preparation for xsave refactor fxsave code on amd64.
Jun 7 2023, 10:08 PM · Linux Emulation