]> git.pld-linux.org Git - packages/chpax.git/blob - chpax-elf.patch
- updated to 0.6.
[packages/chpax.git] / chpax-elf.patch
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
5 @@ -14,8 +14,8 @@
6   */
7  #include "chpax.h"
8  
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;
14  int                    header_size;
15  void                   *header;
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
19 @@ -10,6 +10,7 @@
20  #include <sys/types.h>
21  #include <fcntl.h>
22  #include <unistd.h>
23 +#include <linux/user.h>
24  #include <linux/elf.h>
25  #include <linux/a.out.h>
26  
27 @@ -36,8 +37,8 @@
28  #define        FILE_IS_ELF32(h)        (h.e_ident[EI_CLASS] == 1)
29  
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;
37  extern void                    *header;
This page took 0.065281 seconds and 3 git commands to generate.