From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751999AbbIOGFT (ORCPT ); Tue, 15 Sep 2015 02:05:19 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:34347 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751389AbbIOGFQ (ORCPT ); Tue, 15 Sep 2015 02:05:16 -0400 Date: Tue, 15 Sep 2015 08:05:12 +0200 From: Ingo Molnar To: Denys Vlasenko Cc: Linus Torvalds , Steven Rostedt , Borislav Petkov , "H. Peter Anvin" , Andy Lutomirski , Oleg Nesterov , Frederic Weisbecker , Alexei Starovoitov , Will Drewry , Kees Cook , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test Message-ID: <20150915060512.GA17426@gmail.com> References: <1441641385-15937-1-git-send-email-dvlasenk@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1441641385-15937-1-git-send-email-dvlasenk@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Denys Vlasenko 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