Commit Graph

3 Commits

Author SHA1 Message Date
staralien adafc22688 add dec test script
Signed-off-by: staralien <chengxin@servicecenter-harmonytsc.com>
2026-01-30 17:01:19 +08:00
staralien 0afc82cd6f security:dec:Enable DEC(Dynamic Enhance Control) control policy
---------------------------------------
DEC(Dynamic Enhance Control) is a dynamic file access enhancement mechanism. It resolves DAC interception and sharefs security risks, precisely controlling file access via a kernel permission database, ioctl interfaces and LSM framework.

DEC will bind the token ID of the application and the paths it can access. The user-level sandboxmanager module and appspawn module will configure the relevant policies. When the application accesses the control paths under the sharefs file system, DEC checks the:
	create,
	read,
	write,
	remove,
	rename,
	move,
	access
of files by the application.

Signed-off-by: staralien <chengxin@servicecenter-harmonytsc.com>
2026-01-21 21:32:28 +08:00
ligongshao 950bac51dc common add mac
Signed-off-by: ligongshao <flamingsword1953@163.com>
Change-Id: I4ce475213751ac2239aea974653c58d6a0e13d90
Signed-off-by: ligongshao <flamingsword1953@163.com>
2024-08-02 16:17:25 +08:00