Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/libhugetlbfs/files: libhugetlbfs-2.6-noexec-stack.patch
Date: Sat, 31 Oct 2009 07:59:59
Message-Id: E1N48sP-0001hu-H9@stork.gentoo.org
1 robbat2 09/10/31 07:59:57
2
3 Added: libhugetlbfs-2.6-noexec-stack.patch
4 Log:
5 Version bump so it can be used for new memcached fun. src_test needs some work still.
6 (Portage version: 2.2_rc46/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-libs/libhugetlbfs/files/libhugetlbfs-2.6-noexec-stack.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libhugetlbfs/files/libhugetlbfs-2.6-noexec-stack.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libhugetlbfs/files/libhugetlbfs-2.6-noexec-stack.patch?rev=1.1&content-type=text/plain
13
14 Index: libhugetlbfs-2.6-noexec-stack.patch
15 ===================================================================
16 diff -Nuar libhugetlbfs-2.6.orig/sys-elf32ppclinux.S libhugetlbfs-2.6/sys-elf32ppclinux.S
17 --- libhugetlbfs-2.6.orig/sys-elf32ppclinux.S 2009-08-24 12:56:07.000000000 +0000
18 +++ libhugetlbfs-2.6/sys-elf32ppclinux.S 2009-10-31 06:43:49.040319417 +0000
19 @@ -32,3 +32,7 @@
20 mr 8,9
21 sc
22 blr
23 +
24 +#if defined(__linux__) && defined(__ELF__)
25 + .section .note.GNU-stack,"",%progbits
26 +#endif
27 diff -Nuar libhugetlbfs-2.6.orig/sys-elf64ppc.S libhugetlbfs-2.6/sys-elf64ppc.S
28 --- libhugetlbfs-2.6.orig/sys-elf64ppc.S 2009-08-24 12:56:07.000000000 +0000
29 +++ libhugetlbfs-2.6/sys-elf64ppc.S 2009-10-31 06:43:54.303652251 +0000
30 @@ -41,3 +41,7 @@
31 mr 8,9
32 sc
33 blr
34 +
35 +#if defined(__linux__) && defined(__ELF__)
36 + .section .note.GNU-stack,"",%progbits
37 +#endif
38 diff -Nuar libhugetlbfs-2.6.orig/sys-elf_i386.S libhugetlbfs-2.6/sys-elf_i386.S
39 --- libhugetlbfs-2.6.orig/sys-elf_i386.S 2009-08-24 12:56:07.000000000 +0000
40 +++ libhugetlbfs-2.6/sys-elf_i386.S 2009-10-31 06:43:57.536975670 +0000
41 @@ -40,3 +40,7 @@
42 pop %edi
43 pop %ebp
44 ret
45 +
46 +#if defined(__linux__) && defined(__ELF__)
47 + .section .note.GNU-stack,"",%progbits
48 +#endif
49 diff -Nuar libhugetlbfs-2.6.orig/sys-elf_x86_64.S libhugetlbfs-2.6/sys-elf_x86_64.S
50 --- libhugetlbfs-2.6.orig/sys-elf_x86_64.S 2009-08-24 12:56:07.000000000 +0000
51 +++ libhugetlbfs-2.6/sys-elf_x86_64.S 2009-10-31 06:44:26.943648847 +0000
52 @@ -32,3 +32,7 @@
53 mov 0x8(%rsp),%r9
54 syscall
55 retq
56 +
57 +#if defined(__linux__) && defined(__ELF__)
58 + .section .note.GNU-stack,"",%progbits
59 +#endif