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.129.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 6B5012EB874 for ; Fri, 3 Jul 2026 11:48:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783079314; cv=none; b=c7NLqkSvTt3h0uiBTYdVlNjLZaBCCAWKqA1trnidt6oUJhwRFFee1+N2njXTexre6fqYM/difkLHTOiDI+2dyo4G/BczbMpS3CSzoiZCvySGO2bVUkHdPR6mkBOXhO2r77TJe+uG3+nBOAyxRpXrzdXMK+veH1/LTjIGdvp67tc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783079314; c=relaxed/simple; bh=my/BmHmbugLJ4b/Yj2wsku284uKxeGlJFxxqr0wSqUY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sWNXX/cE6mRH1KnyFfnFve8fcZpuZPjw3jMK7DOeU0Abm6jtq0T/R+3p9ZNZ30SruY3h5xM96kOHZ//4ICdJGECZ+AdDE9kHywE1VPeCIyXgp52MQTvJz4vKuB+yGMwzUczUbbsZh7KtNPRaAmwbtsOUnQUbxdyNmbWARPfEgRk= 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=LQ+ojkTl; arc=none smtp.client-ip=170.10.129.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="LQ+ojkTl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783079312; 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=OLn0LNHw367KPkjskLpSF40OBfCbNzBrYSQz2lVXKdo=; b=LQ+ojkTlHMzMR0J3eMRTwnCivV7oDHa2TbljBlCHgcEGf4rWyF1qTYkOGEAW/vs3WXhHKm XgN4quoBL6/C2kHAbFiSzQUIQiT9RfwCTKESTpOdNmEfxVx/9OR2IGwIxjtan6G34QY0n7 MRP1Z2gwxb6fmTUKr1bRsWcOQKINkiI= Received: from mx-prod-mc-03.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-695-NEE2AGhfMFqYoVfJtZlcIA-1; Fri, 03 Jul 2026 07:48:29 -0400 X-MC-Unique: NEE2AGhfMFqYoVfJtZlcIA-1 X-Mimecast-MFC-AGG-ID: NEE2AGhfMFqYoVfJtZlcIA_1783079307 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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0AE691944F04; Fri, 3 Jul 2026 11:48:27 +0000 (UTC) Received: from fedora (unknown [10.44.32.112]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 9CAD11944DFC; Fri, 3 Jul 2026 11:48:23 +0000 (UTC) Received: by fedora (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Fri, 3 Jul 2026 13:48:26 +0200 (CEST) Date: Fri, 3 Jul 2026 13:48:22 +0200 From: Oleg Nesterov To: Renzo Davoli Cc: linux-kernel@vger.kernel.org, Andrew Morton , Shuah Khan , Alexey Gladkov , Eugene Syromyatnikov , Davide Berardi , strace-devel@lists.strace.io, "Dmitry V . Levin" Subject: Re: [PATCH v2 1/5] ptrace: PTRACE_SET_SYSCALL_INFO syscall skipping support Message-ID: References: <20260703105027.539399-1-renzo@cs.unibo.it> <20260703105027.539399-2-renzo@cs.unibo.it> 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: <20260703105027.539399-2-renzo@cs.unibo.it> X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 On 07/03, Renzo Davoli wrote: > > @@ -1125,6 +1128,7 @@ ptrace_set_syscall_info(struct task_struct *child, unsigned long user_size, > { > struct pt_regs *regs = task_pt_regs(child); > struct ptrace_syscall_info info; > + bool skip_syscall; bool skip_syscall = false; otherwise not initialized when ptrace_get_syscall_info_op() == info.op Oleg.