All of lore.kernel.org
 help / color / mirror / Atom feed
* + tests-improve-output-of-sigaltstack-testcase.patch added to -mm tree
@ 2017-02-07 22:47 akpm
  2017-02-08 18:32 ` Stas Sergeev
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2017-02-07 22:47 UTC (permalink / raw)
  To: stsp, luto, mingo, oleg, shuah, stsp, mm-commits


The patch titled
     Subject: tools/testing/selftests/sigaltstack/sas.c: improve output of sigaltstack testcase
has been added to the -mm tree.  Its filename is
     tests-improve-output-of-sigaltstack-testcase.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/tests-improve-output-of-sigaltstack-testcase.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/tests-improve-output-of-sigaltstack-testcase.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Stas Sergeev <stsp@list.ru>
Subject: tools/testing/selftests/sigaltstack/sas.c: improve output of sigaltstack testcase

Currently it uses %i for bitmasks, which makes it difficult to properly
decode the values.  Use %x instead.

Link: http://lkml.kernel.org/r/b7b4c45d-2f21-de6c-d1c8-16c8386da27c@list.ru
Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 tools/testing/selftests/sigaltstack/sas.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff -puN tools/testing/selftests/sigaltstack/sas.c~tests-improve-output-of-sigaltstack-testcase tools/testing/selftests/sigaltstack/sas.c
--- a/tools/testing/selftests/sigaltstack/sas.c~tests-improve-output-of-sigaltstack-testcase
+++ a/tools/testing/selftests/sigaltstack/sas.c
@@ -57,7 +57,7 @@ void my_usr1(int sig, siginfo_t *si, voi
 		exit(EXIT_FAILURE);
 	}
 	if (stk.ss_flags != SS_DISABLE)
-		printf("[FAIL]\tss_flags=%i, should be SS_DISABLE\n",
+		printf("[FAIL]\tss_flags=%x, should be SS_DISABLE\n",
 				stk.ss_flags);
 	else
 		printf("[OK]\tsigaltstack is disabled in sighandler\n");
@@ -122,7 +122,8 @@ int main(void)
 	if (stk.ss_flags == SS_DISABLE) {
 		printf("[OK]\tInitial sigaltstack state was SS_DISABLE\n");
 	} else {
-		printf("[FAIL]\tInitial sigaltstack state was %i; should have been SS_DISABLE\n", stk.ss_flags);
+		printf("[FAIL]\tInitial sigaltstack state was %x; "
+		       "should have been SS_DISABLE\n", stk.ss_flags);
 		return EXIT_FAILURE;
 	}
 
@@ -165,7 +166,7 @@ int main(void)
 		exit(EXIT_FAILURE);
 	}
 	if (stk.ss_flags != SS_AUTODISARM) {
-		printf("[FAIL]\tss_flags=%i, should be SS_AUTODISARM\n",
+		printf("[FAIL]\tss_flags=%x, should be SS_AUTODISARM\n",
 				stk.ss_flags);
 		exit(EXIT_FAILURE);
 	}
_

Patches currently in -mm which might be from stsp@list.ru are

sigaltstack-support-ss_autodisarm-for-config_compat.patch
tests-improve-output-of-sigaltstack-testcase.patch


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

* Re: + tests-improve-output-of-sigaltstack-testcase.patch added to -mm tree
  2017-02-07 22:47 + tests-improve-output-of-sigaltstack-testcase.patch added to -mm tree akpm
@ 2017-02-08 18:32 ` Stas Sergeev
  0 siblings, 0 replies; 2+ messages in thread
From: Stas Sergeev @ 2017-02-08 18:32 UTC (permalink / raw)
  To: akpm; +Cc: luto, linux-kernel, David Miller, Helge Deller

08.02.2017 01:47, akpm@linux-foundation.org пишет:
> The patch titled
>       Subject: tools/testing/selftests/sigaltstack/sas.c: improve output of sigaltstack testcase
> has been added to the -mm tree.  Its filename is
>       tests-improve-output-of-sigaltstack-testcase.patch
Thanks Andrew!
With this anti-spam stuff I wouldn't be getting
anywhere without your help.
Btw, just yesterday I've finally received the mail
delivery failure about the initial patch. It contains
the things like this:
---

                    The mail system

<shuah@kernel.org>: host ns2.kernel.org[149.20.4.80] said: 450 4.2.0
     <shuah@kernel.org>: Recipient address rejected: Greylisted, see
     http://postgrey.schweikert.ch/help/kernel.org.html  (in reply to RCPT TO
     command)

<trivial@kernel.org>: host ns2.kernel.org[149.20.4.80] said: 450 4.2.0
     <trivial@kernel.org>: Recipient address rejected: Greylisted, see
     http://postgrey.schweikert.ch/help/kernel.org.html  (in reply to RCPT TO
     command)

---

To me that smells like kernel.org is misbehaving, or
what is it?

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

end of thread, other threads:[~2017-02-08 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-07 22:47 + tests-improve-output-of-sigaltstack-testcase.patch added to -mm tree akpm
2017-02-08 18:32 ` Stas Sergeev

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.