mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-17 21:52:02 +00:00
Update magiskpolicy
- Generalize avtab node extraction and insertion - Add new supported rules: type_change, type_member - Update help message with official policy language
This commit is contained in:
@@ -21,12 +21,12 @@ extern policydb_t *policydb;
|
||||
// sepolicy manipulation functions
|
||||
int create_domain(const char *d);
|
||||
int set_domain_state(const char *s, int state);
|
||||
int add_transition(const char *s, const char *t, const char *c, const char *d);
|
||||
int add_file_transition(const char *s, const char *t, const char *c, const char *d,
|
||||
const char *filename);
|
||||
const char *o);
|
||||
int add_typeattribute(const char *domainS, const char *attr);
|
||||
int add_rule(const char *s, const char *t, const char *c, const char *p, int effect, int n);
|
||||
int add_xperm_rule(const char *s, const char *t, const char *c, const char *range, int effect, int n);
|
||||
int add_type_rule(const char *s, const char *t, const char *c, const char *d, int effect);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
Reference in New Issue
Block a user