microsoft / microsoft/WSL

Request for Inclusion of ashmem, binder, and memfd in the kernel for waydroid support

Open
#12,601 7 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature kconfig
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description


Feature Request: Add ashmem, binder, and memfd Support


Background

I wanna use Waydroid, which is an Android container designed for Wayland.

Issue

Waydroid depends on the ashmem and binder kernel modules. In the future, it will transition to using memfd. Most Linux distributions typically ship with ashmem and binder built into the kernel, but this is not the case with Microsoft’s implementation.

I have wrote a script that downloads the kernel, compiles the headers, and loads ashmem and binder. However, this setup tends to break every time i update my ubuntu or Microsoft updates underlying WSL.

Request

It would be greatly beneficial if you could consider adding for the following to the kernel by default it wont harm anybody but help a lot of us:

  • ashmem
  • binder
  • memfd (for future compatibility)

it is specially important now as support windows subsystem for android has stopped

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is named. Start by locating the WSL kernel configuration and build process, then verify the requirements for ashmem, binder, and memfd support; done would mean a maintainer-approved default kernel configuration that supports Waydroid without a custom rebuild.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.