]> sourceware.org Git - systemtap.git/commit
dtrace: Use deterministic temp file creation for all temp files
authorGioele Barabucci <gioele@svario.it>
Mon, 27 Feb 2023 11:56:52 +0000 (12:56 +0100)
committerFrank Ch. Eigler <fche@redhat.com>
Mon, 27 Feb 2023 14:36:32 +0000 (09:36 -0500)
commit05c8fa6a54b78e87c2513f52641d1bba10852994
treeaf3037a0ddeb0323ecc00be2d38a405fec05b84b
parent2548c735f850e0555bd4aef6b93407aa41c6266d
dtrace: Use deterministic temp file creation for all temp files

`dtrace -G -C` creates temporary files with random filenames. The name
of these temporary files gets embedded in the ELF `.symtab` of the final
object files, making them always slightly different.

This behavior makes all packages that use `dtrace`-produced object files
inherently non reproducible.

To fix this issue all temporary files are now created using
the same deterministic procedure currently used only for the
temporary "c." files.

Fixes: https://bugs.debian.org/1032055
Fixes: https://bugs.debian.org/1032056
Signed-off-by: Gioele Barabucci <gioele@svario.it>
dtrace.in
This page took 0.026404 seconds and 5 git commands to generate.