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

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 2015-09-15 08:10 +0200
Message-ID <q8RBf-4I0-11@gated-at.bofh.it> (permalink)
References <q66ZP-1AW-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | 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