Adapt better to SELinux. We still need allow_execmem.

p_lx_elf.cpp
	stub/a_lx_elf64.c
	stub/l_lx_elf64amd.h
	stub/l_lx_elf64amd.lds
	stub/l_lx_elf64amd.S
	stub/fold_elf64amd.h

committer: jreiser <jreiser> 1145657332 +0000
This commit is contained in:
John Reiser
2006-04-21 22:08:52 +00:00
parent c155f0a5d5
commit c264750924
6 changed files with 155 additions and 139 deletions
+17 -13
View File
@@ -1,4 +1,4 @@
/* l_lx_elf64amd.h -- created from l_lx_elf64amd.bin, 560 (0x230) bytes
/* l_lx_elf64amd.h -- created from l_lx_elf64amd.bin, 619 (0x26b) bytes
This file is part of the UPX executable compressor.
@@ -27,12 +27,12 @@
*/
#define LINUX_ELF64AMD_LOADER_SIZE 560
#define LINUX_ELF64AMD_LOADER_ADLER32 0xdfe11659
#define LINUX_ELF64AMD_LOADER_CRC32 0x1c0a6afb
#define LINUX_ELF64AMD_LOADER_SIZE 619
#define LINUX_ELF64AMD_LOADER_ADLER32 0xbfe028a3
#define LINUX_ELF64AMD_LOADER_CRC32 0xe248fd34
unsigned char linux_elf64amd_loader[560] = {
232, 37, 2, 0, 0, 85, 83, 81, 82, 72, 1,254, 86, 72,137,254, /* 0x 0 */
unsigned char linux_elf64amd_loader[619] = {
232, 96, 2, 0, 0, 85, 83, 81, 82, 72, 1,254, 86, 72,137,254, /* 0x 0 */
72,137,215, 49,219, 49,201, 72,131,205,255,232,129, 1, 0, 0, /* 0x 10 */
1,219,116, 2,243,195,139, 30, 72,131,238,252, 17,219,138, 22, /* 0x 20 */
243,195, 72,141, 4, 47,131,249, 5,138, 16,118, 33, 72,131,253, /* 0x 30 */
@@ -60,11 +60,15 @@ unsigned char linux_elf64amd_loader[560] = {
237, 72,129,253, 0,243,255,255, 17,193,232,147,254,255,255,235, /* 0x 190 */
135,252, 65, 91, 65,131,248, 8, 15,132,202,254,255,255, 65,131, /* 0x 1a0 */
248, 2, 15,132,112,255,255,255, 89, 72,137,240, 72, 41,200, 90, /* 0x 1b0 */
72, 41,215, 89,137, 57, 91, 93,195, 91,191, 65, 68, 82, 77,106, /* 0x 1c0 */
7, 90,190, 76, 69, 78, 77,106, 50, 65, 90, 69, 41,192,106, 9, /* 0x 1d0 */
88, 15, 5, 57,199,116, 1,244,104, 74, 77, 80, 85,104, 65, 68, /* 0x 1e0 */
82, 85,190, 65, 68, 82, 67,104, 76, 69, 78, 85,185, 67, 78, 84, /* 0x 1f0 */
67,104, 65, 68, 82, 88,104, 76, 69, 78, 88,137,250, 41,242, 1, /* 0x 200 */
213, 1,211,252,243, 72,165,151,137,222, 80,146,173,137,241,173, /* 0x 210 */
151,173, 68, 15,182,192,135,254,255,229, 93,232,153,255,255,255 /* 0x 220 */
72, 41,215, 89,137, 57, 91, 93,195,104, 25, 0, 0, 0, 90,232, /* 0x 1c0 */
25, 0, 0, 0, 83, 69, 76,105,110,117,120, 32,100,101,110,105, /* 0x 1d0 */
101,100, 32,101,120,101, 99,109,101,109, 46, 10, 0, 94,106, 2, /* 0x 1e0 */
95,106, 1, 88, 15, 5,106,127, 95,106, 60, 88, 15, 5, 91,191, /* 0x 1f0 */
65, 68, 82, 77,106, 7, 90,190, 76, 69, 78, 77,106, 50, 65, 90, /* 0x 200 */
69, 41,192,106, 9, 88, 15, 5, 57,199,117,173,104, 74, 77, 80, /* 0x 210 */
85,104, 65, 68, 82, 85,190, 65, 68, 82, 67,104, 76, 69, 78, 85, /* 0x 220 */
185, 67, 78, 84, 67,104, 65, 68, 82, 88,104, 76, 69, 78, 88,137, /* 0x 230 */
250, 41,242, 1,213, 1,211,252,243, 72,165,135,199,137,222, 80, /* 0x 240 */
135,194,173, 80, 72,137,225,173,135,199,173, 68, 15,182,192,135, /* 0x 250 */
254,255,213, 89,195, 93,232,147,255,255,255 /* 0x 260 */
};