diff options
Diffstat (limited to 'src/lj_arch.h')
| -rw-r--r-- | src/lj_arch.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h index 3e3581c2..626f6c13 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h | |||
| @@ -633,4 +633,19 @@ extern void *LJ_WIN_LOADLIBA(const char *path); | |||
| 633 | #define LJ_52 0 | 633 | #define LJ_52 0 |
| 634 | #endif | 634 | #endif |
| 635 | 635 | ||
| 636 | /* -- VM security --------------------------------------------------------- */ | ||
| 637 | |||
| 638 | /* Don't make any changes here. Instead build with: | ||
| 639 | ** make "XCFLAGS=-DLUAJIT_SECURITY_flag=value" | ||
| 640 | */ | ||
| 641 | |||
| 642 | /* Security defaults. */ | ||
| 643 | #ifndef LUAJIT_SECURITY_PRNG | ||
| 644 | #define LUAJIT_SECURITY_PRNG 1 | ||
| 645 | #endif | ||
| 646 | |||
| 647 | #ifndef LUAJIT_SECURITY_MCODE | ||
| 648 | #define LUAJIT_SECURITY_MCODE 1 | ||
| 649 | #endif | ||
| 650 | |||
| 636 | #endif | 651 | #endif |
