linux-um archives
 help / color / mirror / Atom feed
From: "Ryan Finnie" <ryan@finnie.org>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] [PATCH] SKAS4 - Clean up command line disable output
Date: 28 Apr 2008 15:14:41 -0700	[thread overview]
Message-ID: <20080428221441.13847.qmail@feh.colobox.com> (raw)
In-Reply-To: <20080428172840.GF9628@c2.user-mode-linux.org>

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.

Signed-off-by: Ryan Finnie <ryan@finnie.org>
---

 start_up.c |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)


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

  reply	other threads:[~2008-04-28 22:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-04-28 22:15   ` [uml-devel] [PATCH] SKAS4 - Add noswitchmm, noptraceswitchmm and mode=skas3 switches Ryan Finnie

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=20080428221441.13847.qmail@feh.colobox.com \
    --to=ryan@finnie.org \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@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