linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [PATCH] SKAS4 - Clean up command line disable output
@ 2008-04-15  0:16 Ryan Finnie
  2008-04-28 17:28 ` Jeff Dike
  0 siblings, 1 reply; 4+ messages in thread
From: Ryan Finnie @ 2008-04-15  0:16 UTC (permalink / raw)
  To: user-mode-linux-devel

The PTRACE_GETSIGINFO notice was missing a linefeed.  In addition, tab 
and wrap each SKAS4 "disabled" message in parens so it doesn't break up 
the indendation within the switch_mm check block.

diff -ruN linux-2.6.24.orig/arch/um/os-Linux/start_up.c linux-2.6.24/arch/um/os-Linux/start_up.c
--- linux-2.6.24.orig/arch/um/os-Linux/start_up.c	2008-04-14 16:21:37.000000000 -0700
+++ linux-2.6.24/arch/um/os-Linux/start_up.c	2008-04-14 16:47:39.000000000 -0700
@@ -623,8 +623,8 @@
 		non_fatal("Failed\n");
 
 	if (disable_siginfo_segv)
-		non_fatal("Extended PTRACE_GETSIGINFO disabled on command "
-			  "line");
+		non_fatal("\t(Extended PTRACE_GETSIGINFO disabled on "
+			  "command line)\n");
 	else
 		have_siginfo_segv = 1;
 
@@ -688,7 +688,7 @@
 	close(there);
 
 	if (disable_switch_mm)
-		non_fatal("switch_mm support disabled on command line\n");
+		non_fatal("\t(switch_mm support disabled on command line)\n");
 	else
 		have_switch_mm = 1;
 
@@ -782,8 +782,8 @@
 	else non_fatal("OK\n");
 
 	if (disable_ptrace_switch_mm)
-		non_fatal("PTRACE_SWITCH_MM support disabled on command "
-			  "line\n");
+		non_fatal("\t(PTRACE_SWITCH_MM support disabled on command "
+			  "line)\n");
 	else
 		have_ptrace_switch_mm = 1;
 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2008-04-28 22:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15  0:16 [uml-devel] [PATCH] SKAS4 - Clean up command line disable output Ryan Finnie
2008-04-28 17:28 ` Jeff Dike
2008-04-28 22:14   ` Ryan Finnie
2008-04-28 22:15   ` [uml-devel] [PATCH] SKAS4 - Add noswitchmm, noptraceswitchmm and mode=skas3 switches Ryan Finnie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox