Home
last modified time | relevance | path

Searched refs:xauthdir (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/ssh/ssh/
H A Dclientloop.c211 char *xauthdir, *xauthfile; in client_x11_get_proto() local
214 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()
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dsession.c1827 char xauthdir[] = "/tmp/ssh-xauth-XXXXXX"; in session_x11_req() local
1853 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()