Home
last modified time | relevance | path

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

12345678910

/external/selinux/policycoreutils/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.c21 char *mls; member
107 return con->mls; in hidden_def()
113 sepol_context_t * con, const char *mls) in hidden_def()
116 char *tmp_mls = strdup(mls); in hidden_def()
119 "MLS fields to %s", mls); in hidden_def()
122 free(con->mls); in hidden_def()
123 con->mls = tmp_mls; in hidden_def()
144 con->mls = NULL; in hidden_def()
175 if (con->mls && !(new_con->mls = strdup(con->mls))) in hidden_def()
202 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()
266 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/selinux/policycoreutils/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/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.c86 extern int mls;
98 if (test_load_policy(&bases_met[i], POLICY_BASE, mls, "test-deps", "base-metreq.conf")) in deps_test_init()
103 if (test_load_policy(&bases_notmet[i], POLICY_BASE, mls, "test-deps", "base-notmetreq.conf")) in deps_test_init()
162 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_global()
242 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_opt()
Dlibsepol-tests.c35 int mls; variable
108 mls = 0; in main()
113 mls = 1; in main()
/external/libavc/common/armv8/
Dih264_inter_pred_filters_luma_vert_av8.s145 mls v14.8h, v16.8h , v24.8h // temp -= temp2 * 5
149 mls v20.8h, v26.8h , v24.8h // temp4 -= temp5 * 5
156 mls v16.8h, v18.8h , v24.8h
164 mls v14.8h, v26.8h , v24.8h
170 mls v18.8h, v20.8h , v24.8h
178 mls v16.8h, v26.8h , v24.8h
185 mls v14.8h, v20.8h , v24.8h
188 mls v18.8h, v26.8h , v24.8h
205 mls v14.8h, v16.8h , v24.8h // temp -= temp2 * 5
209 mls v20.8h, v26.8h , v24.8h // temp4 -= temp5 * 5
[all …]
Dih264_inter_pred_luma_vert_qpel_av8.s152 mls v14.8h, v16.8h , v24.8h // temp -= temp2 * 5
156 mls v20.8h, v26.8h , v24.8h // temp4 -= temp5 * 5
163 mls v16.8h, v18.8h , v24.8h
173 mls v14.8h, v26.8h , v24.8h
179 mls v18.8h, v20.8h , v24.8h
189 mls v16.8h, v26.8h , v24.8h
196 mls v14.8h, v20.8h , v24.8h
200 mls v18.8h, v26.8h , v24.8h
222 mls v14.8h, v16.8h , v24.8h // temp -= temp2 * 5
226 mls v20.8h, v26.8h , v24.8h // temp4 -= temp5 * 5
[all …]
Dih264_inter_pred_luma_horz_hpel_vert_hpel_av8.s119 mls v18.8h, v22.8h , v30.8h
121 mls v20.8h, v26.8h , v30.8h
124 mls v22.8h, v26.8h , v30.8h
200 mls v18.8h, v22.8h , v30.8h
202 mls v20.8h, v26.8h , v30.8h
205 mls v22.8h, v26.8h , v30.8h
279 mls v18.8h, v22.8h , v30.8h
281 mls v20.8h, v26.8h , v30.8h
284 mls v22.8h, v26.8h , v30.8h
361 mls v18.8h, v22.8h , v30.8h
[all …]
Dih264_inter_pred_luma_horz_hpel_vert_qpel_av8.s170 mls v6.8h, v8.8h , v24.8h
184 mls v8.8h, v10.8h , v24.8h
198 mls v10.8h, v12.8h , v24.8h
212 mls v12.8h, v14.8h , v24.8h
226 mls v14.8h, v16.8h , v24.8h
244 mls v16.8h, v18.8h , v24.8h
274 mls v20.8h, v2.8h , v24.8h
318 mls v8.8h, v2.8h , v24.8h
355 mls v28.8h, v2.8h , v24.8h
418 mls v6.8h, v8.8h , v24.8h
[all …]
/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
Dneon-2velem.s29 mls v0.2s, v1.2s, v2.s[2]
30 mls v0.2s, v1.2s, v22.s[2]
31 mls v3.4s, v8.4s, v2.s[1]
32 mls v3.4s, v8.4s, v22.s[3]
39 mls v0.4h, v1.4h, v2.h[2]
40 mls v0.4h, v1.4h, v15.h[2]
41 mls v0.8h, v1.8h, v2.h[7]
42 mls v0.8h, v1.8h, v14.h[6]
/external/selinux/policycoreutils/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/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/policycoreutils/gui/
DfcontextPage.py39 self.mls = con[1]
41 self.mls = "s0"
157 self.fcontextMLSEntry.set_text(scon.mls)
194 mls = self.fcontextMLSEntry.get_text().strip()
198 …s.getstatusoutput("semanage fcontext -a -t %s -r %s -f '%s' '%s'" % (type, mls, ftype[active], fsp…
207 self.store.set_value(iter, TYPE_COL, "%s:%s" % (type, mls))
212 mls = self.fcontextMLSEntry.get_text().strip()
217 …mmands.getstatusoutput("semanage fcontext -m -t %s -r %s -f '%s' '%s'" % (type, mls, ftype, fspec))
226 self.store.set_value(iter, TYPE_COL, "%s:%s" % (type, mls))
/external/llvm/test/CodeGen/AArch64/
Dneon-mla-mls.ll47 ;CHECK: mls {{v[0-9]+}}.8b, {{v[0-9]+}}.8b, {{v[0-9]+}}.8b
54 ;CHECK: mls {{v[0-9]+}}.16b, {{v[0-9]+}}.16b, {{v[0-9]+}}.16b
61 ;CHECK: mls {{v[0-9]+}}.4h, {{v[0-9]+}}.4h, {{v[0-9]+}}.4h
68 ;CHECK: mls {{v[0-9]+}}.8h, {{v[0-9]+}}.8h, {{v[0-9]+}}.8h
75 ;CHECK: mls {{v[0-9]+}}.2s, {{v[0-9]+}}.2s, {{v[0-9]+}}.2s
82 ;CHECK: mls {{v[0-9]+}}.4s, {{v[0-9]+}}.4s, {{v[0-9]+}}.4s
/external/selinux/policycoreutils/mcstrans/share/examples/non-mls-color/
DREADME4 cp secolor.conf /etc/selinux/mls/
8 /usr/share/mcstrans/util/mlscolor-test non-mls.color
/external/selinux/libsemanage/src/
Dseusers_file.c28 const char *mls = semanage_seuser_get_mlsrange(seuser); in seuser_print() local
33 if (mls != NULL && fprintf(str, ":%s", mls) < 0) in seuser_print()

12345678910