From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE4C4389114 for ; Fri, 3 Apr 2026 13:29:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775222970; cv=none; b=bSOBwU43UI+c3mla5nwzM3f5uO9BpcQyCveWYgU2n4z7zPjtbJNPxyWNsjGxcMOLxIkdsLj9zkVxf+XBAqMv79KE+S57+SfDFgDGuSNqDYIxB7AwSY4H1Ooxkhm9tWAf7yADnsAAU+O7rClZRvwwdma6x1fHz9RkuVxyc/91/OY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775222970; c=relaxed/simple; bh=VzkOBTwrh/ZAEWyDq0wTwhOjuMcVM8ZBOhLAgmbLYV0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LQWg6KEjHVikB3JLYtg7c67pBLsHhy8o/a0HfeVqCsjBvj3+1uXjUyg958H0a0W4cAnpFsmp0tMBlxeTtBFBF/j62UhA22bEJBmMxUnMQsz6beBivZiopRkN9JZtRDL0YLs0GOn3pjhwx8M0wmWrcs/Gr6n6t0HxRObOUP/LS88= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=gYGc7p/s; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gYGc7p/s" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1775222968; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=h9sVOoQGR6YJrdcFmzq+w7FOO7nBGhJW86+Qq1iVEJA=; b=gYGc7p/s7Vf/x6X5J+Lnp2nfNs+VjJhvn3zGSrluxzluNAeiQx5NGYn3HZspWt34DbgFL5 HPBr1Mfw+yF6nOKpqSwgbrEx+q8f1AuzQmVkhER/9jrilZWg1zj0+psEAULj+wvhS4QZ9n yvj2Gcqz6scymSPb7t1lzObEoLyUHLw= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-288-OR-chHBkNC-YsXLcLcBt4w-1; Fri, 03 Apr 2026 09:29:24 -0400 X-MC-Unique: OR-chHBkNC-YsXLcLcBt4w-1 X-Mimecast-MFC-AGG-ID: OR-chHBkNC-YsXLcLcBt4w_1775222963 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 860B01956089; Fri, 3 Apr 2026 13:29:23 +0000 (UTC) Received: from fedora (unknown [10.44.36.60]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 437F519560A6; Fri, 3 Apr 2026 13:29:20 +0000 (UTC) Received: by fedora (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Fri, 3 Apr 2026 15:29:23 +0200 (CEST) Date: Fri, 3 Apr 2026 15:29:19 +0200 From: Oleg Nesterov To: Kees Cook , Andy Lutomirski , Will Drewry Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] selftests/seccomp: Add hard-coded __NR_uretprobe for x86_64 Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 On 04/03, Oleg Nesterov wrote: > > This complements the commit 18f7686a1ce6 ("selftests/seccomp: > Add hard-coded __NR_uretprobe for x86_64"). Yes, and I forgot to change the subject line ;) Please ignore, will resend in reply to this email. Oleg. > Signed-off-by: Oleg Nesterov > --- > tools/testing/selftests/seccomp/seccomp_bpf.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/tools/testing/selftests/seccomp/seccomp_bpf.c b/tools/testing/selftests/seccomp/seccomp_bpf.c > index 32e2d4df397b..358b6c65e120 100644 > --- a/tools/testing/selftests/seccomp/seccomp_bpf.c > +++ b/tools/testing/selftests/seccomp/seccomp_bpf.c > @@ -170,6 +170,12 @@ struct seccomp_data { > # endif > #endif > > +#ifndef __NR_uprobe > +# if defined(__x86_64__) > +# define __NR_uprobe 336 > +# endif > +#endif > + > #ifndef SECCOMP_SET_MODE_STRICT > #define SECCOMP_SET_MODE_STRICT 0 > #endif > -- > 2.52.0 >