Searched refs:xauthdir (Results 1 – 2 of 2) sorted by relevance
211 char *xauthdir, *xauthfile; in client_x11_get_proto() local214 xauthdir = xauthfile = NULL; in client_x11_get_proto()239 xauthdir = xmalloc(MAXPATHLEN); in client_x11_get_proto()241 strlcpy(xauthdir, "/tmp/ssh-XXXXXXXXXX", MAXPATHLEN); in client_x11_get_proto()242 if (mkdtemp(xauthdir) != NULL) { in client_x11_get_proto()245 xauthdir); in client_x11_get_proto()283 rmdir(xauthdir); in client_x11_get_proto()285 if (xauthdir) in client_x11_get_proto()286 xfree(xauthdir); in client_x11_get_proto()
1827 char xauthdir[] = "/tmp/ssh-xauth-XXXXXX"; in session_x11_req() local1853 if (mkdtemp(xauthdir) != NULL) { in session_x11_req()1856 xauthdir); in session_x11_req()1869 if (rmdir(xauthdir) == -1) { in session_x11_req()1871 xauthdir, strerror(errno)); in session_x11_req()