Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3628442imm; Mon, 25 Jun 2018 01:42:47 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ0VK4Sdj+uzIddGRBcK8eHiDX63wEQZ/Hae+LZmffhdybhvPnrROvaM+uDCTt1SJ1fmPsC X-Received: by 2002:a17:902:543:: with SMTP id 61-v6mr11500631plf.47.1529916167231; Mon, 25 Jun 2018 01:42:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529916167; cv=none; d=google.com; s=arc-20160816; b=ocoN7qN8zkLedcEYjRzwn3esjsd3aBp66/O79zUmk4CfGmf3LAxotHDUL29WyNV2J1 zOuxzJiT43PhtB1gcYdWliS+OhkVamgADlNsRPDXRxCFfRI5f6VMYaXAx6NyBwl2rM+9 h202AimbQ8BeC/cFrkO2iZBkaNeijMMWPazj9pbKYnHFs1xV7+xtfXVOynVRC5BgViqB ciaVs4C4INllBRox3+tFLLuvetG1nRSamfEystQHWkR58aJN9eRv43DdIixD9slYMpX2 E2jGXUfsYNUIc0TgYFbUK97S/MKQWwCMvNf7lM8MaCKv1+o7iWsW+9+ndpNP14XhwKI+ 1MeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:mime-version:user-agent:date:message-id :subject:from:cc:to:arc-authentication-results; bh=eR0gqI81CeZsI9fLLSMQvg37BGHrIeXGUj/k5+9RxNw=; b=cDUmBO75m9SC1B58x6x5l73ZOann8eVOy8g/tirlBFU8BgNVi8a7A5caCYCBUNEQWk /PgjEMqAaZHRWJb2CA8grbfCiZeVAUHI/x2v2sQ5yZNGCXU9R3SZ0weZbDWpRfh2eoYo HOV3AWdHP8CmWRclCGv+iPmFk54vm+Ov5jKHm93z04wfmK2obisRrQHxmAVg7x4Npn0u er9fhWQu7ddh48RzNbiwytfYxcxvAO1q95KDGk8gu+J25MceEJ693k6byDdBoSFL4T+J yId3EqN32UpTVHi+WjBXThVwb8uKB0U+YAGnd6w+oU5gPTaOUWC3DjDpmHFRPSD7rF/N XcGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5-v6si519675pgn.105.2018.06.25.01.42.32; Mon, 25 Jun 2018 01:42:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754653AbeFYIld (ORCPT + 99 others); Mon, 25 Jun 2018 04:41:33 -0400 Received: from mga09.intel.com ([134.134.136.24]:60641 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754563AbeFYIlc (ORCPT ); Mon, 25 Jun 2018 04:41:32 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2018 01:41:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,269,1526367600"; d="scan'208";a="66995679" Received: from keunhyun-mobl1.amr.corp.intel.com (HELO [192.168.4.139]) ([10.255.29.56]) by fmsmga001.fm.intel.com with ESMTP; 25 Jun 2018 01:41:28 -0700 To: Andy Lutomirski , Denys Vlasenko , "linux-kernel@vger.kernel.org" Cc: "linux-kselftest@vger.kernel.org" , "Li, Philip" , "Ye, Xiaolong" , Li Zhijian From: Li Zhijian Subject: test_syscall_vdso_32 [FAIL] Message-ID: <0d78b5b4-710e-1b41-46e1-74003ca1381e@intel.com> Date: Mon, 25 Jun 2018 16:41:24 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Intel 0Day noticed that test_syscall_vdso_32 failed since 8bb2610bc4967f19672444a7b0407367f1540028(x86/entry/64/compat: Preserve r8-r11 in int $0x80) 2018-06-25 14:23:00 make run_tests -C x86 make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-8bb2610bc4967f19672444a7b0407367f1540028/tools/testing/selftests/x86' gcc -m32 -o /usr/src/linux-selftests-x86_64-rhel-7.2-8bb2610bc4967f19672444a7b0407367f1540028/tools/testing/selftests/x86/test_syscall_vdso_32 -O2 -g -std=gnu99 -pthread -Wall -no-pie -DCAN_BUILD_32 -DCAN_BUILD_64 test_syscall_vdso.c thunks_32.S -lrt -ldl -lm TAP version 13 selftests: test_syscall_vdso_32 ======================================== [RUN] Executing 6-argument 32-bit syscall via VDSO [WARN] Flags before=0000000000200ed7 id 0 00 o d i s z 0 a 0 p 1 c [WARN] Flags after=0000000000200606 id 0 00 d i 0 0 p 1 [WARN] Flags change=00000000000008d1 0 00 o s z 0 a 0 0 c [OK] Arguments are preserved across syscall [NOTE] R11 has changed:0000000000200606 - assuming clobbered by SYSRET insn [OK] R8..R15 did not leak kernel data [RUN] Executing 6-argument 32-bit syscall via INT 80 [OK] Arguments are preserved across syscall [FAIL] R8 has changed:0000000000000000 [FAIL] R9 has changed:0000000000000000 [FAIL] R10 has changed:0000000000000000 [FAIL] R11 has changed:0000000000000000 [RUN] Executing 6-argument 32-bit syscall via VDSO [WARN] Flags before=0000000000200ed7 id 0 00 o d i s z 0 a 0 p 1 c [WARN] Flags after=0000000000200606 id 0 00 d i 0 0 p 1 [WARN] Flags change=00000000000008d1 0 00 o s z 0 a 0 0 c [OK] Arguments are preserved across syscall [NOTE] R11 has changed:0000000000200606 - assuming clobbered by SYSRET insn [OK] R8..R15 did not leak kernel data [RUN] Executing 6-argument 32-bit syscall via INT 80 [OK] Arguments are preserved across syscall [FAIL] R8 has changed:0000000000000000 [FAIL] R9 has changed:0000000000000000 [FAIL] R10 has changed:0000000000000000 [FAIL] R11 has changed:0000000000000000 [RUN] Running tests under ptrace not ok 1..1 selftests: test_syscall_vdso_32 [FAIL] make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-8bb2610bc4967f19672444a7b0407367f1540028/tools/testing/selftests/x86' This commit changed the testcase expected behavior, but looks it doesn't work as expected. so want to consult whether 0Day missed something(special configurations) to this case ? if more details are needed, please let me know. Thanks