security/integrity/ima/ima_rot.c
0 → 100644
+68
−0
security/integrity/ima/ima_rot.h
0 → 100644
+28
−0
Loading
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IB4I9O -------------------------------- Each type of RoT devices should have a corresponding entry in ima_rots, a static array that represents entries' priority with their order. In case that `ima_rot=` is absent, the first device (which means with higher priority) that gets successfully initialized will be the RoT. Otherwise, the framework will only try to initialize the one specified by `ima_rot=`, and there will be no RoT if the initialization fails. All necessary hooks and variables of the RoT entry should be set at least when .init() is finished. Signed-off-by:GONG Ruiqi <gongruiqi1@huawei.com>