Showing the changes to lib (3 of 3 files). Show all
Unified · Split
| @@ -40,4 +40,8 @@ p6: · 39 unmodified lines | ||
| 40 | 40 | push %edx |
| 41 | 41 | ret |
| 42 | 42 | |
| 43 | +/* mark stack as nonexecutable */ | |
| 44 | +#if defined __ELF__ && defined __linux__ | |
| 45 | + .section .note.GNU-stack,"",@progbits | |
| 46 | +#endif | |
| 43 | 47 | /* ---------------------------------------------- */ |
| @@ -28,4 +28,8 @@ p3: · 27 unmodified lines | ||
| 28 | 28 | push %edx |
| 29 | 29 | ret |
| 30 | 30 | |
| 31 | +/* mark stack as nonexecutable */ | |
| 32 | +#if defined __ELF__ && defined __linux__ | |
| 33 | + .section .note.GNU-stack,"",@progbits | |
| 34 | +#endif | |
| 31 | 35 | /* ---------------------------------------------- */ |
| @@ -35,4 +35,8 @@ p3: · 34 unmodified lines | ||
| 35 | 35 | push %rdx |
| 36 | 36 | ret |
| 37 | 37 | |
| 38 | +/* mark stack as nonexecutable */ | |
| 39 | +#if defined __ELF__ && defined __linux__ | |
| 40 | + .section .note.GNU-stack,"",@progbits | |
| 41 | +#endif | |
| 38 | 42 | /* ---------------------------------------------- */ |