Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1224655

Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test

Path csiph.com!xmission!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test
Date Tue, 15 Sep 2015 08:10:01 +0200
Message-ID <q8RBf-4I0-11@gated-at.bofh.it> (permalink)
References <q66ZP-1AW-7@gated-at.bofh.it>
X-Original-To Denys Vlasenko <dvlasenk@redhat.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=0VEw7IvnKskDZ9qdeL4shvVKrkZcBQhWtGzSZuPVk28=; b=z/xWSsjk+5XgWHbLYHh1gAfy5fhFfBZj76J509TOSHiTcV2owS0YeVo1ccytQPeMZM 2SUj5JAgLceh2OWRW0Kr9orhgykEWFgEwcsYhYj8WpkahTqyx7/fsrgVOzO57YME/Lhq OBEp6AFuTWx5RmJW0XBTjil1V8Br+NZFuj8Ga5yzkstVqgqsFbid7Y7IaPy3EZCqfxeQ IK9jTVxqDGgAgb0dYaGatckNIZir8sxNOjpE3lFRuGLDLEHjJMz9B39SghlCN6uzFXWE CBft0ywgyAi7QaQB9jyneZe+qpWxyyO4vX2BVi6A5xpb6j6q2aRfRizcYcpCbcFmn7eA IYPw==
X-Received by 10.180.106.196 with SMTP id gw4mr3744075wib.63.1442297115565; Mon, 14 Sep 2015 23:05:15 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent Mutt/1.5.23 (2014-03-12)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
X-Original-Cc Linus Torvalds <torvalds@linux-foundation.org>, Steven Rostedt <rostedt@goodmis.org>, Borislav Petkov <bp@alien8.de>, "H. Peter Anvin" <hpa@zytor.com>, Andy Lutomirski <luto@amacapital.net>, Oleg Nesterov <oleg@redhat.com>, Frederic Weisbecker <fweisbec@gmail.com>, Alexei Starovoitov <ast@plumgrid.com>, Will Drewry <wad@chromium.org>, Kees Cook <keescook@chromium.org>, x86@kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Tue, 15 Sep 2015 08:05:12 +0200
X-Original-Message-ID <20150915060512.GA17426@gmail.com>
X-Original-References <1441641385-15937-1-git-send-email-dvlasenk@redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1224655

Show key headers only | View raw


* Denys Vlasenko <dvlasenk@redhat.com> wrote:

>  tools/testing/selftests/x86/Makefile            |   2 +-
>  tools/testing/selftests/x86/test_syscall_vdso.c | 401 ++++++++++++++++++++++++
>  tools/testing/selftests/x86/thunks_32.S         |  55 ++++
>  3 files changed, 457 insertions(+), 1 deletion(-)
>  create mode 100644 tools/testing/selftests/x86/test_syscall_vdso.c
>  create mode 100644 tools/testing/selftests/x86/thunks_32.S

So I wanted to apply this testcase (testcases are great!), but there's a build 
warning:

test_syscall_vdso.c: In function ‘print_flags’:
test_syscall_vdso.c:239:4: warning: format not a string literal and no format arguments [-Wformat-security]
    printf(bitstr[(r >> bit) & 1]);
    ^

That's with GCC 4.9.2.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v4 RESEND] x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test Denys Vlasenko <dvlasenk@redhat.com> - 2015-09-07 18:00 +0200
  Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Andy Lutomirski <luto@amacapital.net> - 2015-09-10 00:10 +0200
    Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add 'test_syscall_vdso'  test Denys Vlasenko <dvlasenk@redhat.com> - 2015-09-10 21:10 +0200
      Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Andy Lutomirski <luto@amacapital.net> - 2015-09-10 21:20 +0200
        Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Ingo Molnar <mingo@kernel.org> - 2015-09-14 10:30 +0200
          Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Andy Lutomirski <luto@amacapital.net> - 2015-09-14 20:00 +0200
      Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Ingo Molnar <mingo@kernel.org> - 2015-09-14 10:20 +0200
        Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Andy Lutomirski <luto@amacapital.net> - 2015-09-14 20:00 +0200
          Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Ingo Molnar <mingo@kernel.org> - 2015-09-15 08:10 +0200
            Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Andy Lutomirski <luto@amacapital.net> - 2015-09-15 20:20 +0200
              Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Ingo Molnar <mingo@kernel.org> - 2015-09-16 12:00 +0200
  Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add  'test_syscall_vdso' test Ingo Molnar <mingo@kernel.org> - 2015-09-15 08:10 +0200

csiph-web