Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1458724
| From | Mimi Zohar <zohar@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list |
| Date | 2016-08-09 15:10 +0200 |
| Message-ID | <s4eX7-7Yv-3@gated-at.bofh.it> (permalink) |
| References | <s2qpH-MZ-5@gated-at.bofh.it> <s2rc6-1p0-13@gated-at.bofh.it> <s4d4Z-6KH-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 2016-08-09 at 20:59 +1000, Michael Ellerman wrote:
> Mimi Zohar <zohar@linux.vnet.ibm.com> writes:
>
> > diff --git a/security/integrity/ima/ima.h b/security/integrity/ima/ima.h
> > index b5728da..84e8d36 100644
> > --- a/security/integrity/ima/ima.h
> > +++ b/security/integrity/ima/ima.h
> > @@ -102,6 +102,13 @@ struct ima_queue_entry {
> > };
> > extern struct list_head ima_measurements; /* list of all measurements */
> >
> > +/* Some details preceding the binary serialized measurement list */
> > +struct ima_kexec_hdr {
> > + unsigned short version;
> > + unsigned long buffer_size;
> > + unsigned long count;
> > +} __packed;
> > +
>
> Am I understanding it correctly that this structure is passed between kernels?
Yes, the header prefixes the measurement list, which is being passed on
the same computer to the next kernel. Could the architecture (eg.
LE/BE) change between soft re-boots?
> If so it's an ABI and should use types with well defined sizes, as if it was
> going out to userspace, shouldn't it?
Ok
Mimi
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/7] ima: on soft reboot, restore the measurement list Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-08-04 15:50 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Petko Manolov <petkan@mip-labs.com> - 2016-08-05 11:30 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-08-05 15:40 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Petko Manolov <petkan@mip-labs.com> - 2016-08-05 18:00 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Michael Ellerman <mpe@ellerman.id.au> - 2016-08-09 13:10 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-08-09 15:10 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-08-09 15:20 +0200
RE: [PATCH 1/7] ima: on soft reboot, restore the measurement list David Laight <David.Laight@ACULAB.COM> - 2016-08-09 15:40 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-08-09 16:10 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-08-09 16:00 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-08-09 16:10 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Samuel Mendoza-Jonas <sam@mendozajonas.com> - 2016-08-10 01:30 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Michael Ellerman <mpe@ellerman.id.au> - 2016-08-10 05:50 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Michael Ellerman <mpe@ellerman.id.au> - 2016-08-10 20:10 +0200
Re: [Linux-ima-devel] [PATCH 1/7] ima: on soft reboot, restore the measurement list Petko Manolov <petkan@mip-labs.com> - 2016-08-10 20:30 +0200
Re: [Linux-ima-devel] [PATCH 1/7] ima: on soft reboot, restore the measurement list Petko Manolov <petkan@mip-labs.com> - 2016-08-10 22:20 +0200
RE: [Linux-ima-devel] [PATCH 1/7] ima: on soft reboot, restore the measurement list David Laight <David.Laight@ACULAB.COM> - 2016-08-10 23:20 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-08-10 20:50 +0200
Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-08-10 20:10 +0200
csiph-web