Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Austcool-Walker/a86477c79260277ce30ee645cdbfa94d to your computer and use it in GitHub Desktop.

Select an option

Save Austcool-Walker/a86477c79260277ce30ee645cdbfa94d to your computer and use it in GitHub Desktop.

Revisions

  1. @SaicharanKandukuri SaicharanKandukuri renamed this gist Apr 30, 2021. 1 changed file with 3 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,6 @@ echo 0 > ~/cap_last_cap
    proot-distro login ubuntu-18.04 --bind cap_last_cap:/proc/sys/kernel/cap_last_cap

    # for toolloa-termux with bionic
    toolloa login bionic --bind cap_last_cap:/proc/sys/kernel/cap_last_cap
    toolloa login bionic --bind cap_last_cap:/proc/sys/kernel/cap_last_cap

    # Remember dbus dosen't respond to all calls because of android dbus security policy
  2. @SaicharanKandukuri SaicharanKandukuri revised this gist Apr 30, 2021. 1 changed file with 9 additions and 2 deletions.
    11 changes: 9 additions & 2 deletions CAP_LAST_CAP dbus in termux
    Original file line number Diff line number Diff line change
    @@ -2,5 +2,12 @@

    # first creating a file with 0 inside file

    ```bash
    ```
    echo 0 > ~/cap_last_cap

    # Next step is to bind the file cap_last_cap to /proc/sys/kernel/cap_last_cap

    #for proot-distro with ubuntu-18.04 the command looks like
    proot-distro login ubuntu-18.04 --bind cap_last_cap:/proc/sys/kernel/cap_last_cap

    # for toolloa-termux with bionic
    toolloa login bionic --bind cap_last_cap:/proc/sys/kernel/cap_last_cap
  3. @SaicharanKandukuri SaicharanKandukuri created this gist Apr 30, 2021.
    6 changes: 6 additions & 0 deletions CAP_LAST_CAP dbus in termux
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # https://elixir.bootlin.com/linux/v4.3/ident/CAP_LAST_CAP

    # first creating a file with 0 inside file

    ```bash
    ```