Page MenuHomeFreeBSD

linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2
ClosedPublic

Authored by trasz on Apr 6 2021, 4:57 PM.
Tags
None
Referenced Files
F175215670: D29609.id86914.diff
Fri, Oct 9, 4:20 AM
F175190088: D29609.diff
Thu, Oct 8, 11:44 PM
Unknown Object (File)
Thu, Oct 1, 8:33 AM
Unknown Object (File)
Wed, Sep 16, 1:59 AM
Unknown Object (File)
Sep 6 2026, 2:58 PM
Unknown Object (File)
Sep 6 2026, 7:22 AM
Unknown Object (File)
Sep 6 2026, 12:45 AM
Unknown Object (File)
Sep 5 2026, 7:39 PM
Subscribers

Details

Summary

This should be a no-op; the purpose of this is to reduce
a spurious difference between Linuxulator and Linux, to make
debugging slightly easier.

Note that AT_HWCAP2 we pass to Linux binaries is always 0,
instead of being equal to 'cpu_feature2'. This matches what
I've observed under Ubuntu Focal VM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable