top | item 38130207

(no title)

goodthenandnow | 2 years ago

> Could I theoretically use it in my linux program just like any other IPC mechanism?

Yes, absolutely.

However, binder is implemented as a kernel module not enabled by default, so it depends on the build time configuration of your system's target kernel (eg., your distro's).

That given, it's important to note that the binder driver/module is just one piece of a greater framework and it's raw IPC features aren't as simple to use as SysV or POSIX's. For example, it requires a userspace process called context (or service) manager. Android has 3 different binder device instances and it builds a big framework on top of them wiring things like an interface definition language (AIDL), a set of libraries and SELinux permissions.

discuss

order

No comments yet.