avoid randomness for progid in Elf

This commit is contained in:
John Reiser
2006-06-13 08:53:41 -07:00
parent d89e561a85
commit 112b10c19d
+2 -2
View File
@@ -879,7 +879,7 @@ void PackLinuxElf32::pack1(OutputFile */*fo*/, Filter &/*ft*/)
fi->seek(e_phoff, SEEK_SET); fi->seek(e_phoff, SEEK_SET);
fi->readx(phdri, sz_phdrs); fi->readx(phdri, sz_phdrs);
progid = getRandomId(); progid = 0; // getRandomId(); not useful, so do not clutter
} }
void PackLinuxElf32x86::pack1(OutputFile *fo, Filter &ft) void PackLinuxElf32x86::pack1(OutputFile *fo, Filter &ft)
@@ -919,7 +919,7 @@ void PackLinuxElf64::pack1(OutputFile */*fo*/, Filter &/*ft*/)
fi->seek(e_phoff, SEEK_SET); fi->seek(e_phoff, SEEK_SET);
fi->readx(phdri, sz_phdrs); fi->readx(phdri, sz_phdrs);
progid = getRandomId(); progid = 0; // getRandomId(); not useful, so do not clutter
} }
void PackLinuxElf64amd::pack1(OutputFile *fo, Filter &ft) void PackLinuxElf64amd::pack1(OutputFile *fo, Filter &ft)