Searched refs:sun_path (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/sys/ |
H A D | un.h | 82 char sun_path[104]; /* [XSI] path name (gag) */ member in struct:sockaddr_un 123 (sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsm_token.c | 866 * Please note that sun_len may not be correctly set and sun_path may 869 if (so->sun_len >= offsetof(struct sockaddr_un, sun_path)) 870 slen = min(so->sun_len - offsetof(struct sockaddr_un, sun_path), 871 strnlen(so->sun_path, sizeof(so->sun_path))); 873 slen = strnlen(so->sun_path, sizeof(so->sun_path)); 882 ADD_MEM(dptr, so->sun_path, slen);
|
H A D | audit_arg.c | 353 char path[SOCK_MAXADDRLEN - offsetof(struct sockaddr_un, sun_path) + 1]; 372 slen = sun->sun_len - offsetof(struct sockaddr_un, sun_path); 378 if (sun->sun_path[slen] != 0) { 379 bcopy(sun->sun_path, path, slen); 383 audit_arg_upath(ar, cwd_vp, sun->sun_path,
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_usrreq.c | 941 namelen = soun->sun_len - offsetof(struct sockaddr_un, sun_path); 947 strlcpy(buf, soun->sun_path, namelen+1); 1050 len = nam->sa_len - offsetof(struct sockaddr_un, sun_path); 1054 strlcpy(buf, soun->sun_path, len+1); 1222 !strncmp(soun->sun_path, MDNSRESPONDER_PATH,
|
Completed in 109 milliseconds