/external/selinux/mcstrans/share/examples/urcsts-via-include/ |
H A D | setrans.conf | 15 Include=/etc/selinux/mls/setrans.d/*.conf
|
/external/selinux/mcstrans/share/util/ |
H A D | try-all | 15 rm -rf /etc/selinux/mls/setrans.conf.bak /etc/selinux/mls/secolor.conf.bak /etc/selinux/mls/setrans.d.bak 19 mv /etc/selinux/mls/setrans.conf /etc/selinux/mls/setrans.conf.bak 23 if [ -e /etc/selinux/mls/secolor.conf ]; then 24 mv /etc/selinux/mls/secolor.conf /etc/selinux/mls/secolor.conf.bak 28 mv /etc/selinux/mls/setrans.d /etc/selinux/mls/setran [all...] |
/external/selinux/mcstrans/share/examples/include/ |
H A D | setrans.conf | 15 Include=/etc/selinux/mls/setrans.d/include-example
|
/external/llvm/test/MC/AArch64/ |
H A D | neon-mla-mls-instructions.s | 26 mls v0.8b, v1.8b, v2.8b 27 mls v0.16b, v1.16b, v2.16b 28 mls v0.4h, v1.4h, v2.4h 29 mls v0.8h, v1.8h, v2.8h 30 mls v0.2s, v1.2s, v2.2s 31 mls v0.4s, v1.4s, v2.4s 33 // CHECK: mls v0.8b, v1.8b, v2.8b // encoding: [0x20,0x94,0x22,0x2e] 34 // CHECK: mls v0.16b, v1.16b, v2.16b // encoding: [0x20,0x94,0x22,0x6e] 35 // CHECK: mls v0.4h, v1.4h, v2.4h // encoding: [0x20,0x94,0x62,0x2e] 36 // CHECK: mls v [all...] |
/external/selinux/libsepol/src/ |
H A D | mls.h | 32 const char *str, context_struct_t * mls); 36 const context_struct_t * mls, char **str); 65 context_struct_t * usercon, int mls);
|
H A D | context_record.c | 22 char *mls; member in struct:sepol_context 108 return con->mls; 114 sepol_context_t * con, const char *mls) 117 char *tmp_mls = strdup(mls); 120 "MLS fields to %s", mls); 123 free(con->mls); 124 con->mls = tmp_mls; 145 con->mls = NULL; 176 if (con->mls && !(new_con->mls [all...] |
H A D | context.c | 12 #include "mls.h" 159 const char *mls = sepol_context_get_mls(record); local 196 if (mls && !policydb->mls) { 198 mls); 200 } else if (!mls && policydb->mls) { 204 if (mls && (mls_from_string(handle, policydb, mls, scontext) < 0)) 209 if (mls) { 250 char *mls = NULL; local [all...] |
H A D | mls.c | 40 #include "mls.h" 44 const context_struct_t * mls, char **str) 50 int len = mls_compute_context_len(policydb, mls) + 1; 61 mls_sid_to_context(policydb, mls, &ptr); 70 ERR(handle, "out of memory, could not convert mls context to string"); 80 const char *str, context_struct_t * mls) 88 if (mls_context_to_sid(policydb, '$', &tmp_cp, mls) < 0) { 101 ERR(handle, "could not construct mls context structure"); 116 if (!policydb->mls) 175 if (!policydb->mls) 42 mls_to_string(sepol_handle_t * handle, const policydb_t * policydb, const context_struct_t * mls, char **str) argument 78 mls_from_string(sepol_handle_t * handle, const policydb_t * policydb, const char *str, context_struct_t * mls) argument 511 mls_setup_user_range(context_struct_t * fromcon, user_datum_t * user, context_struct_t * usercon, int mls) argument 708 sepol_mls_check(sepol_handle_t * handle, sepol_policydb_t * policydb, const char *mls) argument [all...] |
/external/selinux/libsepol/tests/ |
H A D | helpers.c | 35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name) argument 39 if (mls) { 40 if (snprintf(filename, PATH_MAX, "policies/%s/%s.mls", test_name, policy_name) < 0) { 55 p->mls = mls;
|
H A D | helpers.h | 33 * policy "policies/foo/mls/base.conf" into p. 39 * mls Boolean value indicating whether an mls policy is expected. 48 extern int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name);
|
H A D | test-downgrade.h | 87 int do_downgrade_test(int mls);
|
H A D | test-downgrade.c | 127 int do_downgrade_test(int mls) argument 138 fprintf(stderr, "error reading %spolicy binary\n", mls ? "mls " : ""); 144 policydb.mls = mls ? 1 : 0; 162 if (mls && lo < POLICYDB_VERSION_MLS) 165 fprintf(stderr, "error writing %spolicy binary, version %d (downgraded from %d)\n", mls ? "mls " : "", lo, hi); 177 fprintf(stderr, "error reading %spolicy binary, version %d (downgraded from %d)\n", mls ? "mls " [all...] |
H A D | test-linker.c | 57 extern int mls; 63 if (test_load_policy(&linkedbase, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) 66 if (test_load_policy(&basenomods, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) 77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i]))
|
H A D | libsepol-tests.c | 36 int mls; variable 110 /* first do the non-mls tests */ 111 mls = 0; 115 /* then with mls */ 116 mls = 1;
|
H A D | test-expander.c | 65 extern int mls; 77 if (snprintf(filename[i], PATH_MAX, "policies/test-expander/%s%s", myfiles[i], mls ? ".mls" : ".std") < 0) 99 mybase->mls = mls; 108 mymodules[i - 1]->mls = mls; 161 mls and non-mls tests since users can't be used in mls modul [all...] |
H A D | test-deps.c | 86 extern int mls; 98 if (test_load_policy(&bases_met[i], POLICY_BASE, mls, "test-deps", "base-metreq.conf")) 103 if (test_load_policy(&bases_notmet[i], POLICY_BASE, mls, "test-deps", "base-notmetreq.conf")) 162 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); 243 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0);
|
/external/selinux/mcstrans/share/examples/nato/ |
H A D | setrans.conf | 19 Include=/etc/selinux/mls/setrans.d/rel.conf 20 Include=/etc/selinux/mls/setrans.d/eyes-only.conf 21 Include=/etc/selinux/mls/setrans.d/constraints.conf
|
/external/selinux/libsepol/include/sepol/ |
H A D | context.h | 28 const sepol_policydb_t * policydb, const char *mls);
|
/external/libavc/common/armv8/ |
H A D | ih264_inter_pred_filters_luma_vert_av8.s | 149 mls v14.8h, v16.8h , v24.8h // temp -= temp2 * 5 153 mls v20.8h, v26.8h , v24.8h // temp4 -= temp5 * 5 160 mls v16.8h, v18.8h , v24.8h 168 mls v14.8h, v26.8h , v24.8h 174 mls v18.8h, v20.8h , v24.8h 182 mls v16.8h, v26.8h , v24.8h 189 mls v14.8h, v20.8h , v24.8h 192 mls v18.8h, v26.8h , v24.8h 209 mls v14.8h, v16.8h , v24.8h // temp -= temp2 * 5 213 mls v2 [all...] |
H A D | ih264_inter_pred_luma_vert_qpel_av8.s | 156 mls v14.8h, v16.8h , v24.8h // temp -= temp2 * 5 160 mls v20.8h, v26.8h , v24.8h // temp4 -= temp5 * 5 167 mls v16.8h, v18.8h , v24.8h 177 mls v14.8h, v26.8h , v24.8h 183 mls v18.8h, v20.8h , v24.8h 193 mls v16.8h, v26.8h , v24.8h 200 mls v14.8h, v20.8h , v24.8h 204 mls v18.8h, v26.8h , v24.8h 226 mls v14.8h, v16.8h , v24.8h // temp -= temp2 * 5 230 mls v2 [all...] |
/external/selinux/mcstrans/share/examples/pipes/ |
H A D | setrans.conf | 20 Include=/etc/selinux/mls/setrans.d/pipes.conf
|
/external/selinux/gui/ |
H A D | fcontextPage.py | 43 self.mls = con[1] 45 self.mls = "s0" 156 self.fcontextMLSEntry.set_text(scon.mls) 192 mls = self.fcontextMLSEntry.get_text().strip() 197 (rc, out) = getstatusoutput("semanage fcontext -a -t %s -r %s -f '%s' '%s'" % (type, mls, seobject.file_type_str_to_option[ftype], fspec)) 206 self.store.set_value(iter, TYPE_COL, "%s:%s" % (type, mls)) 211 mls = self.fcontextMLSEntry.get_text().strip() 216 (rc, out) = getstatusoutput("semanage fcontext -m -t %s -r %s -f '%s' '%s'" % (type, mls, seobject.file_type_str_to_option[ftype], fspec)) 225 self.store.set_value(iter, TYPE_COL, "%s:%s" % (type, mls))
|
/external/selinux/libsemanage/src/ |
H A D | seusers_file.c | 28 const char *mls = semanage_seuser_get_mlsrange(seuser); local 33 if (mls != NULL && fprintf(str, ":%s", mls) < 0)
|
/external/selinux/checkpolicy/ |
H A D | parse_util.c | 51 mlspol = p->mls;
|
/external/selinux/secilc/ |
H A D | secil2conf.c | 51 printf(" -M, --mls true|false write an mls policy. Must be true or false.\n"); 52 printf(" This will override the (mls boolean) statement\n"); 69 int mls = -1; local 77 {"mls", required_argument, 0, 'M'}, 95 mls = 1; 97 mls = 0; 126 cil_set_mls(db, mls);
|