Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Multiple module system implementation support #929

Open
Ylarod opened this issue Sep 2, 2023 · 0 comments · May be fixed by #1034
Open

[FR] Multiple module system implementation support #929

Ylarod opened this issue Sep 2, 2023 · 0 comments · May be fixed by #1034
Assignees
Labels
enhancement New feature or request

Comments

@Ylarod
Copy link
Collaborator

Ylarod commented Sep 2, 2023

Describe your problem.

Goal

Support multiple module system implementations, like overlayfs and bind mount.

Details

Current functions of ksud:

KernelSU userspace cli

Usage: ksud <COMMAND>

Commands:
  module          Manage KernelSU modules
  post-fs-data    Trigger `post-fs-data` event
  services        Trigger `service` event
  boot-completed  Trigger `boot-complete` event
  install         Install KernelSU userspace component to system
  sepolicy        SELinux policy Patch tool
  profile         Manage App Profiles
  debug           For developers
  help            Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version


-------------------------------------------------------------------------

KernelSU

Usage: su [options] [-] [user [argument...]]

Options:
    -c, --command COMMAND
                        pass COMMAND to the invoked shell
    -h, --help          display this help message and exit
    -l, --login         pretend the shell to be a login shell
    -p, --preserve-environment
                        preserve the entire environment
    -s, --shell         use SHELL instead of the default /system/bin/sh
    -v, --version       display version number and exit
    -V                  display version code and exit
    -M, --mount-master  force run in the global mount namespace
  1. Decouple the module system and the boot stages.
  2. Split KSU's current module system to a standalone binary
  3. Embed new ksud to the kernel
  4. Customize Magisk's module system to adapt KSU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant