[PATCH v3 3/5] LSM: Add security_measure_data in lsm_info struct

2020-07-17 Thread Lakshmi Ramasubramanian
The security modules that require their data to be measured using the IMA subsystem need to define a function that the LSM can call to trigger the measurement. Add a function pointer field namely security_measure_data in lsm_info structure. Update LSM to call this security module function, if defi

[PATCH v3 3/5] LSM: Add security_measure_data in lsm_info struct

2020-07-16 Thread Lakshmi Ramasubramanian
The security modules that require their data to be measured using the IMA subsystem need to define a function that the LSM can call to trigger the measurement. Add a function pointer field namely security_measure_data in lsm_info structure. Update LSM to call this security module function, if defi