Home
last modified time | relevance | path

Searched refs:trans_conn (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/external/xserver/os/
H A Dconnection.c521 XtransConnInfo trans_conn; in ClientAuthorized() local
524 trans_conn = priv->trans_conn; in ClientAuthorized()
528 if (trans_conn->flags & TRANS_NOXAUTH) { in ClientAuthorized()
538 if (_XSERVTransGetPeerAddr(trans_conn, &family, &fromlen, &from) != -1) { in ClientAuthorized()
570 if (_XSERVTransGetPeerAddr(trans_conn, &family, &fromlen, &from) != -1) { in ClientAuthorized()
614 AllocNewConnection(XtransConnInfo trans_conn, int fd, CARD32 conn_time) in AllocNewConnection() argument
622 oc->trans_conn = trans_conn; in AllocNewConnection()
667 XtransConnInfo trans_conn, new_trans_conn; in EstablishNewConnections() local
682 if ((trans_conn = lookup_trans_conn(curconn)) == NULL) in EstablishNewConnections()
685 if ((new_trans_conn = _XSERVTransAccept(trans_conn, &status)) == NULL) in EstablishNewConnections()
[all …]
H A Dio.c190 if (oc->trans_conn) in YieldControlNoInput()
345 if (!oc->trans_conn) { in ReadRequestFromClient()
352 result = _XSERVTransRead(oc->trans_conn, oci->buffer + oci->bufcnt, in ReadRequestFromClient()
477 fd = _XSERVTransRecvFd(oc->trans_conn); in ReadFdFromClient()
491 return _XSERVTransSendFd(oc->trans_conn, fd, do_close); in WriteFdToClient()
663 if (oc->trans_conn) { in AbortClient()
828 XtransConnInfo trans_conn = oc->trans_conn; in FlushClient() local
887 if (trans_conn && (len = _XSERVTransWritev(trans_conn, iov, i)) >= 0) { in FlushClient()
H A Dosdep.h120 struct _XtransConnInfo *trans_conn; /* transport connection object */ member
H A Daccess.c1096 if (!oc->trans_conn) in xtransLocalClient()
1099 if (!_XSERVTransGetPeerAddr(oc->trans_conn, &notused, &alen, &from)) { in xtransLocalClient()
1184 ci = ((OsCommPtr) client->osPrivate)->trans_conn; in GetLocalClientCreds()
1623 XtransConnInfo ci = ((OsCommPtr) client->osPrivate)->trans_conn; in ClientIsLocal()
H A Dxdmauth.c277 if (_XSERVTransGetPeerAddr(((OsCommPtr) xclient->osPrivate)->trans_conn, in XdmAuthorizationValidate()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog14280 os: Check oc->trans_conn before using oc->fd in YieldControlNoInput
14282 oc->trans_conn is set to NULL when the connection is closed. At this
14285 oc->trans_conn can be checked in a single place.
14296 In set_poll_client, check oc->trans_conn to make sure the connection
14324 descriptor are moved inside the check for trans_conn and
14325 oc->trans_conn is set to NULL after cleaning up.
108357 ((OsCommPtr)client->osPrivate)->trans_conn is NULL at this point.
108360 trans_conn is NULL, which fixes the crash I was seeing; however Keith
108361 Packard pointed out that just checking trans_conn isn't enough;
108365 _XSERVTransClose is called (which is what frees the trans_conn data) and
[all …]