[PATCH openEuler-21.09 07/46] ima: Extend the APIs in the integrity subsystem