Re: [PATCH v3 1/6] IMA: generalize keyring specific measurement constructs

2020-09-11 Thread Tushar Sugandhi
On 2020-08-31 4:55 a.m., Mimi Zohar wrote: On Thu, 2020-08-27 at 18:56 -0700, Tushar Sugandhi wrote: IMA functions such as ima_match_keyring(), process_buffer_measurement(), ima_match_policy() etc. handle data specific to keyrings. Currently, these constructs are not generic to handle any fun

Re: [PATCH v3 1/6] IMA: generalize keyring specific measurement constructs

2020-08-31 Thread Mimi Zohar
On Thu, 2020-08-27 at 18:56 -0700, Tushar Sugandhi wrote: > IMA functions such as ima_match_keyring(), process_buffer_measurement(), > ima_match_policy() etc. handle data specific to keyrings. Currently, > these constructs are not generic to handle any func specific data. > This makes it harder to

[PATCH v3 1/6] IMA: generalize keyring specific measurement constructs

2020-08-27 Thread Tushar Sugandhi
IMA functions such as ima_match_keyring(), process_buffer_measurement(), ima_match_policy() etc. handle data specific to keyrings. Currently, these constructs are not generic to handle any func specific data. This makes it harder to extend without code duplication. Refactor the keyring specific me