From: Mimi Zohar <zohar@linux.ibm.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
Andrew Morton <akpm@linux-foundation.org>
Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>,
Dmitry Kasatkin <dmitry.kasatkin@gmail.com>,
Eric Biggers <ebiggers@google.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>,
Steven Chen <chenste@linux.microsoft.com>,
Tushar Sugandhi <tusharsu@linux.microsoft.com>
Subject: Re: linux-next: manual merge of the integrity tree with the mm-nonmm-unstable tree
Date: Thu, 29 May 2025 15:10:53 -0400 [thread overview]
Message-ID: <c17b1932657164acfbf98f8ab9ec08d88ba827e8.camel@linux.ibm.com> (raw)
In-Reply-To: <20250529142748.052c3d2b@canb.auug.org.au>
On Thu, 2025-05-29 at 14:27 +1000, Stephen Rothwell wrote:
> Hi all,
>
> On Wed, 30 Apr 2025 14:23:31 +1000 Stephen Rothwell <sfr@canb.auug.org.au>
> wrote:
> >
> > Today's linux-next merge of the integrity tree got a conflict in:
> >
> > kernel/kexec_file.c
> >
> > between commit:
> >
> > 912e32afb858 ("kexec_file: use SHA-256 library API instead of
> > crypto_shash API")
> >
> > from the mm-nonmm-unstable tree and commit:
> >
> > 9ee8888a80fe ("ima: kexec: skip IMA segment validation after kexec soft
> > reboot")
> >
> > from the integrity tree.
> >
> > I fixed it up (see below) and can carry the fix as necessary. This
> > is now fixed as far as linux-next is concerned, but any non trivial
> > conflicts should be mentioned to your upstream maintainer when your tree
> > is submitted for merging. You may also want to consider cooperating
> > with the maintainer of the conflicting tree to minimise any particularly
> > complex conflicts.
> >
> > --
> > Cheers,
> > Stephen Rothwell
> >
> > diff --cc kernel/kexec_file.c
> > index ac915eabb901,0adb645072aa..000000000000
> > --- a/kernel/kexec_file.c
> > +++ b/kernel/kexec_file.c
> > @@@ -762,7 -800,17 +786,14 @@@ static int kexec_calculate_store_digest
> > if (ksegment->kbuf == pi->purgatory_buf)
> > continue;
> >
> > + /*
> > + * Skip the segment if ima_segment_index is set and matches
> > + * the current index
> > + */
> > + if (check_ima_segment_index(image, i))
> > + continue;
> > +
> > - ret = crypto_shash_update(desc, ksegment->kbuf,
> > - ksegment->bufsz);
> > - if (ret)
> > - break;
> > + sha256_update(&state, ksegment->kbuf, ksegment->bufsz);
> >
> > /*
> > * Assume rest of the buffer is filled with zero and
>
> This is now a conflict between the mm-nonmm-stable tree and Linus' tree.
Thanks Stephen. It looks good to me.
Mimi
prev parent reply other threads:[~2025-05-29 19:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-30 4:23 Stephen Rothwell
2025-05-29 4:27 ` Stephen Rothwell
2025-05-29 19:10 ` Mimi Zohar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c17b1932657164acfbf98f8ab9ec08d88ba827e8.camel@linux.ibm.com \
--to=zohar@linux.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=chenste@linux.microsoft.com \
--cc=dmitry.kasatkin@gmail.com \
--cc=ebiggers@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=tusharsu@linux.microsoft.com \
--cc=zohar@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®