Page MenuHomeFreeBSD

Linux EmulationUmbrella
ActivePublic

Recent Activity

Wed, Nov 30

ghislain_smartix.llc added a watcher for Linux Emulation: ghislain_smartix.llc.
Wed, Nov 30, 3:07 AM

Oct 6 2022

manu closed D36749: LinuxKPI: Add pci_power querying for drm-kmod.
Oct 6 2022, 8:18 AM · Linux Emulation, linuxkpi

Oct 2 2022

jfree updated the diff for D36749: LinuxKPI: Add pci_power querying for drm-kmod.

Moved struct dev_pm_info power member to bottom of struct device in <linux/device.h>

Oct 2 2022, 4:19 PM · Linux Emulation, linuxkpi

Oct 1 2022

manu added inline comments to D36749: LinuxKPI: Add pci_power querying for drm-kmod.
Oct 1 2022, 10:56 AM · Linux Emulation, linuxkpi

Sep 27 2022

bz added inline comments to D36749: LinuxKPI: Add pci_power querying for drm-kmod.
Sep 27 2022, 4:41 PM · Linux Emulation, linuxkpi
manu added inline comments to D36749: LinuxKPI: Add pci_power querying for drm-kmod.
Sep 27 2022, 4:01 PM · Linux Emulation, linuxkpi
jfree updated the diff for D36749: LinuxKPI: Add pci_power querying for drm-kmod.

Various changes to pci_power_name() thanks to @hselasky

Sep 27 2022, 3:23 PM · Linux Emulation, linuxkpi
hselasky added inline comments to D36749: LinuxKPI: Add pci_power querying for drm-kmod.
Sep 27 2022, 3:02 PM · Linux Emulation, linuxkpi
hselasky added inline comments to D36749: LinuxKPI: Add pci_power querying for drm-kmod.
Sep 27 2022, 3:01 PM · Linux Emulation, linuxkpi
jfree updated the diff for D36749: LinuxKPI: Add pci_power querying for drm-kmod.
  • Added bound checking to pci_power_name()
  • Made pci_power_names array external
Sep 27 2022, 2:55 PM · Linux Emulation, linuxkpi
hselasky added inline comments to D36749: LinuxKPI: Add pci_power querying for drm-kmod.
Sep 27 2022, 2:11 PM · Linux Emulation, linuxkpi
jfree requested review of D36749: LinuxKPI: Add pci_power querying for drm-kmod.
Sep 27 2022, 2:09 PM · Linux Emulation, linuxkpi

Sep 20 2022

manu closed D36350: Add strndup_user() to LinuxKPI <linux/string.h>.
Sep 20 2022, 6:15 PM · linuxkpi, Linux Emulation
manu accepted D36350: Add strndup_user() to LinuxKPI <linux/string.h>.
Sep 20 2022, 5:20 PM · linuxkpi, Linux Emulation

Sep 11 2022

grahamperrin added a watcher for Linux Emulation: grahamperrin.
Sep 11 2022, 3:30 PM

Aug 29 2022

jfree updated the diff for D36350: Add strndup_user() to LinuxKPI <linux/string.h>.

Used memdup_user_nul() instead of memdup_user() to duplicate memory from userspace. Relevant documentation can be found here:

Aug 29 2022, 1:57 PM · linuxkpi, Linux Emulation
hselasky added inline comments to D36350: Add strndup_user() to LinuxKPI <linux/string.h>.
Aug 29 2022, 12:18 PM · linuxkpi, Linux Emulation

Aug 28 2022

markj accepted D36350: Add strndup_user() to LinuxKPI <linux/string.h>.
Aug 28 2022, 1:13 AM · linuxkpi, Linux Emulation

Aug 27 2022

jfree updated the diff for D36350: Add strndup_user() to LinuxKPI <linux/string.h>.

Removed NULL pointer error checking thanks to @markj. General user pointers are safely checked in memdup_user().

Aug 27 2022, 8:04 PM · linuxkpi, Linux Emulation
markj added inline comments to D36350: Add strndup_user() to LinuxKPI <linux/string.h>.
Aug 27 2022, 5:15 PM · linuxkpi, Linux Emulation

Aug 26 2022

hselasky accepted D36350: Add strndup_user() to LinuxKPI <linux/string.h>.

Looks good!

Aug 26 2022, 10:19 AM · linuxkpi, Linux Emulation

Aug 25 2022

avg resigned from D36350: Add strndup_user() to LinuxKPI <linux/string.h>.
Aug 25 2022, 7:05 PM · linuxkpi, Linux Emulation
jfree updated the diff for D36350: Add strndup_user() to LinuxKPI <linux/string.h>.

Added simple error checking

Aug 25 2022, 5:14 PM · linuxkpi, Linux Emulation
hselasky accepted D36350: Add strndup_user() to LinuxKPI <linux/string.h>.

Assuming there is no special case for n = 0.

Aug 25 2022, 4:43 PM · linuxkpi, Linux Emulation
jfree requested review of D36350: Add strndup_user() to LinuxKPI <linux/string.h>.
Aug 25 2022, 4:15 PM · linuxkpi, Linux Emulation

Apr 2 2022

fel1x.mintchoco.development_gmail.com added a member for Linux Emulation: fel1x.mintchoco.development_gmail.com.
Apr 2 2022, 1:37 AM
fel1x.mintchoco.development_gmail.com removed a watcher for Linux Emulation: fel1x.mintchoco.development_gmail.com.
Apr 2 2022, 1:37 AM

Apr 1 2022

fel1x.mintchoco.development_gmail.com added a watcher for Linux Emulation: fel1x.mintchoco.development_gmail.com.
Apr 1 2022, 10:18 PM

Mar 25 2022

emaste added a comment to D34555: linuxulator: add sendfile fallback for non-socket FDs.

Also if uploading an updated version please include full context (e.g. git diff -U999999 or git show -U999999)

Mar 25 2022, 1:06 PM · Linux Emulation
mjg added a comment to D34555: linuxulator: add sendfile fallback for non-socket FDs.

So the specific use case is file to file copy? In that case the code should employ kern_copy_file_range (or something lower, to the same extent). That's aside of generic whatever-to-whatever copying added here.

Mar 25 2022, 8:26 AM · Linux Emulation

Mar 24 2022

dchagin added inline comments to D34555: linuxulator: add sendfile fallback for non-socket FDs.
Mar 24 2022, 6:07 PM · Linux Emulation
emaste added a comment to D34555: linuxulator: add sendfile fallback for non-socket FDs.

commented on a couple of style(9)-related things that IMO are fine to leave the way they are if @dchagin agrees

Mar 24 2022, 5:28 PM · Linux Emulation
dchagin added a comment to D34555: linuxulator: add sendfile fallback for non-socket FDs.

thank you, you can test using linux test project, also, please, read style(9) and fix patch

Mar 24 2022, 4:57 PM · Linux Emulation
dchagin added a reviewer for D34555: linuxulator: add sendfile fallback for non-socket FDs: Linux Emulation.
Mar 24 2022, 4:13 PM · Linux Emulation

Mar 14 2022

james_mclgh.net requested review of D34555: linuxulator: add sendfile fallback for non-socket FDs.
Mar 14 2022, 10:33 PM · Linux Emulation

Aug 15 2021

grahamperrin added a comment to D26668: Expose eventfd in the native API/ABI using a new __specialfd syscall.

Linking for convenience, a cgit range that inclues the four commits: https://cgit.freebsd.org/src/log/?qt=range&q=7f4e724829e556fc646056669c2af3551b7e8724...67af9aba6b144789734289443a5f90a3ca716dbe

Aug 15 2021, 6:29 AM · Linux Emulation

Jul 20 2021

dchagin closed D30332: linuxulator: Add FUTEX_REQUEUE for musl libc. .
Jul 20 2021, 11:42 AM · Linux Emulation

Jun 25 2021

dchagin added a comment to D30332: linuxulator: Add FUTEX_REQUEUE for musl libc. .

Im don't understand what do you mean, I mean that musl it's a separate brand, see Elf_Brandinfo and linux_sysvec.c,
and only for musl brand we should change cmp_requeue, for glibc brand cmp_requeue should return EINVAL

Well. No. Musl doesn't have different brands for the elf files, only the path of the interp differs, and in any case we are a Linuxulator, not a glibculator, it's better to just remain agnostic of the userland and let it sort itself out like is expected of the kernel.

If there's a quirk for some ancient glibc version then make that a knob somewhere or break it in favour of modern (read from this decade) versions.

Jun 25 2021, 4:19 PM · Linux Emulation

Jun 14 2021

pitwuu_gmail.com added a comment to D30332: linuxulator: Add FUTEX_REQUEUE for musl libc. .

Im don't understand what do you mean, I mean that musl it's a separate brand, see Elf_Brandinfo and linux_sysvec.c,
and only for musl brand we should change cmp_requeue, for glibc brand cmp_requeue should return EINVAL

Jun 14 2021, 4:53 AM · Linux Emulation

Jun 13 2021

dchagin added a comment to D30332: linuxulator: Add FUTEX_REQUEUE for musl libc. .

Im don't understand what do you mean, I mean that musl it's a separate brand, see Elf_Brandinfo and linux_sysvec.c,
and only for musl brand we should change cmp_requeue, for glibc brand cmp_requeue should return EINVAL

Jun 13 2021, 1:25 PM · Linux Emulation

Jun 11 2021

linimon added a reviewer for D30332: linuxulator: Add FUTEX_REQUEUE for musl libc. : Linux Emulation.
Jun 11 2021, 1:52 PM · Linux Emulation

Jun 6 2021

kib closed D28154: Add compat.linux.setid_allowed knob.
Jun 6 2021, 7:26 PM · Linux Emulation
dchagin accepted D28154: Add compat.linux.setid_allowed knob.
Jun 6 2021, 5:19 PM · Linux Emulation

Jun 5 2021

ygy added a watcher for Linux Emulation: ygy.
Jun 5 2021, 10:51 AM

Jun 1 2021

trasz added a comment to D30378: linuxulator: Add filler for 'core' entry in linsysfs..

FWIW, splice: https://reviews.freebsd.org/D30597

Jun 1 2021, 3:33 PM · Linux Emulation, Core Team

May 25 2021

emaste added a comment to D30378: linuxulator: Add filler for 'core' entry in linsysfs..

we have so many such unfinished things

May 25 2021, 5:47 PM · Linux Emulation, Core Team
dchagin added a comment to D30378: linuxulator: Add filler for 'core' entry in linsysfs..

FWIW, splice(2) can be a wrapper around copy_file_range(2). We should also have a fallback from sendfile(2) to splice(2), for when it fails with ENOTSOCK. This is one of the things that break Mono

May 25 2021, 5:42 PM · Linux Emulation, Core Team
dchagin added a comment to D30378: linuxulator: Add filler for 'core' entry in linsysfs..

Why do we need it? All the BSD's seem to exist without splice() just fine?

May 25 2021, 5:25 PM · Linux Emulation, Core Team
dchagin added a comment to D30378: linuxulator: Add filler for 'core' entry in linsysfs..

The most pressing issue is the incomplete pthread support notably with FUTEX_LOCK_PI and FUTEX_UNLOCK_PI and friends.

https://wiki.freebsd.org/Linuxulator#Roadmap, pi is not the key, we have so many important holes

It's literally the second item on that list, for example pulseaudio hard crashes because it's not there. I have started but it's pretty hard, I wonder if anyone can help?

May 25 2021, 5:18 PM · Linux Emulation, Core Team
trasz added a comment to D30378: linuxulator: Add filler for 'core' entry in linsysfs..

FWIW, splice(2) can be a wrapper around copy_file_range(2). We should also have a fallback from sendfile(2) to splice(2), for when it fails with ENOTSOCK. This is one of the things that break Mono.

May 25 2021, 5:07 PM · Linux Emulation, Core Team