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 91C6F379C2F for ; Tue, 7 Jul 2026 16:36:06 +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=1783442167; cv=none; b=UZycSKoMTPKUZGSLvchmTpCcztJ1qV+iGXz/n8gDAiDPRCLumAPl+c+qvfCuS4DOjNTORa3WJzAPIhyNDC3IJmtl+r/6HjhrKhhYJ6J/vWm9HaP/yJ06XmmxIe1BYhze6Ckx5+yj91lDwTBIXxKIp+W3nJpBwJjxPBDwCOMvuNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783442167; c=relaxed/simple; bh=mi1Pu6IDIngYMkcXyp1NS18Sq0rUtbVccI1sYYnRfos=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bbsZqdoqsr5RAYRwmEV4Dzc0N40mnq55f3Fs+kBBlK60+7JZYfyIR3tpJkhUCiTpRNAKF2d0mtpmRStE4RU3GZa6RHgsn3yPhEsR9IvEPeC3HnR7Q89E2UavucnAwz3EvmrWTL3v5JWqPZKYM4ntnnbG7s5mStkLo8MXjQwqrCw= 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=SFDkRL96; 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="SFDkRL96" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783442165; 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=ooMmjMUIwD/2EZFyCLK+NrJY+XX6tr1E72A1cY4Bf/I=; b=SFDkRL96NOW1PrKUvJ09yn86YemfdJcDyU1dgdCSKa6G7RB4B0zIJcGsCmH4tvMhgz3lxG eCVSU/mTbbIKWYhk16t/IQv5o95lGB9GDEXInIo7sCnq2TmuZka2+h0FG8hVycu1nDPMiM h2PA3Ix+Vs4JsO/3xyjJdURIT3LS0nA= 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-108-M3Xrtq05N4OGQTEtGdeChw-1; Tue, 07 Jul 2026 12:36:00 -0400 X-MC-Unique: M3Xrtq05N4OGQTEtGdeChw-1 X-Mimecast-MFC-AGG-ID: M3Xrtq05N4OGQTEtGdeChw_1783442157 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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 CE840195399E; Tue, 7 Jul 2026 16:35:56 +0000 (UTC) Received: from fedora (unknown [10.44.33.83]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 3F5C61955F1C; Tue, 7 Jul 2026 16:35:52 +0000 (UTC) Received: by fedora (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Tue, 7 Jul 2026 18:35:56 +0200 (CEST) Date: Tue, 7 Jul 2026 18:35:51 +0200 From: Oleg Nesterov To: Renzo Davoli , "Dmitry V . Levin" Cc: linux-kernel@vger.kernel.org, Andrew Morton , Shuah Khan , Alexey Gladkov , Eugene Syromyatnikov , Mike Frysinger , Davide Berardi , strace-devel@lists.strace.io Subject: Re: [PATCH v3 1/2] ptrace: PTRACE_SET_SYSCALL_INFO syscall skipping support Message-ID: References: <20260707112107.920752-1-renzo@cs.unibo.it> <20260707112107.920752-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: <20260707112107.920752-2-renzo@cs.unibo.it> X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 On 07/07, Renzo Davoli wrote: > > + child_op = ptrace_get_syscall_info_op(child); > + if (child_op != info.op) { > + if (info.op == PTRACE_SYSCALL_INFO_EXIT && > + child_op == PTRACE_SYSCALL_INFO_SECCOMP) > + skip_syscall = true; > + else > + return -EINVAL; OK, I have to agree, we can't allow _ENTRY -> _EXIT transition right now. Signed-off-by: Oleg Nesterov --------------------------------------------------------------------------- Hopefully we can allow _ENTRY -> _EXIT later, when/if we have some help from arch/ maintainers. Although I think that the much more likely case is when Dmitry who understands _every_ arch/ will have time/motivation to make the neccessary changes ;) Hmm... but you removed him from CC list, please don't do this. Add him back. And... As I said, I agree with any naming. But somehow I don't like "child_op". Again, I won't argue, but if you will have any reason to send V4, please think about something else. "reported_op" or just "op". To me "child_op" looks a bit confusing, but this is minor/subjective, feel free to ignore. Oleg.