Page MenuHomeFreeBSD

linux(4): Retire linux_kplatform.
ClosedPublic

Authored by dchagin on Jun 15 2021, 5:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 10:19 AM
Unknown Object (File)
Oct 3 2024, 5:32 AM
Unknown Object (File)
Oct 1 2024, 12:03 PM
Unknown Object (File)
Oct 1 2024, 10:23 AM
Unknown Object (File)
Oct 1 2024, 1:05 AM
Unknown Object (File)
Sep 30 2024, 11:58 PM
Unknown Object (File)
Sep 27 2024, 10:19 AM
Unknown Object (File)
Sep 13 2024, 8:20 PM
Subscribers

Details

Summary

Assuming we can't run on i486, i586 class cpu, retire linux_kplatform var
and use hardcoded 'machine' value in linux_newuname().

I have added linux_kplatform for consistency with linux_platform which is
placed in to vdso to avoid excess copyout it on stack for AT_PLATFORM at
exec time.

This is the first stage of Linuxulator's vdso revision.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39922
Build 36811: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jun 16 2021, 10:24 AM

While FreeBSD can run on 486 and 586 class cores, Linux has long ago made the choice to compile for 686 and newer cores only in its popular distributions. FreeBSD changed its default to i686 for 13 as well.
One in theory could run a 486 or 586 binary on a machine of that class. However, that's such a odd-ball combination I'm virtually certain has seen no testing that this is fine.

This revision was automatically updated to reflect the committed changes.