-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mfdbg, heap_dbg: add security_level on user mode
In loadable builds, the user heap and kernel heap operate completely separately. Only in some cases, such as when an allocation failure occurs during operation in the User Heap, does the code execute by changing to the kernel area (privileged mode). However, currently in mm modual, security_level is applied only in kernel area (privileged mode). Since mm log is designed to output physical memory, it can cause potential security issues, so if the OS is secure level state, security_level must be applied to not output memory in the user area as well. Therfore, Change mfdbg and heap_dbg, which output mm logs, to check security_level in all env. Signed-off-by: eunwoo.nam <eunwoo.nam@samsung.com>
- Loading branch information
1 parent
9b8c097
commit 0f974de
Showing
3 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters