Commit Graph

26 Commits

Author SHA1 Message Date
handyohos 2e433f4cc0 xpm: Remove header symlink creation for linux-6.6
For linux-6.6, OpenHarmony headers are directly injected into the kernel
source tree, so we no longer need to create symlinks from linux-5.10.

This change:
- Removes XPM_HEADER_SOURCE_ROOT variable pointing to linux-5.10 headers
- Removes symlink creation for xpm.h and xpm_types.h

Related: #150

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: If4c6fac20fd7aaaed0052c91e69f24a21747e62c
2026-05-18 21:25:40 +08:00
handyohos 3041dfa8d2 #150 Fix container_escape_detection and xpm apply scripts
- Fix path quoting issue in container_escape_detection/apply_ced.sh
- Add xpm header symlinks in xpm/apply_xpm.sh
- Use mkdir -p for safer directory creation
- Add ohoe_headers directory for OpenHarmony specific headers

Co-Authored-By: Agent <noreply@anthropic.com>
Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: Ibb407412ab60cea209d0a3b40f17b1febf0ffedb
2026-05-15 10:22:25 +08:00
luyifan 467236e122 Xpm: check secure shield and disable jit
Signed-off-by: luyifan<842825214@qq.com>
2024-11-05 14:21:01 +08:00
施运理 557bf02b5a update xpm/core/xpm_security_hooks.c.
Signed-off-by: 施运理 <shiyunli@huawei.com>
2024-10-17 13:20:42 +00:00
shiyunli 05e1fad4ed fix
Signed-off-by: shiyunli <shiyunli@huawei.com>
2024-10-15 16:12:51 +08:00
团辉 8d15813344 xpm模块适配linux6.6
Signed-off-by: 团辉 <shituanhui@huawei.com>
2024-09-12 18:25:54 +08:00
yeyuning e09c289401 skipping xpm check not elf file
Signed-off-by: yeyuning <yeyuning2@huawei.com>
Change-Id: I817b906944ae8de8af20ba22e9c8167ee3d781dd
2024-08-20 21:39:02 +08:00
柳金 ed633de43e 修正xpm模块文本描述中存在语序不同且有歧义的问题
Signed-off-by: 柳金 <ljin0613@163.com>
2024-05-21 08:25:01 +00:00
cbl 5cd1627c2b add dm_partition white_list
Signed-off-by: cbl <caobaolong5@huawei.com>
2024-03-26 10:36:33 +08:00
fundavid ed30b07f9a fix codecheck: no '.' in kernel log
Signed-off-by: fundavid <fangjiawei8@huawei.com>
2024-03-01 07:28:02 +00:00
yang1946 3de503ff6f xpm validator code check waring clear
Signed-off-by: yang1946 <yuzhaoyang1@huawei.com>
2024-01-23 15:17:07 +08:00
limerence f570e68e7a 删除xpm管控32bit用户态支持
Signed-off-by: limerence <shituanhui@huawei.com>
2023-11-27 20:49:55 +08:00
openharmony_ci d562e4da71 !81 fix: 修复根分区切换问题
Merge pull request !81 from zhushengle/root_partition
2023-11-25 06:44:00 +00:00
zhushengle 1f42794d3b fix: 修复根分区切换问题
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: Ia2331caf0fc0d25f6fa5950e2f89423943ffa661
2023-11-25 08:48:33 +08:00
limerence 53e2babac7 内核支持代码所有者校验
Signed-off-by: limerence <shituanhui@huawei.com>
2023-11-23 20:29:35 +08:00
zhushengle 6289e9e737 feat: xpm dm-verity使能方案2适配
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I600d2f8e23788fc6bc0c4f359061026e6f9e3cd4
2023-11-21 14:55:01 +08:00
openharmony_ci cb59008bb6 !61 xpm适配内联代码签名
Merge pull request !61 from lihehe/xpm
2023-11-09 08:35:17 +00:00
Hongjin Li 014c1818ac feat: 支持二进制文件代码签名能力
Signed-off-by: Hongjin Li <lihongjin1@huawei.com>
2023-11-09 14:23:11 +08:00
lihehe 83a8425b06 Add check for verified data size
Signed-off-by: lihehe <lihehao@huawei.com>
Change-Id: I082247bc8f2b9b41163186d85c9a7a824d6c45fd
2023-11-09 10:00:11 +08:00
limerence df7facd015 add developer proc
Signed-off-by: limerence <shituanhui@huawei.com>
2023-10-13 18:43:51 +08:00
zhushengle 8697e002af feat: xpm支持文件验签
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I6362e58030b126f33320654bb0034c06e2ede6a1
2023-07-06 14:51:29 +08:00
openharmony_ci 6f307ceb5b !32 fix: 规范告警清零
Merge pull request !32 from zhushengle/codecheck
2023-06-30 01:06:58 +00:00
zhushengle 6b8ff51ead fix: 规范告警清零
Close #I7GNQH

Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I985717fda8845c311fe2cbbacf10cf7b513112d8
2023-06-29 15:47:50 +08:00
limerence 81f54ec9ed fix xpm coding style problem
Signed-off-by: limerence <shituanhui@huawei.com>
2023-06-28 17:01:37 +08:00
limerence ebc369de9c xpm only support arm64
Signed-off-by: limerence <shituanhui@huawei.com>
2023-05-10 15:22:34 +08:00
limerence 89aecefaea add xpm module
Signed-off-by: limerence <shituanhui@huawei.com>
2023-05-08 19:46:54 +08:00