Commit 4fae235
committed
freebsd,linux,sunos: make stack non-executable
Link with -z,noexecstack to make stack memory non-executable. Makes
shellcode injection through buffer overflows more difficult.
Fixes: nodejs/node-v0.x-archive#7542
PR-URL: node-forward/node#8
Reviewed-By: Trevor Norris <trevnorris@gmail.com>1 parent 6d2ac2b commit 4fae235
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
368 | 374 | | |
369 | 375 | | |
370 | 376 | | |
| |||
0 commit comments