/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_diff/ |
H A D | socket.c | 41 size = sizeof (sock.sun_path); in main() 42 (void) strncpy(sock.sun_path, (char *)path, size - 1); in main() 43 sock.sun_path[size - 1] = '\0'; in main()
|
/illumos-gate/usr/src/test/os-tests/tests/sockfs/ |
H A D | timeouts.c | 101 strlcpy(addr.sun_path, sockpath, sizeof (addr.sun_path)); in server() 120 strlcpy(addr.sun_path, sockpath, sizeof (addr.sun_path)); in client()
|
H A D | dgram.c | 111 (void) sprintf(addr.sun_path, "%s/s", testdir); in main() 123 (void) unlink(addr.sun_path); in main()
|
H A D | conn.c | 147 (void) sprintf(addr.sun_path, "%s/s", testdir); in main() 159 (void) unlink(addr.sun_path); in main()
|
H A D | rights.c | 459 strlcpy(addr.sun_path, sockpath, sizeof (addr.sun_path)); in server() 650 strlcpy(addr.sun_path, sockpath, sizeof (addr.sun_path)); in client()
|
H A D | drop_priv.c | 221 (void) sprintf(addr.sun_path, "%s/s", testdir); in main() 233 (void) unlink(addr.sun_path); in main()
|
/illumos-gate/usr/src/test/util-tests/tests/cpmvln/ |
H A D | mkobj.c | 120 if (strlcpy(un.sun_path, uds, sizeof (un.sun_path)) >= in main() 121 sizeof (un.sun_path)) { in main()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | un.h | 55 char sun_path[108]; /* path name (gag) */ member 78 #define SUN_LEN(su) (sizeof (sa_family_t) + strlen((su)->sun_path))
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 116 strlcpy(addr->un.sun_path, host->h_addr_list[n], sizeof(addr->un.sun_path)); in httpAddrLoad() 193 strlcpy(name, addr->un.sun_path, namelen); in httpAddrLookup() 239 strlcpy(s, addr->un.sun_path, slen); in httpAddrString()
|
/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | odirectory.c | 134 if (strlcpy(un.sun_path, odir_udspath, sizeof (un.sun_path)) >= in odir_setup() 135 sizeof (un.sun_path)) { in odir_setup()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 72 (sizeof (*(su)) - sizeof ((su)->sun_path) + strlen((su)->sun_path)) 514 if (strlcpy(sunaddr.sun_path, path, sizeof (sunaddr.sun_path)) >= in unix_connect() 515 sizeof (sunaddr.sun_path)) { in unix_connect() 544 if (strlcpy(sunaddr.sun_path, path, sizeof (sunaddr.sun_path)) >= in unix_listen() 545 sizeof (sunaddr.sun_path)) { in unix_listen()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irp.c | 53 (sizeof (*(su)) - sizeof ((su)->sun_path) + strlen((su)->sun_path)) 176 strncpy(uaddr.sun_path, irphost, sizeof uaddr.sun_path); in irs_irp_connect()
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | checkpw.c | 431 strncpy(srvaddr.sun_path, pwpath, sizeof(srvaddr.sun_path)); in pwcheck_verify_password() 509 char pwpath[sizeof(srvaddr.sun_path)]; in saslauthd_verify_password() 606 strncpy(srvaddr.sun_path, pwpath, sizeof(srvaddr.sun_path)); in saslauthd_verify_password()
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | uart_backend.c | 476 if (strlcpy(servaddr.sun_path, path, sizeof (servaddr.sun_path)) >= in init_sock() 477 sizeof (servaddr.sun_path)) { in init_sock() 488 (void) unlink(servaddr.sun_path); in init_sock() 505 (void) unlink(servaddr.sun_path); in init_sock()
|
H A D | pci_virtio_console.c | 336 strlcpy(sun.sun_path, basename(pathcopy), sizeof(sun.sun_path)); in pci_vtcon_sock_add() 347 (void) strlcpy(addr.sun_path, pathcopy, sizeof (addr.sun_path)); in pci_vtcon_sock_add()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | control.c | 73 if (strlen(ControlSocketName) >= sizeof(controladdr.sun_path)) in opencontrolsocket() 102 (void) sm_strlcpy(controladdr.sun_path, ControlSocketName, in opencontrolsocket() 103 sizeof(controladdr.sun_path)); in opencontrolsocket()
|
H A D | daemon.c | 1070 rval = safefile(d->d_addr.sunix.sun_path, 1079 d->d_addr.sunix.sun_path); 1084 (void) unlink(d->d_addr.sunix.sun_path); 1632 if (strlen(addr) >= sizeof(d->d_addr.sunix.sun_path)) 1636 addr, sizeof(d->d_addr.sunix.sun_path)); 1641 (void) memset(&d->d_addr.sunix.sun_path, '\0', 1642 sizeof(d->d_addr.sunix.sun_path)); 1643 (void) sm_strlcpy((char *)&d->d_addr.sunix.sun_path, 1645 sizeof(d->d_addr.sunix.sun_path)); 2938 if (strlen(mux_path) >= sizeof(unix_addr.sun_path)) [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_p.c | 147 unsigned int x = sizeof un->sun_path; in ctl_sa_ntop() 151 strncpy(buf, un->sun_path, x - 1); in ctl_sa_ntop()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_opipe.c | 146 (void) snprintf(saddr.sun_path, sizeof (saddr.sun_path), in smb_opipe_connect() 163 (void) snprintf(saddr.sun_path, sizeof (saddr.sun_path), in smb_opipe_exists() 166 err = lookupname(saddr.sun_path, UIO_SYSSPACE, FOLLOW, NULLVPP, &vp); in smb_opipe_exists()
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_pipesvc.c | 196 (void) snprintf(sa.sun_path, sizeof (sa.sun_path), in pipesvc_listener() 200 (void) unlink(sa.sun_path); in pipesvc_listener()
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zcons.c | 471 (void) snprintf(servaddr.sun_path, sizeof (servaddr.sun_path), in init_console_sock() 478 (void) unlink(servaddr.sun_path); in init_console_sock() 495 (void) unlink(servaddr.sun_path); in init_console_sock()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | syslog.c | 211 if ((ul = strlen(buf)) < sizeof(ua.sun_path) && !stat(buf, &st) && S_ISSOCK(st.st_mode)) 216 strcpy(ua.sun_path, buf);
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_ndpd.c | 279 (void) strlcpy(servaddr.sun_path, IPADM_UDS_PATH, in i_ipadm_send_ndpd_cmd() 280 sizeof (servaddr.sun_path)); in i_ipadm_send_ndpd_cmd()
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | listener.c | 243 if (len >= sizeof addr.sunix.sun_path) 250 (void) sm_strlcpy(addr.sunix.sun_path, colon, 251 sizeof addr.sunix.sun_path);
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/ |
H A D | dnssd_ipc.h | 89 # define MAX_CTLPATH (sizeof(((struct sockaddr_un*)0)->sun_path))
|