Adaway only needs the following permissions to work properly: DAC_OVERRIDE, SYS_PTRACE. Note: [systemless hosts kernelsu module](https://github.com/symbuzzer/systemless-hosts-KernelSU-module) needs to be installed, to add support. This PR only addresses the minimal permission requirements of Adaway to let it modify hosts file.
25 lines
828 B
Plaintext
25 lines
828 B
Plaintext
{
|
|
"id":"adaway.root",
|
|
"name":"Adaway Root",
|
|
"author":"JohnRTitor",
|
|
"description":"Only essential permissions to let Adaway modify hosts file and operate a web server.",
|
|
"uid":0,
|
|
"gid":0,
|
|
"groups":[
|
|
"ROOT"
|
|
],
|
|
"capabilities":[
|
|
"CAP_DAC_OVERRIDE",
|
|
"CAP_NET_BIND_SERVICE",
|
|
"CAP_SYS_PTRACE"
|
|
],
|
|
"context":"u:r:su:s0",
|
|
"namespace":"INHERITED",
|
|
"locales": {
|
|
"bn": {
|
|
"name": "অ্যাডঅ্যাওয়ে রুট",
|
|
"description":"অ্যাডঅ্যাওয়ে সিস্টেমের হোস্ট ফাইল পরিবর্তন এবং ওয়েবসার্ভার চালু করতে কমপক্ষে যা অনুমতি লাগে।"
|
|
}
|
|
}
|
|
}
|