Page MenuHomeFreeBSD

linux(4): Retire linux_kplatform.
ClosedPublic

Authored by dchagin on Jun 15 2021, 5:01 PM.
Tags
None
Referenced Files
F81975772: D30774.diff
Wed, Apr 24, 12:14 AM
Unknown Object (File)
Mar 7 2024, 11:44 PM
Unknown Object (File)
Feb 13 2024, 7:43 AM
Unknown Object (File)
Jan 31 2024, 11:48 AM
Unknown Object (File)
Jan 18 2024, 12:33 PM
Unknown Object (File)
Jan 14 2024, 4:56 AM
Unknown Object (File)
Dec 30 2023, 11:38 PM
Unknown Object (File)
Dec 20 2023, 7:10 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.