All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] linux-2.6.32 uml Segmentation fault
@ 2009-12-19 11:33 clownix
  2009-12-20  8:45 ` [uml-devel] [uml-user] " clownix
  2009-12-20  9:07 ` [uml-devel] " Geert Uytterhoeven
  0 siblings, 2 replies; 5+ messages in thread
From: clownix @ 2009-12-19 11:33 UTC (permalink / raw)
  To: uml-devel, uml-user

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 */ 
 }


2 A segfault during launch:
-----------------------------

Program received signal SIGSEGV, Segmentation fault.
0x0842487f in __libc_setup_tls ()
(gdb) bt
#0  0x0842487f in __libc_setup_tls ()
#1  0x08424a9a in __pthread_initialize_minimal ()
#2  0x08424525 in __libc_start_main ()
#3  0x08061021 in _start ()





------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` [stable] " Greg KH
2010-01-04 22:39     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.