From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f74.google.com (mail-wm1-f74.google.com [209.85.128.74]) (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 C35663A961E for ; Thu, 5 Feb 2026 10:51:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770288702; cv=none; b=ZYH978P4v+pVIQh/04BAd4LusC0CT29Phn7X31yAsHUmBiHPkhCizsm3xH41pRPrda7VAbSu+BOz+q+Prr/hX/rucqnBxy2GMRdgpHREHEfWPUWvkd+dOFEdocjmx7DuGpTcsrhIslToNwIGv3nzSp28J2CAHD09mWa7Mb2/YJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770288702; c=relaxed/simple; bh=B35AnR3cY3KY+ESrYf5USuFHaMGr2T6vQRpPugNJCz4=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=nlCaILkIjSfmEtNyTMgVESGgEygKsI8ls4/P35jFNYE5xRacknhHmdHO7MU+jKDFtL70j06aEq+mtzGxWBXrWB47AKi4dZe3j7i401ucebTGMepm467kWqTAhqLtelTJMWJ4XioK91nQyl7el1sD5BBsVbaZ4D1oPDnEwf0x27c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=MAy8eM2R; arc=none smtp.client-ip=209.85.128.74 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=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="MAy8eM2R" Received: by mail-wm1-f74.google.com with SMTP id 5b1f17b1804b1-4804157a3c9so9905005e9.1 for ; Thu, 05 Feb 2026 02:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1770288700; x=1770893500; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=VLcYGJKdfae0UDgu1rmn9Sa9RDtDWULKl4q8DTm9pQw=; b=MAy8eM2RokUD5JOpA3xB74t66AdGcTUdWVvPu8Q3XelUjyVlYFjhSfcReYOy9d+E6W da5+by2xB71j2T6tJtw921850xMi7vGgTXyOcP0jrAS6DNVFE/+8Z/gz3KLOZzGqPrCP rhsKxOp276uKOkpCsWtcovYk9unQzrtKbKB9PjCNLPTd/bSDCIFF2dNEzhrW09lrIFvT sOiMtLs/lAxX9eMC28MKlrRjQ6JPEbmMsogOjGusCejlnrj+h6gq2ldn4QSnFCHTL4CH AWc0OCyFjpejhpvYf5VSYiqGzLmOHXkgS1nW0mlkqc/cgyobZb64a1zfFJUJjMX8Bi2T hesg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770288700; x=1770893500; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VLcYGJKdfae0UDgu1rmn9Sa9RDtDWULKl4q8DTm9pQw=; b=sgLwbYr4UN8tPH1lrV/Bi7pLNmWcYzfrKDwUXHKihqARLEpPAQhJdbZSR2Bw+y1y2/ tHmvPvuJ7/jWAfjxZZlgUQzkI382uR76dQJ/vmLhsu83b5ZEUBUJx59xjFIEpuDuBFH3 Aq59pwkfGO2gOBpTnW/ws8Jamt5v848GiL5x4osAWPxFl+llXPCscWhHYA7TkEXOojeh s9JpJUpEuKgCiOTdxJ4KjIpYt7LCa0F3Omdu0xFMyEew6KvY4W0lsVRdP0XOu5ydCxtz t+02XnXgpQC+iV+JzRk2tAnNTw/itG4bdu5g/H8qNkWv1KwKoXkZXwap/T0OueHcXRUI IjzQ== X-Forwarded-Encrypted: i=1; AJvYcCWkx9svXWXZOZ4+ews6+2NYAsBTXWkxa3BziWcLu+ywEXqQ7jwAvFV6PcpVdpEENxLuROWDb/A/F4PRa28=@vger.kernel.org X-Gm-Message-State: AOJu0YwzBlTR0XUAI0UP+IK4B122NPDNS8yuh0H4MywcZRnFQfuXS1ZC i2XsIUg/Vpm8nReWVNoOyOgJIZbiq8q/luUwmExRAnvI2SAm597S8ARO175nIKsFkTBVmQDileU XlecjUocYHZyBYzSmoQ== X-Received: from wruy11.prod.google.com ([2002:a5d:620b:0:b0:435:ab2d:c11b]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:5295:b0:477:58af:a91d with SMTP id 5b1f17b1804b1-4830e92c9c2mr72417905e9.5.1770288700302; Thu, 05 Feb 2026 02:51:40 -0800 (PST) Date: Thu, 05 Feb 2026 10:51:25 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAC52hGkC/x3MMQqAMAxA0atIZgttEEWvIg6xjZqlSlpEKN7d4 viG/wskVuEEU1NA+ZYkZ6xwbQP+oLizkVANaLG3aDuzSgysJqukTJnNgCN5i46CJ6jVpbzJ8x/ n5X0/Pk2sgGEAAAA= X-Change-Id: 20260204-binder-tristate-729ac021adca X-Developer-Key: i=aliceryhl@google.com; a=openpgp; fpr=49F6C1FAA74960F43A5B86A1EE7A392FDE96209F X-Developer-Signature: v=1; a=openpgp-sha256; l=1462; i=aliceryhl@google.com; h=from:subject:message-id; bh=B35AnR3cY3KY+ESrYf5USuFHaMGr2T6vQRpPugNJCz4=; b=owEBbQKS/ZANAwAKAQRYvu5YxjlGAcsmYgBphHYzrqBA5nhRZndl3zcRt9KeGBwaoiOcP+yXj cTUEYoiB1yJAjMEAAEKAB0WIQSDkqKUTWQHCvFIvbIEWL7uWMY5RgUCaYR2MwAKCRAEWL7uWMY5 RibnD/9j3gbFLogRDIYf1C8LWr+gvE5LRxKD7sfVosY6d9Ys7W4CkF0F6hQYUFD/U6wpvqT0ok3 9z7p1wFNskyBGJ+JfAGI6EwJh4sQwT/KKX/W6/Q7IE2wDDj0TsVO9osUl7hdEuh3UXRFikyHQds xHKx/OiS3SGuGA1o7RtHGAdWpNnRX4Gt55C9nwh4DKWBnqVO+WpDL8B/y0TZ9DclhJrukb9BRvn /QpX/9TRHlU15ACrIGJcOWsm7ebc4w0GWH/zGhg6cqNpJxp1b04N7DzeCnQOZXqYbWyYBYmPWLF ZDAqOvBrhXwq7ucLR6QsSL2zZ2k3JaCtpgSMJPOxbCo81CLXSFOyeuTUw5kQSx5n1ral7Jsaifd MKcD+a58cZ6rBJjC68hOa8ZRdwzE6OappKRRrJqoPLIvB6scsZ8aDkLXRoI85EVcSQEj1aDPlBQ bq55rH0uAncExMiB5V+337URq0Y8dwo2ey6Sr4n/FPOdAhU4tcBu0nt8zvSyhY5w02CGfx+oJv/ 6JWrJUVkzPignN27tKv6rqSXBnTyAy3qw2xb5J7cAW34wJIslC24jarb2/X9T0115pKoM7mzUr/ HoU7eNSRHawmAT2CoExCy9WOXks3DLTBu+pUXzK0ul6an10l1wEA19p4D/F62pEImvUIFcbbjWD 3qVK2o2UeRXk75Q== X-Mailer: b4 0.14.2 Message-ID: <20260205-binder-tristate-v1-0-dfc947c35d35@google.com> Subject: [PATCH 0/5] Make Rust Binder build as a module From: Alice Ryhl To: Greg Kroah-Hartman , Carlos Llamas Cc: Alexander Viro , Christian Brauner , Jan Kara , Paul Moore , James Morris , "Serge E. Hallyn" , Andrew Morton , Dave Chinner , Qi Zheng , Roman Gushchin , Muchun Song , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Miguel Ojeda , Boqun Feng , Gary Guo , "=?utf-8?q?Bj=C3=B6rn_Roy_Baron?=" , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , kernel-team@android.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-mm@kvack.org, rust-for-linux@vger.kernel.org, Alice Ryhl Content-Type: text/plain; charset="utf-8" Currently Binder only builds as built-in module, but in downstream Android branches we update the build system to make Rust Binder buildable as a module. The same situation applies to distros, as there are many distros that enable Binder for support of apps such as waydroid, which would benefit from the ability to build Binder as a module. Note that although the situation in Android may be temporary - once we no longer have a C implementation, it makes sense for Rust Binder to be built-in. But that will both take a while, and in any case, distros enabling Binder will benefit from it being a module even if Android goes back to built-in. Signed-off-by: Alice Ryhl --- Alice Ryhl (5): export file_close_fd and task_work_add security: export binder symbols mm: export zap_page_range_single and list_lru_add/del ipc: export init_ipc_ns and put_ipc_ns rust_binder: mark ANDROID_BINDER_IPC_RUST tristate drivers/android/Kconfig | 2 +- fs/file.c | 1 + ipc/msgutil.c | 1 + ipc/namespace.c | 1 + kernel/task_work.c | 1 + mm/list_lru.c | 2 ++ mm/memory.c | 1 + security/security.c | 4 ++++ 8 files changed, 12 insertions(+), 1 deletion(-) --- base-commit: 4df29fb5bcebeea28b29386dec18355949512ca1 change-id: 20260204-binder-tristate-729ac021adca Best regards, -- Alice Ryhl