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 8085C242D97 for ; Fri, 3 Jul 2026 15:54:31 +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=1783094073; cv=none; b=t9Z6N7gOch0oUpnW5i+eM6E7IU59x8V3ISlvuQ2f01Skij0kW/vPAxi9ff8p0J1h1iiPFfDsvyIW8nouxlzKoNDSeCkRB33YCICI0/ASMo26gBCW7vq0XtuBEnRBg8y0T2dlpgq/3Ft3ii61feAEBKNVgs+Pp6qSL6s6nOFs8qY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783094073; c=relaxed/simple; bh=w/u7r66JALxvNKBnL3wqvssxO0K/pD9EiMnP21R8Pq8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=d/9MuRlVZ67wYT6dNDJakCsv5wrs9bB8HgZSb0LX6PRsHI+K6fycYOlWrn4fVWUdSrTE4zFbn19WD1kXQPpfILKs++Ej7kux7WQJeynmWKbMs6bNmXuwvftwGibaZyXYeez7xhr3aBccz7K6VmRsfxa9NoTjWF3QkVwGEeCWTMo= 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=Xo67G0Ph; 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="Xo67G0Ph" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783094070; 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=w/u7r66JALxvNKBnL3wqvssxO0K/pD9EiMnP21R8Pq8=; b=Xo67G0PhQjzL4rUVvPqF+jmqFWq8w0aQOho9L98ahPEwpCbpoJ8PDCjcWb9SGQIsua1wEq TPp4lJvJ84bRgquuOk2uYT7oqJDa3PYX31RKylIsmB/cAV6FcZDSfiEcJYblNOmzVDvExD BvCN0K3mwsAOJ+sdBkw1KtyX9lvNQXY= Received: from mx-prod-mc-08.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-602-VIhRhNIINryo09IoqPP8Wg-1; Fri, 03 Jul 2026 11:54:25 -0400 X-MC-Unique: VIhRhNIINryo09IoqPP8Wg-1 X-Mimecast-MFC-AGG-ID: VIhRhNIINryo09IoqPP8Wg_1783094063 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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8E05118E3422; Fri, 3 Jul 2026 15:54:22 +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 70A3036F2E; Fri, 3 Jul 2026 15:54:19 +0000 (UTC) Received: by fedora (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Fri, 3 Jul 2026 17:54:22 +0200 (CEST) Date: Fri, 3 Jul 2026 17:54:18 +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: X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 On 07/03, Renzo Davoli wrote: > > On Fri, Jul 03, 2026 at 01:04:59PM +0200, Oleg Nesterov wrote: > > 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... > > I'll add this to V3 cover letter. [... snip ...] OK, but I'd suggest to add this to the changelog of the patch which adds PTRACE_SYSCALL_INFO_FLAG_SET_IP And in fact, I'd I also suggest to send 3-5 as a separate series... Oleg.