mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 18:45:28 +00:00
Delete README.txt
This commit is contained in:
parent
32d2df0f08
commit
6ff45a754d
28
README.txt
28
README.txt
@ -1,28 +0,0 @@
|
||||
Injects allow rules into binary SELinux kernel policies
|
||||
|
||||
Injecting a rule:
|
||||
$ ./sepolicy-inject -s shell -t system -c file -p read -P sepolicy
|
||||
|
||||
Injecting multiple permissions:
|
||||
$ ./sepolicy-inject -s shell -t system -c file -p read,write,open -P sepolicy
|
||||
|
||||
Add a type_attribute to a domain:
|
||||
$ ./sepolicy-inject -s su -a mlstrustedsubject -P sepolicy
|
||||
|
||||
Injecting a permissive domain:
|
||||
$ ./sepolicy-inject -Z shell -P sepolicy
|
||||
|
||||
Change a permissive domain to non-permissive:
|
||||
$ ./sepolicy-inject -z shell -P sepolicy
|
||||
|
||||
Test a SELinux type exists:
|
||||
$ ./sepolicy-inject -e -s shell -P sepolicy
|
||||
|
||||
Test a SELinux class exists:
|
||||
$ ./sepolicy-inject -e -c service_manager -P sepolicy
|
||||
|
||||
Add a transition:
|
||||
$ ./sepolicy-inject -s su_daemon -f device -c file -t su_device -P sepolicy
|
||||
|
||||
Add a filename transition:
|
||||
$ ./sepolicy-inject -s su_daemon -f device -c file -g "socket" -t su_device -P sepolicy
|
Loading…
Reference in New Issue
Block a user