Searched refs:isattr (Results 1 – 2 of 2) sorted by relevance
/external/selinux/checkpolicy/ |
D | module_compiler.c | 253 static int create_role(uint32_t scope, unsigned char isattr, role_datum_t **role, char **key) in create_role() argument 262 isattr = isattr ? ROLE_ATTRIB : ROLE_ROLE; in create_role() 277 datum->flavor = isattr; in create_role() 296 if (*role && (isattr != (*role)->flavor)) { in create_role() 316 role_datum_t *declare_role(unsigned char isattr) in declare_role() argument 324 ret = create_role(SCOPE_DECL, isattr, &role, &key); in declare_role() 388 static int create_type(uint32_t scope, unsigned char isattr, type_datum_t **type) in create_type() argument 396 isattr = isattr ? TYPE_ATTRIB : TYPE_TYPE; in create_type() 417 datum->flavor = isattr; in create_type() 432 if (*type && (isattr != (*type)->flavor)) { in create_type() [all …]
|
D | module_compiler.h | 33 role_datum_t *declare_role(unsigned char isattr); 34 type_datum_t *declare_type(unsigned char primary, unsigned char isattr); 37 type_datum_t *get_local_type(char *id, uint32_t value, unsigned char isattr); 38 role_datum_t *get_local_role(char *id, uint32_t value, unsigned char isattr);
|