Home
last modified time | relevance | path

Searched refs:scon (Results 1 – 11 of 11) sorted by relevance

/third_party/openssl/apps/
Ds_time.c35 static SSL *doConnection(SSL *scon, const char *host, SSL_CTX *ctx);
94 SSL *scon = NULL; in s_time_main() local
226 if ((scon = doConnection(NULL, host, ctx)) == NULL) in s_time_main()
232 if (buf_len <= 0 || SSL_write(scon, buf, buf_len) <= 0) in s_time_main()
234 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
237 SSL_set_shutdown(scon, SSL_SENT_SHUTDOWN | SSL_RECEIVED_SHUTDOWN); in s_time_main()
238 BIO_closesocket(SSL_get_fd(scon)); in s_time_main()
241 if (SSL_session_reused(scon)) { in s_time_main()
244 ver = SSL_version(scon); in s_time_main()
255 SSL_free(scon); in s_time_main()
[all …]
/third_party/selinux/libselinux/include/selinux/
Dselinux.h190 extern int security_compute_av(const char * scon,
195 extern int security_compute_av_raw(const char * scon,
201 extern int security_compute_av_flags(const char * scon,
206 extern int security_compute_av_flags_raw(const char * scon,
214 extern int security_compute_create(const char * scon,
218 extern int security_compute_create_raw(const char * scon,
222 extern int security_compute_create_name(const char * scon,
227 extern int security_compute_create_name_raw(const char * scon,
235 extern int security_compute_relabel(const char * scon,
239 extern int security_compute_relabel_raw(const char * scon,
[all …]
/third_party/selinux/libselinux/src/
Dcompute_create.c51 int security_compute_create_name_raw(const char * scon, in security_compute_create_name_raw() argument
79 scon, tcon, unmap_class(tclass)); in security_compute_create_name_raw()
109 int security_compute_create_raw(const char * scon, in security_compute_create_raw() argument
114 return security_compute_create_name_raw(scon, tcon, tclass, in security_compute_create_raw()
118 int security_compute_create_name(const char * scon, in security_compute_create_name() argument
129 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_create_name()
148 int security_compute_create(const char * scon, in security_compute_create() argument
153 return security_compute_create_name(scon, tcon, tclass, NULL, newcon); in security_compute_create()
Dcompute_av.c13 int security_compute_av_flags_raw(const char * scon, in security_compute_av_flags_raw() argument
43 snprintf(buf, len, "%s %s %hu %x", scon, tcon, in security_compute_av_flags_raw()
84 int security_compute_av_raw(const char * scon, in security_compute_av_raw() argument
93 ret = security_compute_av_flags_raw(scon, tcon, tclass, in security_compute_av_raw()
110 int security_compute_av_flags(const char * scon, in security_compute_av_flags() argument
120 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_av_flags()
136 int security_compute_av(const char * scon, in security_compute_av() argument
144 ret = security_compute_av_flags(scon, tcon, tclass, in security_compute_av()
Dvalidatetrans.c13 int security_validatetrans_raw(const char *scon, in security_validatetrans_raw() argument
41 bufsz = snprintf(buf, size, "%s %s %hu %s", scon, tcon, unmap_class(tclass), newcon); in security_validatetrans_raw()
61 int security_validatetrans(const char *scon, in security_validatetrans() argument
71 if (selinux_trans_to_raw_context(scon, &rscon)) { in security_validatetrans()
Dcompute_member.c13 int security_compute_member_raw(const char * scon, in security_compute_member_raw() argument
39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_member_raw()
64 int security_compute_member(const char * scon, in security_compute_member() argument
74 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_member()
Dcompute_relabel.c13 int security_compute_relabel_raw(const char * scon, in security_compute_relabel_raw() argument
39 snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_relabel_raw()
64 int security_compute_relabel(const char * scon, in security_compute_relabel() argument
74 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_relabel()
Dcompute_user.c13 int security_compute_user_raw(const char * scon, in security_compute_user_raw() argument
41 snprintf(buf, size, "%s %s", scon, user); in security_compute_user_raw()
84 int security_compute_user(const char * scon, in security_compute_user() argument
90 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_user()
DcheckAccess.c22 int selinux_check_access(const char *scon, const char *tcon, const char *class, const char *perm, v… in selinux_check_access() argument
34 rc = avc_context_to_sid(scon, &scon_id); in selinux_check_access()
Daudit2why.c311 char * scon; in analyze() local
326 …if (!PyArg_ParseTuple(args,(char *)"sssO!:audit2why",&scon,&tcon,&tclassstr,&PyList_Type, &listObj… in analyze()
338 rc = sepol_context_to_sid(scon, strlen(scon) + 1, &ssid); 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`