Home
last modified time | relevance | path

Searched refs:mls (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/external/selinux/mcstrans/share/util/
Dtry-all15 …rm -rf /etc/selinux/mls/setrans.conf.bak /etc/selinux/mls/secolor.conf.bak /etc/selinux/mls/setran…
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/setrans.d.bak
32 cp -L $d/setrans.conf /etc/selinux/mls/setrans.conf
35 cp -L $d/secolor.conf /etc/selinux/mls
38 cp -Lr $d/setrans.d /etc/selinux/mls
41 runcon `cat /etc/selinux/mls/contexts/initrc_context` /etc/init.d/mcstrans restart
49 if [ -e /etc/selinux/mls/setrans.conf.bak ]; then
[all …]
/external/selinux/libsepol/src/
Dcontext_record.c22 char *mls; member
108 return con->mls; in hidden_def()
114 sepol_context_t * con, const char *mls) in hidden_def()
117 char *tmp_mls = strdup(mls); in hidden_def()
120 "MLS fields to %s", mls); in hidden_def()
123 free(con->mls); in hidden_def()
124 con->mls = tmp_mls; in hidden_def()
145 con->mls = NULL; in hidden_def()
176 if (con->mls && !(new_con->mls = strdup(con->mls))) in hidden_def()
203 free(con->mls); in hidden_def()
[all …]
Dcontext.c158 const char *mls = sepol_context_get_mls(record); in context_from_record() local
195 if (mls && !policydb->mls) { in context_from_record()
197 mls); in context_from_record()
199 } else if (!mls && policydb->mls) { in context_from_record()
203 if (mls && (mls_from_string(handle, policydb, mls, scontext) < 0)) in context_from_record()
208 if (mls) { in context_from_record()
211 user, role, type, mls); in context_from_record()
249 char *mls = NULL; in context_to_record() local
269 if (policydb->mls) { in context_to_record()
270 if (mls_to_string(handle, policydb, context, &mls) < 0) in context_to_record()
[all …]
Dmls.c44 const context_struct_t * mls, char **str) in mls_to_string() argument
50 int len = mls_compute_context_len(policydb, mls) + 1; in mls_to_string()
61 mls_sid_to_context(policydb, mls, &ptr); in mls_to_string()
80 const char *str, context_struct_t * mls) in mls_from_string() argument
88 if (mls_context_to_sid(policydb, '$', &tmp_cp, mls) < 0) { in mls_from_string()
116 if (!policydb->mls) in mls_compute_context_len()
175 if (!policydb->mls) in mls_sid_to_context()
267 if (!p->mls) in mls_context_isvalid()
339 if (!policydb->mls) in mls_context_to_sid()
510 context_struct_t * usercon, int mls) in mls_setup_user_range()
[all …]
Dmls.h32 const char *str, context_struct_t * mls);
36 const context_struct_t * mls, char **str);
65 context_struct_t * usercon, int mls);
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AArch64/SVE/
Dmls.s10 mls z0.b, p7/m, z1.b, z31.b label
16 mls z0.h, p7/m, z1.h, z31.h label
22 mls z0.s, p7/m, z1.s, z31.s label
28 mls z0.d, p7/m, z1.d, z31.d label
44 mls z0.d, p7/m, z1.d, z31.d label
56 mls z0.d, p7/m, z1.d, z31.d label
/external/selinux/mcstrans/share/examples/nato/
DREADME4 mkdir /etc/selinux/mls/mcstrand.d
5 cp rel.conf /etc/selinux/mls/mcstrand.d
6 cp eyes-only.conf /etc/selinux/mls/mcstrand.d
7 cp constraints.conf /etc/selinux/mls/mcstrand.d
8 cp setrans.conf /etc/selinux/mls/setrans.conf
Dsetrans.conf19 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/capstone/suite/MC/AArch64/
Dneon-mla-mls-instructions.s.cs8 0x20,0x94,0x22,0x2e = mls v0.8b, v1.8b, v2.8b
9 0x20,0x94,0x22,0x6e = mls v0.16b, v1.16b, v2.16b
10 0x20,0x94,0x62,0x2e = mls v0.4h, v1.4h, v2.4h
11 0x20,0x94,0x62,0x6e = mls v0.8h, v1.8h, v2.8h
12 0x20,0x94,0xa2,0x2e = mls v0.2s, v1.2s, v2.2s
13 0x20,0x94,0xa2,0x6e = mls v0.4s, v1.4s, v2.4s
/external/libavc/common/armv8/
Dih264_inter_pred_filters_luma_vert_av8.s149 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 v20.8h, v26.8h , v24.8h // temp4 -= temp5 * 5
[all …]
Dih264_inter_pred_luma_vert_qpel_av8.s156 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 v20.8h, v26.8h , v24.8h // temp4 -= temp5 * 5
[all …]
/external/selinux/libsepol/tests/
Dtest-downgrade.c127 int do_downgrade_test(int mls) in do_downgrade_test() argument
138 fprintf(stderr, "error reading %spolicy binary\n", mls ? "mls " : ""); in do_downgrade_test()
144 policydb.mls = mls ? 1 : 0; in do_downgrade_test()
162 if (mls && lo < POLICYDB_VERSION_MLS) in do_downgrade_test()
165 …fprintf(stderr, "error writing %spolicy binary, version %d (downgraded from %d)\n", mls ? "mls " :… in do_downgrade_test()
177 …fprintf(stderr, "error reading %spolicy binary, version %d (downgraded from %d)\n", mls ? "mls " :… in do_downgrade_test()
Dhelpers.c35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *p… in test_load_policy() argument
39 if (mls) { in test_load_policy()
55 p->mls = mls; in test_load_policy()
Dtest-expander.c65 extern int mls;
77 …if (snprintf(filename[i], PATH_MAX, "policies/test-expander/%s%s", myfiles[i], mls ? ".mls" : ".st… in expander_policy_init()
99 mybase->mls = mls; in expander_policy_init()
108 mymodules[i - 1]->mls = mls; in expander_policy_init()
Dtest-linker.c57 extern int mls;
63 if (test_load_policy(&linkedbase, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init()
66 if (test_load_policy(&basenomods, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init()
77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i])) in linker_test_init()
Dtest-deps.c88 extern int mls;
100 if (test_load_policy(&bases_met[i], POLICY_BASE, mls, "test-deps", "base-metreq.conf")) in deps_test_init()
105 if (test_load_policy(&bases_notmet[i], POLICY_BASE, mls, "test-deps", "base-notmetreq.conf")) in deps_test_init()
164 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_global()
245 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_opt()
Dlibsepol-tests.c36 int mls; variable
111 mls = 0; in main()
116 mls = 1; in main()
/external/llvm/test/MC/AArch64/
Dneon-mla-mls-instructions.s26 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
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AArch64/
Dneon-mla-mls-instructions.s26 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
/external/selinux/libsepol/cil/src/
Dcil_policy.c271 static void cil_context_to_policy(FILE *out, struct cil_context *context, int mls) in cil_context_to_policy() argument
276 if (mls) { in cil_context_to_policy()
1367 static void cil_block_te_rules_to_policy(FILE *out, struct cil_tree_node *start, int mls) in cil_block_te_rules_to_policy() argument
1411 if (mls == CIL_TRUE) { in cil_block_te_rules_to_policy()
1420 int mls; member
1449 cil_block_te_rules_to_policy(args->out, n, args->mls); in __cil_te_rules_to_policy_helper()
1455 cil_block_te_rules_to_policy(args->out, n, args->mls); in __cil_te_rules_to_policy_helper()
1468 static void cil_te_rules_to_policy(FILE *out, struct cil_tree_node *head, int mls) in cil_te_rules_to_policy() argument
1473 args.mls = mls; in cil_te_rules_to_policy()
1475 cil_block_te_rules_to_policy(out, head, mls); in cil_te_rules_to_policy()
[all …]
/external/selinux/mcstrans/share/examples/urcsts-via-include/
DREADME10 cp -L setrans.conf /etc/selinux/mls/
11 cp -L secolor.conf /etc/selinux/mls/
12 rm -f /etc/selinux/mls/setrans.d/*
13 cp setrans.d/* /etc/selinux/mls/setrans.d
/external/swiftshader/third_party/subzero/tests_lit/assembler/arm32/
Drem-vec.ll21 ; ASM-NEXT: mls r2, r2, r1, r0
26 ; ASM-NEXT: mls r2, r2, r1, r0
31 ; ASM-NEXT: mls r2, r2, r1, r0
36 ; ASM-NEXT: mls r2, r2, r1, r0
52 ; ASM-NEXT: mls r2, r2, r1, r0
57 ; ASM-NEXT: mls r2, r2, r1, r0
62 ; ASM-NEXT: mls r2, r2, r1, r0
67 ; ASM-NEXT: mls r2, r2, r1, r0
/external/selinux/secilc/docs/
Dcil_policy_config_statements.md4 mls section in Policy Configuration Statements
7 …LS policy by the CIL compiler. There MUST only be one [`mls`](cil_policy_config_statements.md#mls)…
9 …over-ridden by the CIL compiler command line parameter `-M true|false` or `--mls true|false` flags.
13 (mls boolean)
24 <td align="left"><p><code>mls</code></p></td>
25 <td align="left"><p>The <code>mls</code> keyword.</p></td>
36 (mls true)
/external/selinux/gui/
DfcontextPage.py40 self.mls = con[1]
42 self.mls = "s0"
153 self.fcontextMLSEntry.set_text(scon.mls)
190 mls = self.fcontextMLSEntry.get_text().strip()
195 …(rc, out) = getstatusoutput("semanage fcontext -a -t %s -r %s -f '%s' '%s'" % (type, mls, seobject…
204 self.store.set_value(iter, TYPE_COL, "%s:%s" % (type, mls))
209 mls = self.fcontextMLSEntry.get_text().strip()
214 …(rc, out) = getstatusoutput("semanage fcontext -m -t %s -r %s -f '%s' '%s'" % (type, mls, seobject…
223 self.store.set_value(iter, TYPE_COL, "%s:%s" % (type, mls))
/external/selinux/secilc/
Dsecil2conf.c69 int mls = -1; in main() local
95 mls = 1; in main()
97 mls = 0; in main()
126 cil_set_mls(db, mls); in main()

12345678910>>...13