From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 397103290A5 for ; Fri, 10 Jul 2026 20:07:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783714030; cv=none; b=gxmtomapmgphOqS8Xkbf2ttPBembjQ/tUFSaB0tC47jN7MIlDCMeIbetUaBDbFvszhbBxHIS2R+Fj3fH+Qherqc466kNdEj/qpF5L1YAoK5zkCae6ix43WWuXBcEyK/tKqL9Q7HRZQPtJgkaDKFyb8TsrIDlU0diw0lMRnBrHHk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783714030; c=relaxed/simple; bh=NHeLZ2+KNh2Z6emckirbDq9YafEivHgxCHFq1UeQXhg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H6P+kU26jE2tof1zjHAjwqQpYUZMk9QViz7z4KHHWBvJwGgjb/cme6lo7OWxyCk064rxoAn6LMRHdO9oeu8mvPMZGTw2Ntj4leJLt2Ce8qFIh7Pk0+22J7pTPlyGOahY+wTfzQKIphk+I9OoCF4cOBhtljFobb17ZEW4bCii/k0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=u3k//Wtm; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="u3k//Wtm" Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2ccdf36f63dso25835ad.0 for ; Fri, 10 Jul 2026 13:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1783714028; x=1784318828; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=a3ShivHS7ipU/TTVmTr+NO3Mq0/3DMG68EURWnXMD6Y=; b=u3k//WtmSoHUCxRWWbrwUE0JdxeLZvcLHDij17K7m1Jxsr9rh/caLpPBtQ0h0gh35+ KJPQ7FbKFaVqRePXW86inIbCJvnKooNbGcBJT1MHV5hM2UHZtZWQdMjzlUb8FKSRBmqP bQt0T7M/zWV2dLKbs+6xySbXXwRvuAbm60PHdBmXNkp6A20MoUUxU71sSz4NSfLqu/p6 uxwtU10MV0YzjUyLHQ2b40BDP/4DLqbVT4ydBidcGi2PNbiIfPCiSSHvxlW14Y8obk3N DCWVmI9W2B9WS+yxNoq6t8Jxp2PbHZyZEbBWDcueTfrc70sEmNRGnQ8JO7vcxPEJ9i5/ TJtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783714028; x=1784318828; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=a3ShivHS7ipU/TTVmTr+NO3Mq0/3DMG68EURWnXMD6Y=; b=CGVuKNz7FLLi4EeHRjAPHlxcfDd78ibHNLmrz9++kEruf8CKuzZJrW8hHf9e1DHY+j wwtO5fX0YDmyocboos8LxSD7G6GBB65+EjcgaP+Qchzv5tBpxKeW5Vs9vmuxbpeEYkAk jL1okJ3/IjMes13GCm67xVWOt4kLv6lABXOi/+knuc7YUiDWQ5axQ2pBMrwDk4J4BqNp +LKzemyRPykWGbE+pGCKDti+bRzGe84C/p9qJmm3ISVAKcnHhxLzpfEUopS/E93Jc/7c 8Gmk9JyboLvxld/zqDfVqx7fcu6GPoep/OKTn2ELzP54F+U6RHtVLF1bRN6x0toYnLp/ RImg== X-Forwarded-Encrypted: i=1; AHgh+RqibEaTavEJEXWhnVXKkPwf1NqrqOgoQJ6TA+4lCyQA4Q+uvxkxE+v1L62KfuCTrQdzArUQ8SgUnIeSBAo=@vger.kernel.org X-Gm-Message-State: AOJu0YwSYu2htCjx9rJACzur9OHB0Khqyeh8CabQhhtWG5+wCBpztrJ3 5djJOS7zZgEzxJ7ro6gxiOMPWb6rdLHc3ECasWGNxVttTa2hLwf/JQj/WrLR0P2QVg== X-Gm-Gg: AfdE7clk6kZb9MI36HL/f+dn459t9veiwrztI7Y7BULhdkyCe89y+JJ5+xhF4as2ZLQ DkiK37E2Et26ArSWhJ3lb8lwetTT/oYgr+OkGZKsIuBecfkgwFYsgjLXK74H/R7SmzY9X3BLIFw MONZZCNAHOkPsYbK+gbt/Bnb0lYlx8zFILlZJZ3pqSNLbjYTwOUyMBqHqbHnaEeQve1jiJsjnBF 5Lpwdm2FUi0JMAlOPH6ke0OSybA2iWI8ZV5WCalpyK8Od5Ryg70LQ5trI1Wxpg+VU3zw36qjaAI hrEdKpA88fcOUDoUHGkJ04Y+pk7Onrdtt1l6N8MSG5krWI8SNI5f2WHZ2G2CPiaT1hD18YK8JHP 5jrZ6B7q6kww8mzVM+PDZvZN+ltL2dgHjXGfpG/cqTfG5nEWcyQAo0IoMXGFayg4JoDNCfy3QO8 WD3ndVOHFPPF/f7UuGeMZZj8hZh2iOp0ZYbPhOuGnKdXtIUlLoOS11QiYmq/m+1ZC2kVgDY32k+ Cqf1XnFo2bwuWXhs+YoGw0iCXTiDg8ET6e9dTeMyEAQqwg= X-Received: by 2002:a17:903:1b04:b0:2c7:b1e7:501e with SMTP id d9443c01a7336-2cea1d791f7mr132215ad.3.1783714028150; Fri, 10 Jul 2026 13:07:08 -0700 (PDT) Received: from google.com (112.174.16.34.bc.googleusercontent.com. [34.16.174.112]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-847f6db0eaasm10774675b3a.52.2026.07.10.13.07.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 13:07:06 -0700 (PDT) Date: Fri, 10 Jul 2026 20:07:01 +0000 From: Carlos Llamas To: jahnavimn@google.com Cc: Greg Kroah-Hartman , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Christian Brauner , Alice Ryhl , Miguel Ojeda , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , Daniel Almeida , Tamir Duberstein , Alexandre Courbot , Onur =?iso-8859-1?Q?=D6zkan?= , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Subject: Re: [PATCH v2 4/7] rust_binder: Implement BINDER_DEBUG_USER_ERROR for transaction parsing failures Message-ID: References: <20260710-rust_binder_debug_mask-v2-0-2846410e3ae6@google.com> <20260710-rust_binder_debug_mask-v2-4-2846410e3ae6@google.com> 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: <20260710-rust_binder_debug_mask-v2-4-2846410e3ae6@google.com> On Fri, Jul 10, 2026 at 02:32:55PM +0000, Jahnavi MN via B4 Relay wrote: > From: Jahnavi MN > > This adds dynamic debug logs in `thread.rs` for: > - File descriptor array (FDA) parent offset and parent buffer address > alignment misalignments. > - Memory copy, write, and translation failures during transaction > serialization (including out-of-bounds pointer fixups). > - Incoming transactions or replies that do not match the expected > thread calling stack (such as out-of-order replies). > > Signed-off-by: Jahnavi MN > --- LGTM, thanks! Reviewed-by: Carlos Llamas