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 08ED9318EDA for ; Fri, 3 Jul 2026 11:05:10 +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=1783076712; cv=none; b=W5b8X3OgF6n361rQDCEP8nEGBOXZyVY8OLqQGhBEh73/Sr5YW0TPgYyjUSOTx/KtmaO4EiBl5Ez+Ga4pRaPiGsUCKv7vBP2i2c6fsEJTxzpJgQuKXuOsJ1prxfAt+lNYbbc9BD0uG67vpDuJ35GcOgLdu8MVvteZBEPV6A6mZEE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783076712; c=relaxed/simple; bh=eXmjb/O5lwM97xKRb7/5QeQ9W9Fmap0xrn75Ygbmtm0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=plh1a7xICDYl+io3fOzya0nNk4a+VRwZfEl+wsivMEp9DoA9EDam2V2pyeUbWsxzvp5S2ZVdnsa08rn0G0+xATBC8fAn6pM9jIkGgLLpD1XB02YLScldcFiz8csUi7M0/TQDz7PzykkpoqWgDISMtQZwg8dQxjZ1hP7ooAIY8o8= 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=LkYgt8ob; 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="LkYgt8ob" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783076710; 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=eXmjb/O5lwM97xKRb7/5QeQ9W9Fmap0xrn75Ygbmtm0=; b=LkYgt8obf7XHUa2USLE87PxZuNbWF/3WKzRd/vxRJ4yK/SD2vRIYRw5TD61A6275EnB4Fe qzpaA2QDGDgkZHZRAZyOT5VXnqSoumSu8q/R+UJRj9u3RJHXwCt7kYC6L735fTljWORWK4 ZQ5oWiPRzUi2sm4cLlz1+Y7YowN2+DU= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-447-qrPMO8pPOE-GxlfziXGejQ-1; Fri, 03 Jul 2026 07:05:06 -0400 X-MC-Unique: qrPMO8pPOE-GxlfziXGejQ-1 X-Mimecast-MFC-AGG-ID: qrPMO8pPOE-GxlfziXGejQ_1783076704 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 80DCE1873C1A; Fri, 3 Jul 2026 11:05:04 +0000 (UTC) Received: from fedora (unknown [10.44.32.112]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 1E19236F29; Fri, 3 Jul 2026 11:05:00 +0000 (UTC) Received: by fedora (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Fri, 3 Jul 2026 13:05:04 +0200 (CEST) Date: Fri, 3 Jul 2026 13:04:59 +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 4/5] ptrace: add PTRACE_SYSCALL_INFO_FLAG_SET_IP Message-ID: References: <20260703105027.539399-1-renzo@cs.unibo.it> <20260703105027.539399-5-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-5-renzo@cs.unibo.it> X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 On 07/03, Renzo Davoli wrote: > > This flag adds support for modifying the tracee's instruction pointer. > > To do this, the tracer stores the new instruction pointer value in the > instruction_pointer field of the ptrace_syscall_info structure and > sets the PTRACE_SYSCALL_INFO_FLAG_SET_IP flag in the flags field. But why? Who will use this feature and for what? How often? I think the changelog should be more convincing... Oleg.