History

lib/alloca*: mark ELF stack access flags as nonexecutable

Sergei Trofimovich committed 15 years ago

Commit d97a25f1 parent 28883183 files · +12 −0Browse files

Unified · Split

3 files
  1. lib/alloca86-bt.S +4 −0
  2. lib/alloca86.S +4 −0
  3. lib/alloca86_64.S +4 −0
lib/alloca86-bt.S+4−0
@@ -40,4 +40,8 @@ p6: · 39 unmodified lines
40 push %edx40 push %edx
41 ret41 ret
42 42
43/* mark stack as nonexecutable */
44#if defined __ELF__ && defined __linux__
45 .section .note.GNU-stack,"",@progbits
46#endif
43/* ---------------------------------------------- */47/* ---------------------------------------------- */
lib/alloca86.S+4−0
@@ -28,4 +28,8 @@ p3: · 27 unmodified lines
28 push %edx28 push %edx
29 ret29 ret
30 30
31/* mark stack as nonexecutable */
32#if defined __ELF__ && defined __linux__
33 .section .note.GNU-stack,"",@progbits
34#endif
31/* ---------------------------------------------- */35/* ---------------------------------------------- */
lib/alloca86_64.S+4−0
@@ -35,4 +35,8 @@ p3: · 34 unmodified lines
35 push %rdx35 push %rdx
36 ret36 ret
37 37
38/* mark stack as nonexecutable */
39#if defined __ELF__ && defined __linux__
40 .section .note.GNU-stack,"",@progbits
41#endif
38/* ---------------------------------------------- */42/* ---------------------------------------------- */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t