add helper functions to proctect newlib's environment and heap
add helper functions to proctect newlib's environment and heap

RWTH-OS/HermitCore,RWTH-OS/HermitCore,RWTH-OS/HermitCore,RWTH-OS/HermitCore,RWTH-OS/HermitCore,RWTH-OS/HermitCore