1 Pliki paxtest-0.9.6.orig/chpax-0.5/chpax i paxtest-0.9.6/chpax-0.5/chpax ró¿ni± siê
2 diff -uNr paxtest-0.9.6.orig/chpax-0.5/chpax.c paxtest-0.9.6/chpax-0.5/chpax.c
3 --- paxtest-0.9.6.orig/chpax-0.5/chpax.c 2004-03-05 12:50:42.000000000 +0100
4 +++ paxtest-0.9.6/chpax-0.5/chpax.c 2004-03-15 20:56:17.883282576 +0100
9 -struct elf32_hdr header_elf;
10 -struct elf64_hdr header_elf64;
11 +Elf32_Ehdr header_elf;
12 +Elf64_Ehdr header_elf64;
13 struct exec header_aout;
16 diff -uNr paxtest-0.9.6.orig/chpax-0.5/chpax.h paxtest-0.9.6/chpax-0.5/chpax.h
17 --- paxtest-0.9.6.orig/chpax-0.5/chpax.h 2004-03-05 12:50:42.000000000 +0100
18 +++ paxtest-0.9.6/chpax-0.5/chpax.h 2004-03-15 21:02:18.552452528 +0100
20 #include <sys/types.h>
23 +#include <linux/user.h>
24 #include <linux/elf.h>
25 #include <linux/a.out.h>
28 #define FILE_IS_ELF32(h) (h.e_ident[EI_CLASS] == 1)
30 /* Extern variables */
31 -extern struct elf32_hdr header_elf;
32 -extern struct elf64_hdr header_elf64;
33 +extern Elf32_Ehdr header_elf;
34 +extern Elf64_Ehdr header_elf64;
35 extern struct exec header_aout;
36 extern int header_size;