diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-09 15:29:53 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-09 15:29:53 +0100 |
commit | f6619070bad8c20f8467ceb3c161d7699cc00aff (patch) | |
tree | 870b7ed574d7eebb4ed964fac8a71bc26250aa3a /nx-X11/lib/xtrans/Xtransint.h | |
parent | aaf4a59e4c4ec54a26283bce6bf25281e12f0424 (diff) | |
download | nx-libs-f6619070bad8c20f8467ceb3c161d7699cc00aff.tar.gz nx-libs-f6619070bad8c20f8467ceb3c161d7699cc00aff.tar.bz2 nx-libs-f6619070bad8c20f8467ceb3c161d7699cc00aff.zip |
Support abstract local sockets for Linux systems (028_nx-X11_abstract-kernel-sockets.full.patch).
Relevant code taken from xtrans 1.2.7 on 2014-06-11.
Diffstat (limited to 'nx-X11/lib/xtrans/Xtransint.h')
-rw-r--r-- | nx-X11/lib/xtrans/Xtransint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/lib/xtrans/Xtransint.h b/nx-X11/lib/xtrans/Xtransint.h index 88d223074..1e63a1406 100644 --- a/nx-X11/lib/xtrans/Xtransint.h +++ b/nx-X11/lib/xtrans/Xtransint.h @@ -374,9 +374,10 @@ typedef struct _Xtransport_table { #define TRANS_DISABLED (1<<2) /* Don't open this one */ #define TRANS_NOLISTEN (1<<3) /* Don't listen on this one */ #define TRANS_NOUNLINK (1<<4) /* Dont unlink transport endpoints */ +#define TRANS_ABSTRACT (1<<5) /* Use abstract sockets if available */ /* Flags to preserve when setting others */ -#define TRANS_KEEPFLAGS (TRANS_NOUNLINK) +#define TRANS_KEEPFLAGS (TRANS_NOUNLINK|TRANS_ABSTRACT) /* * readv() and writev() don't exist or don't work correctly on some |