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
+16
View File
@@ -150,6 +150,14 @@ protected:
__attribute_packed;
cprElfHdr3 elfout;
struct Elf32_Note {
unsigned namesz; // 8
unsigned descsz; // 4
unsigned type; // 1
char text[0x18 - 4*4]; // "OpenBSD"
unsigned end; // 0
} elfnote;
};
@@ -364,6 +372,14 @@ class PackOpenBSDElf32x86 : public PackBSDElf32x86
public:
PackOpenBSDElf32x86(InputFile *f);
virtual ~PackOpenBSDElf32x86();
virtual int buildLoader(const Filter *ft);
protected:
virtual void generateElfHdr(
OutputFile *,
void const *proto,
unsigned const brka
);
};
/*************************************************************************