Home
last modified time | relevance | path

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

/third_party/node/deps/openssl/openssl/apps/
Ds_time.c35 static SSL *doConnection(SSL *scon, const char *host, SSL_CTX *ctx);
118 SSL *scon = NULL; in s_time_main() local
280 if ((scon = doConnection(NULL, host, ctx)) == NULL) in s_time_main()
286 if (buf_len <= 0 || SSL_write(scon, buf, buf_len) <= 0) in s_time_main()
288 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
291 SSL_set_shutdown(scon, SSL_SENT_SHUTDOWN | SSL_RECEIVED_SHUTDOWN); in s_time_main()
292 BIO_closesocket(SSL_get_fd(scon)); in s_time_main()
295 if (SSL_session_reused(scon)) { in s_time_main()
298 ver = SSL_version(scon); in s_time_main()
309 SSL_free(scon); in s_time_main()
[all …]
/third_party/openssl/apps/
Ds_time.c35 static SSL *doConnection(SSL *scon, const char *host, SSL_CTX *ctx);
118 SSL *scon = NULL; in s_time_main() local
280 if ((scon = doConnection(NULL, host, ctx)) == NULL) in s_time_main()
286 if (buf_len <= 0 || SSL_write(scon, buf, buf_len) <= 0) in s_time_main()
288 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
291 SSL_set_shutdown(scon, SSL_SENT_SHUTDOWN | SSL_RECEIVED_SHUTDOWN); in s_time_main()
292 BIO_closesocket(SSL_get_fd(scon)); in s_time_main()
295 if (SSL_session_reused(scon)) { in s_time_main()
298 ver = SSL_version(scon); in s_time_main()
309 SSL_free(scon); in s_time_main()
[all …]
/third_party/selinux/libselinux/include/selinux/
Dselinux.h195 extern int security_compute_av(const char * scon,
200 extern int security_compute_av_raw(const char * scon,
206 extern int security_compute_av_flags(const char * scon,
211 extern int security_compute_av_flags_raw(const char * scon,
219 extern int security_compute_create(const char * scon,
223 extern int security_compute_create_raw(const char * scon,
227 extern int security_compute_create_name(const char * scon,
232 extern int security_compute_create_name_raw(const char * scon,
240 extern int security_compute_relabel(const char * scon,
244 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
80 scon, tcon, unmap_class(tclass)); in security_compute_create_name_raw()
116 int security_compute_create_raw(const char * scon, in security_compute_create_raw() argument
121 return security_compute_create_name_raw(scon, tcon, tclass, in security_compute_create_raw()
125 int security_compute_create_name(const char * scon, in security_compute_create_name() argument
136 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_create_name()
155 int security_compute_create(const char * scon, in security_compute_create() argument
160 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
44 ret = snprintf(buf, len, "%s %s %hu %x", scon, tcon, in security_compute_av_flags_raw()
90 int security_compute_av_raw(const char * scon, in security_compute_av_raw() argument
99 ret = security_compute_av_flags_raw(scon, tcon, tclass, in security_compute_av_raw()
116 int security_compute_av_flags(const char * scon, in security_compute_av_flags() argument
126 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_av_flags()
142 int security_compute_av(const char * scon, in security_compute_av() argument
150 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_relabel.c13 int security_compute_relabel_raw(const char * scon, in security_compute_relabel_raw() argument
40 ret = snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_relabel_raw()
70 int security_compute_relabel(const char * scon, in security_compute_relabel() argument
80 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_relabel()
Dcompute_member.c13 int security_compute_member_raw(const char * scon, in security_compute_member_raw() argument
40 ret = snprintf(buf, size, "%s %s %hu", scon, tcon, unmap_class(tclass)); in security_compute_member_raw()
70 int security_compute_member(const char * scon, in security_compute_member() argument
80 if (selinux_trans_to_raw_context(scon, &rscon)) in security_compute_member()
Dcompute_user.c13 int security_compute_user_raw(const char * scon, in security_compute_user_raw() argument
42 ret = snprintf(buf, size, "%s %s", scon, user); in security_compute_user_raw()
90 int security_compute_user(const char * scon, in security_compute_user() argument
96 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.c317 char * scon; in analyze() local
332 …if (!PyArg_ParseTuple(args,(char *)"sssO!:audit2why",&scon,&tcon,&tclassstr,&PyList_Type, &listObj… in analyze()
344 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`