Move OS-dependent mprotect for module loading to grub-core/osdep/*/dl.c

and implement windows variant.
This commit is contained in:
Vladimir Serbinenko 2013-12-08 18:07:41 +01:00
parent d5c14e1e26
commit a19293cb75
7 changed files with 147 additions and 13 deletions

5
grub-core/osdep/dl.c Normal file
View file

@ -0,0 +1,5 @@
#if defined (__MINGW32__) || defined (__CYGWIN__)
#include "windows/dl.c"
#else
#include "unix/dl.c"
#endif