Move OS-dependent mprotect for module loading to grub-core/osdep/*/dl.c
and implement windows variant.
This commit is contained in:
parent
d5c14e1e26
commit
a19293cb75
7 changed files with 147 additions and 13 deletions
5
grub-core/osdep/dl.c
Normal file
5
grub-core/osdep/dl.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
#if defined (__MINGW32__) || defined (__CYGWIN__)
|
||||
#include "windows/dl.c"
|
||||
#else
|
||||
#include "unix/dl.c"
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue