Home
last modified time | relevance | path

Searched refs:tcon (Results 1 – 9 of 9) sorted by relevance

/third_party/selinux/libselinux/include/selinux/
Dselinux.h196 const char * tcon,
201 const char * tcon,
207 const char * tcon,
212 const char * tcon,
220 const char * tcon,
224 const char * tcon,
228 const char * tcon,
233 const char * tcon,
241 const char * tcon,
245 const char * tcon,
[all …]
/third_party/selinux/libselinux/src/
Dcompute_create.c52 const char * tcon, in security_compute_create_name_raw() argument
80 scon, tcon, unmap_class(tclass)); in security_compute_create_name_raw()
117 const char * tcon, in security_compute_create_raw() argument
121 return security_compute_create_name_raw(scon, tcon, tclass, in security_compute_create_raw()
126 const char * tcon, in security_compute_create_name() argument
138 if (selinux_trans_to_raw_context(tcon, &rtcon)) { in security_compute_create_name()
156 const char * tcon, in security_compute_create() argument
160 return security_compute_create_name(scon, tcon, tclass, NULL, newcon); in security_compute_create()
Dcompute_av.c14 const char * tcon, in security_compute_av_flags_raw() argument
44 ret = snprintf(buf, len, "%s %s %hu %x", scon, tcon, in security_compute_av_flags_raw()
91 const char * tcon, in security_compute_av_raw() argument
99 ret = security_compute_av_flags_raw(scon, tcon, tclass, in security_compute_av_raw()
117 const char * tcon, in security_compute_av_flags() argument
128 if (selinux_trans_to_raw_context(tcon, &rtcon)) { in security_compute_av_flags()
143 const char * tcon, in security_compute_av() argument
150 ret = security_compute_av_flags(scon, tcon, tclass, in security_compute_av()
Dvalidatetrans.c14 const char *tcon, in security_validatetrans_raw() argument
41 bufsz = snprintf(buf, size, "%s %s %hu %s", scon, tcon, unmap_class(tclass), newcon); in security_validatetrans_raw()
62 const char *tcon, in security_validatetrans() argument
75 if (selinux_trans_to_raw_context(tcon, &rtcon)) { in security_validatetrans()
Dcompute_relabel.c14 const char * tcon, in security_compute_relabel_raw() argument
40 ret = snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_relabel_raw()
71 const char * tcon, in security_compute_relabel() argument
82 if (selinux_trans_to_raw_context(tcon, &rtcon)) { in security_compute_relabel()
Dcompute_member.c14 const char * tcon, in security_compute_member_raw() argument
40 ret = snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_member_raw()
71 const char * tcon, in security_compute_member() argument
82 if (selinux_trans_to_raw_context(tcon, &rtcon)) { in security_compute_member()
DcheckAccess.c22 int selinux_check_access(const char *scon, const char *tcon, const char *class, const char *perm, v… in selinux_check_access() argument
38 rc = avc_context_to_sid(tcon, &tcon_id); in selinux_check_access()
Daudit2why.c318 char * tcon; in analyze() local
332 …if (!PyArg_ParseTuple(args,(char *)"sssO!:audit2why",&scon,&tcon,&tclassstr,&PyList_Type, &listObj… in analyze()
348 rc = sepol_context_to_sid(tcon, strlen(tcon) + 1, &tsid); in analyze()
/third_party/selinux/secilc/docs/
Dcil_type_statements.md400 ` scon=unconfined.object tcon=unconfined.object class=file`
464 ` scon=unconfined.object tcon=unconfined.object class=file`