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
Unknown Object (File)
Sat, Dec 6, 5:57 AM
Unknown Object (File)
Tue, Dec 2, 12:38 PM
Unknown Object (File)
Mon, Dec 1, 10:25 AM
Unknown Object (File)
Tue, Nov 25, 3:50 AM
Unknown Object (File)
Nov 10 2025, 4:33 AM
Unknown Object (File)
Nov 9 2025, 3:13 PM
Unknown Object (File)
Nov 9 2025, 2:52 PM
Unknown Object (File)
Nov 9 2025, 2:34 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