/external/selinux/libsepol/tests/policies/test-hooks/ |
H A D | module_add_role_allow_trans.conf | 5 role role_a_1; 6 role role_a_2; 7 role role_t_1; 8 role role_t_2;
|
H A D | module_add_symbols.conf | 7 role role_add_1;
|
/external/selinux/libselinux/include/selinux/ |
H A D | get_default_type.h | 2 * for functions to get the default type for a role 15 /* Get the default type (domain) for 'role' and set 'type' to refer to it. 18 int get_default_type(const char *role, char **type);
|
H A D | get_context_list.h | 49 that has the specified role. If no reachable context exists 50 for the user with that role, then return -1. */ 52 const char *role, 57 that has the specified role and level. If no reachable context exists 58 for the user with that role, then return -1. */ 61 const char *role,
|
/external/selinux/libsepol/tests/policies/test-expander/ |
H A D | role-module.conf | 5 role role_check_1; 9 role role_check_1 types role_check_1_2_t;
|
/external/guava/guava/src/com/google/common/math/ |
H A D | MathPreconditions.java | 30 static int checkPositive(@Nullable String role, int x) { argument 32 throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); 37 static long checkPositive(@Nullable String role, long x) { argument 39 throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); 44 static BigInteger checkPositive(@Nullable String role, BigInteger x) { argument 46 throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); 51 static int checkNonNegative(@Nullable String role, int x) { argument 53 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0"); 58 static long checkNonNegative(@Nullable String role, long x) { argument 60 throw new IllegalArgumentException(role 65 checkNonNegative(@ullable String role, BigInteger x) argument 72 checkNonNegative(@ullable String role, double x) argument [all...] |
/external/selinux/libsepol/tests/policies/test-deps/ |
H A D | modreq-role-global.conf | 4 role role_req_r, user_r; 11 # role role_req_r types a_t;
|
H A D | modreq-role-opt.conf | 12 role role_req_r, user_r;
|
H A D | module.conf | 7 role system_r; 13 role system_r types new_t;
|
/external/selinux/libsepol/tests/policies/test-linker/ |
H A D | module1.conf | 6 role g_b_role_2; 21 #add role in module test 22 role g_m1_role_1; 23 role g_m1_role_1 types g_m1_type_1; 40 #add type to base role test 41 role g_b_role_2 types g_m1_type_1; 42 role g_b_role_3; 43 role g_b_role_3 types g_m1_type_2; 45 #add type to base optional role test 46 role o1_b_role_ [all...] |
H A D | module2.conf | 15 role g_m2_role_1; 16 role g_m2_role_1 types g_m2_type_1; 21 #add types to role declared in base test 23 role g_b_role_3; 24 role g_b_role_3 types g_m2_type_2; 26 #optional base role w/ adds in 2 modules 27 role o4_b_role_1; 28 role o4_b_role_1 types g_m2_type_1; 51 role o1_m2_role_1; 52 role o1_m2_role_ [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/paste/auth/ |
H A D | grantip.py | 17 with ``-``, like ``'-system'`` meaning that role should be 67 for role in roles: 68 if role.startswith('-'): 69 remove_roles.append(role[1:]) 71 if role not in cur_roles: 72 cur_roles.append(role) 73 for role in remove_roles: 74 if role in cur_roles: 75 cur_roles.remove(role) 88 # Give localhost system role (n [all...] |
/external/selinux/libsepol/tests/ |
H A D | test-linker-roles.c | 33 * - role in appropriate symtab (global and decl) 38 * - role in base, no modules 39 * - role in base optional, no modules 40 * - role a in base, b in module 41 * - role a in base and module (additive) 42 * - role a in base and 2 module 43 * - role a in base optional, b in module 44 * - role a in base, b in module optional 45 * - role a in base optional, b in module optional 46 * - role 55 only_dominates_self(policydb_t * p, role_datum_t * role) argument 73 role_datum_t *role; local 102 role_datum_t *role; local [all...] |
/external/jetty/src/java/org/eclipse/jetty/security/ |
H A D | DefaultUserIdentity.java | 56 public boolean isUserInRole(String role, Scope scope) argument 59 role=scope.getRoleRefMap().get(role); 62 if (r.equals(role))
|
H A D | SpnegoUserIdentity.java | 52 public boolean isUserInRole(String role, Scope scope) argument 54 return _roles.contains(role);
|
H A D | ConstraintAware.java | 51 * @param role 53 void addRole(String role); argument
|
/external/selinux/libsepol/include/sepol/ |
H A D | roles.h | 9 const char *role, int *response);
|
/external/selinux/libselinux/src/ |
H A D | get_default_type.c | 8 static int find_default_type(FILE * fp, const char *role, char **type); 10 int get_default_type(const char *role, char **type) argument 18 if (find_default_type(fp, role, type) < 0) { 27 static int find_default_type(FILE * fp, const char *role, char **type) argument 35 len = strlen(role); 50 if (!strncmp(role, ptr, len)) {
|
/external/selinux/libsepol/cil/test/integration_testing/ |
H A D | nonmls.conf | 48 role foo_r types foo_t; 49 role rolea_r; 50 role roleb_r; 53 #role decl
|
/external/selinux/libsepol/include/sepol/policydb/ |
H A D | context.h | 29 * identity, a role, a type and a MLS range. 33 uint32_t role; member in struct:context_struct 77 dst->role = src->role; 87 c->user = c->role = c->type = 0; 94 (c1->role == c2->role) &&
|
/external/libxml2/ |
H A D | xlink.c | 124 xmlChar *type = NULL, *role = NULL; local 154 role = xmlGetNsProp(node, BAD_CAST "role", XLINK_NAMESPACE); 155 if (role != NULL) { 160 if (xmlStrEqual(role, BAD_CAST"xlink:external-linkset")) 167 if (xmlStrEqual(role, buf)) 178 if (role != NULL) xmlFree(role);
|
/external/selinux/libselinux/utils/ |
H A D | getdefaultcon.c | 23 char *user = NULL, *level = NULL, *role=NULL, *seuser=NULL, *dlevel=NULL; local 34 role = strdup(optarg); 70 if (role != NULL && role[0]) 71 ret=get_default_context_with_rolelevel(seuser, role, level,cur_context,&usercon); 79 printf("%s: %s from %s %s %s %s -> %s\n", argv[0], user, cur_context, seuser, role, level, usercon); 85 free(role);
|
/external/selinux/libsepol/src/ |
H A D | context.c | 37 role_datum_t *role; local 44 if (!c->role || c->role > p->p_roles.nprim) 53 if (c->role != OBJECT_R_VAL) { 57 role = p->role_val_to_struct[c->role - 1]; 58 if (!ebitmap_get_bit(&role->cache, c->type - 1)) 59 /* role may not be associated with type */ 63 * User must be authorized for the role. 69 if (!ebitmap_get_bit(&usrdatum->cache, c->role 156 char *role = strdup(sepol_context_get_role(record)); local [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/ |
H A D | UserIdentity.java | 26 /** User object that encapsulates user identity and operations such as run-as-role actions, 48 /** Check if the user is in a role. 50 * container code which will be using translated role names. 51 * @param role A role name. 53 * @return True if the user can act in that role. 55 boolean isUserInRole(String role, Scope scope); argument 81 * @return A map of role reference names that converts from names used by application code 105 public boolean isUserInRole(String role, Scope scope)
|
/external/selinux/policycoreutils/mcstrans/share/examples/non-mls-color/ |
H A D | secolor.conf | 12 role * = white black
|