Commit Graph

51 Commits

Author SHA1 Message Date
renwei
e98ce4c80d component adaption
Signed-off-by: renwei <renwei8@huawei.com>
Change-Id: Ief1ccdf17f79e30747cf5d23d16a05b3e6bb7a99
2022-01-14 14:29:14 +08:00
openharmony_ci
2ac8126c97
!16 add libload_policy.so librestorecon to updater
Merge pull request !16 from 蓝色大魔王/master
2022-01-13 08:51:39 +00:00
blue
2c7c6d5dcc add libselinux.so to updater
Signed-off-by:hanqiaosheng <hanqiaosheng@huawei.com>
2022-01-13 11:33:48 +08:00
openharmony_ci
49938e0213
!14 add sepolicy
Merge pull request !14 from dapaodexiaoyu2/master
2022-01-11 12:30:26 +00:00
renwei
3c91879174 add sepolicy
Signed-off-by: renwei <renwei8@huawei.com>
Change-Id: I2f81a9ebd9b917650bb9b4c1c758fded2dcdb439
2022-01-11 16:16:15 +08:00
openharmony_ci
f4fd3fbeb1
!13 add selinux adaption for rk3568
Merge pull request !13 from dapaodexiaoyu2/master
2022-01-08 10:44:54 +00:00
renwei
cba0eb93b4 add selinux adaption for rk3568
Signed-off-by: renwei <renwei8@huawei.com>
Change-Id: I15d83ed168a60ca19a4b6402e8a4d874e7353c4b
2022-01-08 16:06:27 +08:00
openharmony_ci
89fcf3fd96
!12 根据编译参数 enforce_selinux 来确定是否开启 enforce 模式
Merge pull request !12 from Qin Fandong/master
2022-01-06 03:07:24 +00:00
Qin Fandong
2e0f8fc2fb 根据编译参数 enforce_selinux 来确定是否开启 enforce 模式
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2022-01-04 16:43:46 +08:00
openharmony_ci
c7c2f2d4ae !11 支持selinux策略编译
Merge pull request !11 from steven_Q/master
2021-12-30 13:45:26 +00:00
steven_q
c6554e6862 add basic policy, and build scripts
Signed-off-by: qichanggui <qichanggui@huawei.com>

Change-Id: Id2bfb4328847946828d09913b0fcbd884b71e2ad
2021-12-30 19:40:48 +08:00
openharmony_ci
4cc8c6448c !8 optimize selinux_test.c src
Merge pull request !8 from 杨阳/test
2021-11-09 01:26:06 +00:00
Yang Yang
ed6c4e3ec1 optimize selinux_test.c src
Signed-off-by: Yang Yang <yangyang@superred.com.cn>
2021-11-08 10:22:11 +08:00
openharmony_ci
71551de0a7 !9 添加对enable_selinux选项的支持
Merge pull request !9 from xiebo/ebable_selinux
2021-11-05 03:33:12 +00:00
xiebo
669c736cce correct the gn format
Signed-off-by: xiebo <xieb@superred.com.cn>
2021-11-05 03:11:13 +00:00
xiebo
bfa2e3a670 add option enable_selinux
Signed-off-by: xiebo <xieb@superred.com.cn>
2021-11-05 02:46:05 +00:00
openharmony_ci
2e0ece866c !7 修复了安全函数无法链接的问题;修复了错误的 selinux 头文件路径
Merge pull request !7 from Qin Fandong/master
2021-11-04 06:55:33 +00:00
Qin Fandong
d75eb9e02e 修复了安全函数无法链接的问题;修复了错误的 selinux 头文件路径
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-11-04 14:36:20 +08:00
openharmony_ci
bcb284044c !6 修改BUILD.gn中selinux_test的include_dirs
Merge pull request !6 from liusn/lsn-1104change
2021-11-04 04:35:45 +00:00
liusn
1841c55111 修改BUILD.gn中selinux_test的include_dirs
Signed-off-by: liusn <liusn@superred.com.cn>
2021-11-04 12:29:30 +08:00
openharmony_ci
2a6809ee60 !5 更新文档
Merge pull request !5 from Qin Fandong/master
2021-11-04 04:15:07 +00:00
Qin Fandong
1d315a1c7b 更新文档
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-11-04 12:13:25 +08:00
openharmony_ci
b6d03c4ae4 !4 modify sepolicy/policy.31 interfaces/policycoreutils/src/restorecon.c
Merge pull request !4 from liusn/lsn-1104change
2021-11-04 02:10:37 +00:00
liusn
5447e9d67b change selinux_opt to selinux_opts in interfaces/policycoreutils/src/restorecon.c
Signed-off-by: liusn <liusn@superred.com.cn>
2021-11-04 09:36:09 +08:00
liusn
7ed710b6b5 change LICENSE.txt to LICENSE in BUILD.gn, and modify sepolicy/policy.31
Signed-off-by: liusn <liusn@superred.com.cn>
2021-11-04 09:35:47 +08:00
openharmony_sig_ci
a73938b701 !3 修复了代码检查中的一些问题
Merge pull request !3 from Qin Fandong/master
2021-11-02 09:58:42 +00:00
Qin Fandong
a34d020e6f 修复了代码检查中的一些问题
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-11-02 17:39:09 +08:00
openharmony_ci
11c1ce1a2b !2 add selinux to ramdisk
Merge pull request !2 from dapaodexiaoyu2/master
2021-11-01 10:51:36 +00:00
renwei
a7bfbc8faf add selinux to ramdisk
Signed-off-by: renwei <renwei8@huawei.com>
2021-11-01 17:06:38 +08:00
openharmony_sig_ci
4855c62b93 !1 Add license_file in BUILD.gn
Merge pull request !1 from Qin Fandong/master
2021-10-22 01:38:07 +00:00
Qin Fandong
280972fb20 Update Copyright for BUILD.gn
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-22 09:21:08 +08:00
Qin Fandong
391f24afcc Update README.md
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-22 09:10:55 +08:00
Qin Fandong
a9fc0320c2 Update README.md
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-22 09:07:59 +08:00
Qin Fandong
ef9c7de7bf Add license_file in BUILD.gn
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-22 08:40:02 +08:00
Qin Fandong
b55e6ee27b pcre -> pcre2
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-20 09:59:34 +08:00
Qin Fandong
82fd934846 LICENSE 放到顶级目录以避免 gitee 的警告
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-12 09:58:29 +08:00
Qin Fandong
e05d7be6e2 修复不准确的用词;明确具体步骤
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-12 09:35:16 +08:00
Qin Fandong
7ba437cfb2 更新说明
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-09 16:16:56 +08:00
Qin Fandong
cc1f710c0b fix README.md
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-09 12:36:37 +08:00
Qin Fandong
bbc03ccb57 Merge remote-tracking branch 'old/master'
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-09 11:52:42 +08:00
Qin Fandong
c4f3b904be 仓库变更:pcre2 -> pcre
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-09 11:46:28 +08:00
Robert
90050d6dd9 Initial commit 2021-10-09 03:27:40 +00:00
Qin Fandong
a8d4731bf5 更新说明
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-09 09:31:11 +08:00
Qin Fandong
f4ac5ceac7 fix BUILD.gn
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-08 12:17:49 +08:00
Qin Fandong
3fa51eb764 BUILD.gn 引入宏支持
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-08 12:16:03 +08:00
Qin Fandong
2965b189eb 更新说明
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-08 10:31:32 +08:00
Qin Fandong
403e04daa7 添加从 third_party_selinux 中踢出的自研代码
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-10-08 10:28:19 +08:00
Xie Bo
98d7c618b7 add ohos.build and update BUILD.gn
Signed-off-by: Xie Bo <xieb@superred.com.cn>
2021-09-30 05:43:46 +00:00
Qin Fandong
239adb1744 FIXME:改变了二进制策略文件的约定路径,因为 OpenHarmony 的 e2fsdroid 无法处理五级目录
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-09-30 00:46:11 +08:00
Qin Fandong
c717df292c 目录拆分(未测试)
Signed-off-by: Qin Fandong <qinfd@superred.com.cn>
2021-09-28 12:17:02 +08:00