!112 修复代码段及只读段在uncache映射区域可以篡改的漏洞
Merge pull request !112 from JerryH/mmu
This commit is contained in:
@@ -30,10 +30,10 @@
|
||||
*/
|
||||
|
||||
#include "los_user_init.h"
|
||||
|
||||
#ifdef LOSCFG_KERNEL_DYNLOAD
|
||||
#include "los_syscall.h"
|
||||
|
||||
#ifdef LOSCFG_KERNEL_SYSCALL
|
||||
|
||||
#define SYS_CALL_VALUE 0x900001
|
||||
|
||||
#ifdef LOSCFG_QUICK_START
|
||||
@@ -59,7 +59,6 @@ LITE_USER_SEC_TEXT STATIC UINT32 sys_call3(UINT32 nbr, UINT32 parm1, UINT32 parm
|
||||
|
||||
return reg0;
|
||||
}
|
||||
#endif
|
||||
|
||||
LITE_USER_SEC_ENTRY VOID OsUserInit(VOID *args)
|
||||
{
|
||||
@@ -69,3 +68,4 @@ LITE_USER_SEC_ENTRY VOID OsUserInit(VOID *args)
|
||||
while (true) {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user