Messages in this thread | | | Subject | Re: [PATCH 2/5 v4] add the buffer to the xattr | From | Mimi Zohar <> | Date | Mon, 06 May 2019 08:13:27 -0400 |
| |
On Fri, 2019-05-03 at 15:25 -0700, Prakhar Srivastava wrote: > From: Prakhar Srivastava <prsriva02@gmail.com> > > This change adds the buffer passed in to the xattr used for > template entries.
Please update this patch description with a clear explanation of the problem and what you're trying to accomplish with this patch.
> > Signed-off-by: Prakhar Srivastava <prsriva02@gmail.com> > --- > security/integrity/ima/ima_main.c | 37 ++++++++++++++++++++--- > security/integrity/ima/ima_template_lib.c | 3 +- > security/integrity/integrity.h | 1 + > 3 files changed, 35 insertions(+), 6 deletions(-) > > diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c > index 3db3f3966ac7..7362952ab273 100644 > --- a/security/integrity/ima/ima_main.c > +++ b/security/integrity/ima/ima_main.c > @@ -603,16 +603,37 @@ static int process_buffer_measurement(const void *buff, int size, > struct ima_digest_data hdr; > char digest[IMA_MAX_DIGEST_SIZE]; > } hash; > + struct buffer_xattr {
Improperly indented.
Mimi
| |