HomeFreeBSD

linux(4): Retire linux_kplatform.

Description

linux(4): Retire linux_kplatform.

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.

Reviewed by: trasz, imp
Differential Revision: https://reviews.freebsd.org/D30774
MFC after: 2 weeks

(cherry picked from commit c1da89fec254f9d079fc17a186e2665a32cc718d)

Details

Provenance
dchaginAuthored on Jun 17 2022, 7:30 PM
Reviewer
trasz
Differential Revision
D30774: linux(4): Retire linux_kplatform.
Parents
rG5833253dad65: linux(4): Get rid of Linuxulator kernel build options.
Branches
Unknown
Tags
Unknown