Crates.io | rsbinder-tools |
lib.rs | rsbinder-tools |
version | 0.2.4 |
source | src |
created_at | 2024-02-15 12:56:17.245529 |
updated_at | 2024-09-30 23:50:30.787789 |
description | This provides a few CLI binder tools for Linux. |
homepage | https://hiking90.github.io/rsbinder-book/ |
repository | https://github.com/hiking90/rsbinder/rsbinder-tools |
max_upload_size | |
id | 1141082 |
size | 51,108 |
This crate provides CLI tools for Linux. While Android has several tools prepared for binder IPC, additional tools are required to use Binder IPC in Linux.
This is a utility that helps with the initialization of the Linux binder environment.
The following command creates the /dev/binderfs/binder device file, and the user can specify the file name.
$ sudo target/debug/rsb_device binder
rsb_device uses the binderfs feature of kernel to create a new binder device file. rsb_device requires root privileges and performs the following tasks:
For detailed technical information, refer to the Linux kernel documentation.
rsb_hub is a tool designed to replace Android's service_manager.
It is implemented using the Service APIs provided by the crate rsbinder_hub. The Client APIs offered by crate rsbinder_hub facilitate communication with rsb_hub, allowing for the registration of new services and the discovery and management of existing services.