From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 D98EC38F94C for ; Fri, 10 Jul 2026 19:56:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783713389; cv=none; b=ZmnxmBOarDYcMomfhN80HJPT5ch+CCIu0Io3SSwjiSGgofA3wHo48zM3F/eDON+0V7A3ZI2se99+9tFmww7Ph+DLJTffeeyaVwa2Z3PiZfGDSUoqmOSx4F8WUmOgL9XyE6pdKoIeHAY0vG/Pux73TZW12Y8WE9P2KXql5xQAedE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783713389; c=relaxed/simple; bh=qWzvlV7X3JEDaJvqOVxdiWvtWE06C6bVAA3DO3yG+Tk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=E3dX0I7vykCe3oJjW87te6mByZ1hNWqGa2Bo9yssjPjLQhkwt4qVmirPvkDJJEY5brncbOnJZhIBAuMoVWlKmIICHSNUm98NNyx74/YvXPIFbuS2ri1YYMZ4l2RTAiU3HGsB6ex1qFkLWTo+QaJbVTy/kU+Ngv+w0VdU9hFmheo= 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=UyBUo31O; arc=none smtp.client-ip=209.85.214.175 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="UyBUo31O" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2cacef7d299so475ad.1 for ; Fri, 10 Jul 2026 12:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1783713386; x=1784318186; 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=mWYZ9D/LgjNHZE1ttPflKV1ra6LWo0KS2YE/FLfB05o=; b=UyBUo31OVhAqIEJUzbn+7KfYvf7mKn0SvLj+yeaMm4JIVHpAvhypNW5NefPogeO48z tvk57iudeSSZE7N9jSrQFC025xdap8VLNpn8/ZGZBUoKGjLvEMwLiBkc4Gg45pEueJzn aMTzivpoW+tGc/RxIktjXcYscnAd/e2YxuANcwi1PraZx0FKmsNctKU/QZ4ExCAGsIN4 h2RDIcSYwh2rQ30ffQDcYNkkJB2n6xmREeBDeiRzHvdcMWsiPk2vcskY/ZRJWrpAD8S/ obJioQDBzFCFBD82Rlr1STAr8+qS8+H841zuxDuPyViceVUkxVfuA67ZbawXC4BQgqeM Sy9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783713386; x=1784318186; 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=mWYZ9D/LgjNHZE1ttPflKV1ra6LWo0KS2YE/FLfB05o=; b=Kl7/sAQAApYYHnWEwWnCFrZDQcolmbROvevCmsmGT4Nidi6x/RFX5f/W7RQCUxaxnM GOilSNYDoVuJttyxfx0RX+uAQ8QSBoAPGgmwOEK98sv8Z3cRaO/CvKxEVwf8pe8JHUUD gYay4idOxYrI6hAXQ/9HYb3dPIpwzCq0F5OkUjsN+MZ7GiAZ2eeyZeWD0hX+qE25JAok D5XkcEnrRSc+BFmRLQWQVLsnbO3WAXtYTxxAIYUIgXW40YbJl1A1bTH1CtzzbXdhhRWU Z6GRcRnhLncvG1QBehonMimuxjwz3wq6K649BBzqvy9sixK7BJmDVOGp1AdSnUoPijLV FkWA== X-Forwarded-Encrypted: i=1; AHgh+RpvxpaM3aIkloouXBNkPJCm8tGTwzo5ROaSOEsPNwuEmcVy5De37j8BRt6Vb4NgGGHKkzLU5EczwOYmAjA=@vger.kernel.org X-Gm-Message-State: AOJu0YwosOs9PRmVeYNElHZKavwnHuINZagswPLCX//5GcFXasIK5ijg dExcMzj10xNq5iEuh+F6dlsKFEXo2SFem+xBBUyFM95m/mm/57kk7RDQChEHDrgBtg== X-Gm-Gg: AfdE7cmuBozlrZWVxZP5TBvOuQK8kGS1NmfjskuuS8cvzCGicZ74l38S8MncM5hOPlx VFTBQjoII/UHt8U1Ijsjjv4wvkkASjxYtMbW5ZZYXCFZlM0tFEWm+R9HVUkJj6aqd8p1gfEKlFS FxrLCWXUaH721lFflagmtxtkda/y2/VR3IVbg/ETDbrGMGiCXU+N073iO1HFjQniie4jRU3DXmy a+3LJMt8JjVLgV8IkDokOHWDku6u+6s227+wo919g4z3FmOaahQS+hqLPEFjfCAdl2LMBfwLue5 dKslVOI4MXY3mOG8QAJzNEA4eYp7CXzgaYpaew16PZ4EcZdelg+e5cXf24FyznY1JSr6IWfeh8R RDXWfnQ1yU0R5n85aT4DdJr59s1l8U5/IiBgSUXA4TKbVS5T6McRC0g72FHCuuh+OVJxhY/BjpB f1bPYUVQWr3RwMaexLKUCgzZJMp5GKbJsBH7+VRUhz2sNU5mt40bosS/aqOWEbqTpyV22CHhXvO +1MXv+SiAujKwKOc4QCr4i4YR6x7LkHl7h567RueH0oCaI= X-Received: by 2002:a17:903:2a85:b0:2c9:d89f:fd98 with SMTP id d9443c01a7336-2cea1d79204mr127125ad.1.1783713385675; Fri, 10 Jul 2026 12:56:25 -0700 (PDT) Received: from google.com (112.174.16.34.bc.googleusercontent.com. [34.16.174.112]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ccc9bf8c12sm64919605ad.26.2026.07.10.12.56.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2026 12:56:24 -0700 (PDT) Date: Fri, 10 Jul 2026 19:56:20 +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 3/7] rust_binder: Implement BINDER_DEBUG_USER_ERROR for refcounting and death notifications Message-ID: References: <20260710-rust_binder_debug_mask-v2-0-2846410e3ae6@google.com> <20260710-rust_binder_debug_mask-v2-3-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-3-2846410e3ae6@google.com> On Fri, Jul 10, 2026 at 02:32:54PM +0000, Jahnavi MN via B4 Relay wrote: > From: Jahnavi MN > > This adds dynamic debug logs for: > - Decrementing handle reference counts that are already zero. > - Mismatched reference states (calling inc_ref_done with no active > inc_refs, or using a weak reference as a strong reference). > - Requesting or clearing death notifications on invalid references, > already active notifications, or with mismatched cookies. > > Signed-off-by: Jahnavi MN > --- LGTM, thanks! Reviewed-by: Carlos Llamas