Home
last modified time | relevance | path

Searched refs:rscon (Results 1 – 6 of 6) sorted by relevance

/external/selinux/libselinux/src/
Dcompute_relabel.c71 char * rscon; in hidden_def() local
75 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def()
78 freecon(rscon); in hidden_def()
82 ret = security_compute_relabel_raw(rscon, rtcon, tclass, &rnewcon); in hidden_def()
84 freecon(rscon); in hidden_def()
Dcompute_member.c71 char * rscon; in hidden_def() local
75 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def()
78 freecon(rscon); in hidden_def()
82 ret = security_compute_member_raw(rscon, rtcon, tclass, &rnewcon); in hidden_def()
84 freecon(rscon); in hidden_def()
Dvalidatetrans.c68 char *rscon = NULL; in hidden_def() local
72 if (selinux_trans_to_raw_context(scon, &rscon)) { in hidden_def()
84 ret = security_validatetrans_raw(rscon, rtcon, tclass, rnewcon); in hidden_def()
89 freecon(rscon); in hidden_def()
Dcompute_create.c127 char * rscon; in hidden_def() local
131 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def()
134 freecon(rscon); in hidden_def()
138 ret = security_compute_create_name_raw(rscon, rtcon, tclass, in hidden_def()
140 freecon(rscon); in hidden_def()
Dcompute_av.c118 char * rscon; in hidden_def() local
122 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def()
125 freecon(rscon); in hidden_def()
128 ret = security_compute_av_flags_raw(rscon, rtcon, tclass, in hidden_def()
131 freecon(rscon); in hidden_def()
Dcompute_user.c86 char * rscon; in hidden_def() local
88 if (selinux_trans_to_raw_context(scon, &rscon)) in hidden_def()
91 ret = security_compute_user_raw(rscon, user, con); in hidden_def()
93 freecon(rscon); in hidden_def()