openharmony_kernel_liteos_a/kernel/include
LiteOS2021 e748fdbe57 feat: L0~L1 支持Lms
1.【需求描述】:
   支持内核态和用户态堆内存非法访问检测,包括:越界访问、double free、释放后使用;支持libc常用高频函数内存检测;支持安全函数内存检测;读写检测可配可裁剪。
2.【方案描述】:
   L0 ~ L1:
   (1).影子内存映射与标记
   (2).编译器使能-fsanitize=kernel-address 自动插桩检测点
   (3).实时校验影子内存的合法性;
   (4).错误访问打印回溯栈

BREAKING CHANGE: 新增支持API:

LOS_LmsCheckPoolAdd使能检测指定内存池
LOS_LmsCheckPoolDel不检测指定内存池
LOS_LmsAddrProtect为指定内存段上锁,不允许访问
LOS_LmsAddrDisableProtect去能指定内存段的访问保护

Close #I4HYAV

Signed-off-by: LiteOS2021 <dinglu@huawei.com>
Change-Id: Id8e5c890656da9edc4a22227e6a3c32205c024ce
2021-11-27 11:13:41 +08:00
..
los_base.h fix: fix stored typo 2021-05-21 10:16:04 +08:00
los_bitmap.h chore: update LOS_BitmapFfz comment 2021-06-22 10:22:46 +08:00
los_builddef.h refactor: 内核目录结构整理 2021-09-08 16:36:28 +08:00
los_cppsupport.h remove __cplusplus guards in .c files 2021-04-19 18:28:25 +08:00
los_cpup.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_err.h feat: L0-L1 支持Perf 2021-09-28 19:28:34 +08:00
los_errno.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_event.h chore: fix typos 2021-06-16 14:52:06 +08:00
los_hash.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_hook.h feat: L0-L1 支持Trace 2021-08-31 20:29:45 +08:00
los_init.h refactor: 内核目录结构整理 2021-09-08 16:36:28 +08:00
los_ld_elflib.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_list.h fix: update LOS_DL_LIST_IS_END comment 2021-06-15 17:16:41 +08:00
los_lms.h feat: L0~L1 支持Lms 2021-11-27 11:13:41 +08:00
los_lockdep.h chore: 修复社区反馈问题Percpu结构体注释错误 2021-11-10 10:20:33 +08:00
los_membox.h chore: 修复内存模块的一些不规范用语 2021-11-02 12:01:59 +08:00
los_memory.h chore: 修复内存模块的一些不规范用语 2021-11-02 12:01:59 +08:00
los_mp.h feat: L0-L1 支持Perf 2021-09-28 19:28:34 +08:00
los_mux.h remove __cplusplus guards in .c files 2021-04-19 18:28:25 +08:00
los_perf.h feat: L0-L1 支持Perf 2021-09-28 19:28:34 +08:00
los_pm.h feat: L1支持低功耗投票框架 2021-06-24 14:27:23 +08:00
los_printf.h refactor: 内核目录结构整理 2021-09-08 16:36:28 +08:00
los_process.h feat: 支持killpg和waitid 2021-08-12 18:06:55 +08:00
los_queue.h fix: fix length typo 2021-05-18 14:33:59 +08:00
los_rwlock.h remove __cplusplus guards in .c files 2021-04-19 18:28:25 +08:00
los_sem.h IssueNo:#I3HGTM 2021-04-09 10:44:13 +08:00
los_smp.h fix: smp启动代码解耦及内存映射关系解耦 2021-08-05 16:03:43 +08:00
los_spinlock.h refactor: 对LiteOS_a内核中menuconfig开关的宏使用#ifdef/#ifndef做预编译处理 2021-07-01 09:08:18 +08:00
los_swtmr.h chore: 修复社区反馈问题Percpu结构体注释错误 2021-11-10 10:20:33 +08:00
los_sys.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_tables.h remove __cplusplus guards in .c files 2021-04-19 18:28:25 +08:00
los_task.h feat: 支持LOS_TaskJoin 和 LOS_TaskDetach 2021-10-19 14:26:10 +08:00
los_tick.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_toolchain.h fix: remove redundant headfile 2021-06-19 17:32:47 +08:00
los_trace.h chore: 修复社区反馈问题Percpu结构体注释错误 2021-11-10 10:20:33 +08:00
los_typedef.h chore: replace YES/NO macros to 1/0 2021-11-16 01:27:06 +08:00