mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [uml-devel] linux-2.6.32 uml Segmentation fault
       [not found] <1261222401.435.6.camel@localhost>
@ 2009-12-20  9:07 ` Geert Uytterhoeven
  2010-01-04 22:39   ` [stable] " Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2009-12-20  9:07 UTC (permalink / raw)
  To: clownix, David Howells, James Morris, stable
  Cc: uml-devel, uml-user, linux-kernel

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?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [stable] [uml-devel] linux-2.6.32 uml Segmentation fault
  2009-12-20  9:07 ` [uml-devel] linux-2.6.32 uml Segmentation fault Geert Uytterhoeven
@ 2010-01-04 22:39   ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2010-01-04 22:39 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: clownix, David Howells, James Morris, stable, uml-user,
	uml-devel, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-04 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1261222401.435.6.camel@localhost>
2009-12-20  9:07 ` [uml-devel] linux-2.6.32 uml Segmentation fault Geert Uytterhoeven
2010-01-04 22:39   ` [stable] " Greg KH

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®