linux-um archives
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: clownix <clownix@clownix.net>,
	David Howells <dhowells@redhat.com>,
	James Morris <jmorris@namei.org>, stable <stable@kernel.org>,
	uml-user <user-mode-linux-user@lists.sourceforge.net>,
	uml-devel <user-mode-linux-devel@lists.sourceforge.net>,
	linux-kernel@vger.kernel.org
Subject: Re: [stable] [uml-devel] linux-2.6.32 uml Segmentation fault
Date: Mon, 4 Jan 2010 14:39:17 -0800	[thread overview]
Message-ID: <20100104223917.GB20708@kroah.com> (raw)
In-Reply-To: <10f740e80912200107v4ffeee81k77e291ffaebac837@mail.gmail.com>

On Sun, Dec 20, 2009 at 10:07:03AM +0100, Geert Uytterhoeven wrote:
> On Sat, Dec 19, 2009 at 12:33, clownix <clownix@clownix.net> wrote:
> > Hello
> > For the 2.6.32 kernel there are 2 problems:
> >
> > 1: Compile error, this patch works for it:
> > --------------------------------------------
> >
> > diff -Naur old_linux-2.6.32.1/security/keys/keyctl.c
> > linux-2.6.32.1/security/keys/keyctl.c
> > --- old_linux-2.6.32.1/security/keys/keyctl.c � 2009-12-14
> > 18:47:25.000000000 +0100
> > +++ linux-2.6.32.1/security/keys/keyctl.c � � � 2009-12-15 22:40:32.565286766
> > +0100
> > @@ -1236,6 +1236,7 @@
> > �*/
> > �long keyctl_session_to_parent(void)
> > �{
> > +#ifdef TIF_NOTIFY_RESUME
> > � � � �struct task_struct *me, *parent;
> > � � � �const struct cred *mycred, *pcred;
> > � � � �struct cred *cred, *oldcred;
> > @@ -1326,6 +1327,9 @@
> > �error_keyring:
> > � � � �key_ref_put(keyring_r);
> > � � � �return ret;
> > +#else /* !TIF_NOTIFY_RESUME */
> > + � � � return -EOPNOTSUPP;
> > +#endif /* !TIF_NOTIFY_RESUME */
> > �}
> 
> Aha, UML is also affected.
> 
> Commit a00ae4d21b2fa9379914f270ffffd8d3bec55430 ("Keys:
> KEYCTL_SESSION_TO_PARENT needs TIF_NOTIFY_RESUME architecture
> support") should be in 2.6.32-stable as it fixes a regression, but
> apparently the `Cc: stable@kernel.org' got lost?

Now queued up, thanks for letting me know.

greg k-h


      reply	other threads:[~2010-01-04 22:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-19 11:33 [uml-devel] linux-2.6.32 uml Segmentation fault clownix
2009-12-20  8:45 ` [uml-devel] [uml-user] " clownix
2009-12-20  9:07 ` [uml-devel] " Geert Uytterhoeven
2010-01-04 22:39   ` Greg KH [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=20100104223917.GB20708@kroah.com \
    --to=greg@kroah.com \
    --cc=clownix@clownix.net \
    --cc=dhowells@redhat.com \
    --cc=geert@linux-m68k.org \
    --cc=jmorris@namei.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@lists.sourceforge.net \
    /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