OpenBSD "pro-active security" causes headaches

This commit is contained in:
John Reiser
2006-07-03 16:35:21 -07:00
parent 33564b68dd
commit 0d7255158a
8 changed files with 1028 additions and 2 deletions
+3
View File
@@ -53,6 +53,9 @@ def do_file(fn):
if opts.bfdname == "elf32-i386" and opts.elfosabi == "freebsd":
fp.seek(7, 0)
fp.write("\x09")
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "openbsd":
fp.seek(7, 0)
fp.write("\x0c")
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "linux":
fp.seek(8, 0)
fp.write("Linux\x00\x00\x00")