Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2879032pxu; Sat, 19 Dec 2020 05:07:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzD7H0MyWRH++zDDxARJgGjPo2GDJ6Hv0jQIWUanGKM497XIgazyUhXnSdChFeIAKc04Mr X-Received: by 2002:a17:906:e24f:: with SMTP id gq15mr8492442ejb.256.1608383252762; Sat, 19 Dec 2020 05:07:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608383252; cv=none; d=google.com; s=arc-20160816; b=qYbwN5NclQOeUV74T21pu9IFs/mX61rx90CSXvMTdgmbuQM0188+BGo1TOsPrrvcxf xWYkpRFCUoiPiy79yYL5c1jR7/kw4ioJDpFGgjh58wWKf3yr1nI4++R0/mmDE3Pzr3Cl ZCsmnNVTjwPt7XXkH0Brk9a02mxD+LX2k2qWDc1l/iMJDXuHNu/+weshe9diPfiHOzgl H4ckeu7usFxuTdsLEZee9SDm6sS9KYttslQ3rKP6LTFbA6eIqJHdqYTrtPn1o1WXvhJS YKwPpg9b+91eTL0h3rWL7Ysn5F4+N3lT8FnOPrU6AnlZBAFLqNwbTi5xY5aomrFOZXoP KDHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=EI5GrP87krua4XboHOB2uPgwh8RQiiZSAglzez2b8a8=; b=PkvMJWF5DfGKYnDOAktGLpzD3iLXfaKUPDBg/CGuiGE80Mev20HjsM8eEStEfWffoo rn1GZda2smeTGhfqEAuKY/P3wd3lITX8/GjhtzkOpUU1ax9JIHCuv38C2z7L0I800dHd byiNbmLO6iQDL85fWqAZZKZamhhV+zbDcp8bhYoUa2vzp69bV6EnrIzbyG0JlPHxpkkc 0M0Pc3HhFR0EDT/E40zvu8uwPvvi6wA0Mg3VUdYJ2S4UEOCazrHjyzt0pOESKKldY/WV 2iJ/u1rMhzdczV5ZtVGy8RhZEvJEoq3dt1PCNUk0BzNjrMpuiJu5kTIbNHirFZD4x302 3q+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt17si7122049edb.469.2020.12.19.05.07.10; Sat, 19 Dec 2020 05:07:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728685AbgLSNEs (ORCPT + 99 others); Sat, 19 Dec 2020 08:04:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:52388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728897AbgLSNE1 (ORCPT ); Sat, 19 Dec 2020 08:04:27 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kamal Mostafa Subject: [PATCH 5.4 31/34] Revert "selftests/ftrace: check for do_sys_openat2 in user-memory test" Date: Sat, 19 Dec 2020 14:03:28 +0100 Message-Id: <20201219125342.928341441@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201219125341.384025953@linuxfoundation.org> References: <20201219125341.384025953@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kamal Mostafa This reverts commit 9110e2f2633dc9383a3a4711a0067094f6948783. This commit is not suitable for 5.4-stable because the openat2 system call does not exist in v5.4. Signed-off-by: Kamal Mostafa Signed-off-by: Greg Kroah-Hartman --- tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc | 4 ---- 1 file changed, 4 deletions(-) --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc @@ -11,16 +11,12 @@ grep -A10 "fetcharg:" README | grep -q ' :;: "user-memory access syntax and ustring working on user memory";: echo 'p:myevent do_sys_open path=+0($arg2):ustring path2=+u0($arg2):string' \ > kprobe_events -echo 'p:myevent2 do_sys_openat2 path=+0($arg2):ustring path2=+u0($arg2):string' \ - >> kprobe_events grep myevent kprobe_events | \ grep -q 'path=+0($arg2):ustring path2=+u0($arg2):string' echo 1 > events/kprobes/myevent/enable -echo 1 > events/kprobes/myevent2/enable echo > /dev/null echo 0 > events/kprobes/myevent/enable -echo 0 > events/kprobes/myevent2/enable grep myevent trace | grep -q 'path="/dev/null" path2="/dev/null"'