Page MenuHomeFreeBSD

RFC: Use file-prefix-map to lie about kernel build paths
Needs ReviewPublic

Authored by dan.mcgregor_usask.ca on Feb 18 2021, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 4:57 AM
Unknown Object (File)
Dec 20 2023, 7:26 AM
Unknown Object (File)
Dec 19 2023, 8:37 AM
Unknown Object (File)
Dec 12 2023, 9:09 PM
Unknown Object (File)
Nov 28 2023, 4:19 AM
Unknown Object (File)
Nov 22 2023, 2:12 AM
Unknown Object (File)
Sep 6 2023, 6:45 AM
Unknown Object (File)
Aug 31 2023, 1:56 PM
Subscribers

Details

Summary

Use file-prefix-map, and use reproducible_sysdir for the replacementpath rather than the real sysdir.

This is the kernel space complement to D28764.

Diff Detail

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

Event Timeline

There are a few more, mostly to do with generated files containing full paths that escape. They're coming too.

This one is kinda ugly, and I can see improvements already, like this review doesn't use compiler features at all.

It also doesn't handle out of tree kernel module builds.