/third_party/node/deps/openssl/openssl/apps/ |
D | s_time.c | 35 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/ |
D | s_time.c | 35 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/ |
D | selinux.h | 195 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/ |
D | compute_create.c | 51 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()
|
D | compute_av.c | 13 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()
|
D | validatetrans.c | 13 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()
|
D | compute_relabel.c | 13 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()
|
D | compute_member.c | 13 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()
|
D | compute_user.c | 13 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()
|
D | checkAccess.c | 22 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()
|
D | audit2why.c | 317 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/ |
D | cil_type_statements.md | 400 ` scon=unconfined.object tcon=unconfined.object class=file` 464 ` scon=unconfined.object tcon=unconfined.object class=file`
|