Re: [PATCH v10 06/12] ima: Use designated initializers for struct ima_event_data

2019-05-09 Thread Mimi Zohar
On Thu, 2019-04-18 at 00:51 -0300, Thiago Jung Bauermann wrote: > Designated initializers allow specifying only the members of the struct > that need initialization. Non-mentioned members are initialized to zero. > > This makes the code a bit clearer (particularly in ima_add_boot_aggregate() >

[PATCH v10 06/12] ima: Use designated initializers for struct ima_event_data

2019-04-17 Thread Thiago Jung Bauermann
Designated initializers allow specifying only the members of the struct that need initialization. Non-mentioned members are initialized to zero. This makes the code a bit clearer (particularly in ima_add_boot_aggregate() and also allows adding a new member to the struct without having to update