summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorJavier Viguera <javier.viguera@digi.com>2014-11-26 09:34:14 +0100
committerArmin Kuster <akuster808@gmail.com>2014-12-26 17:53:22 -0800
commit988092c0c21b8a016932a6f787b1ac966645c344 (patch)
treecd251aea58b209930e5844be64f2bbaeacbd085e /meta-oe
parent1721c79c955a70c51d71516a9fd379ac4ab01dee (diff)
downloadmeta-openembedded-988092c0c21b8a016932a6f787b1ac966645c344.tar.gz
xserver-common: disable TCP connections
For security reasons disable TCP connections to the xserver. Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch24
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb1
2 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch
new file mode 100644
index 000000000..06df2618b
--- /dev/null
+++ b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch
@@ -0,0 +1,24 @@
1From: Javier Viguera <javier.viguera@digi.com>
2Date: Wed, 26 Nov 2014 09:24:44 +0100
3Subject: [PATCH] xserver-common: disable TCP connections
4
5Upstream-Status: Inappropriate [configuration]
6
7Signed-off-by: Javier Viguera <javier.viguera@digi.com>
8---
9 X11/xserver-common | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/X11/xserver-common b/X11/xserver-common
13index 017e5aee1ab0..4dc48c412741 100644
14--- a/X11/xserver-common
15+++ b/X11/xserver-common
16@@ -44,7 +44,7 @@ SCREEN_SIZE=`fallback_screen_arg`
17 export USER=root
18 export XSERVER_DEFAULT_ORIENTATION=normal
19
20-ARGS="-br -pn $INPUT_EXTRA_ARGS"
21+ARGS="-br -pn -nolisten tcp $INPUT_EXTRA_ARGS"
22 DPI="100"
23 MOUSE=""
24 KDRIVEARGS=""
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
index 12fff9ae9..f5b1984cd 100644
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
+++ b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
@@ -24,6 +24,7 @@ SRC_URI_append = " \
24 file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \ 24 file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \
25 file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \ 25 file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \
26 file://0014-Xserver-Start-Xsession-like-x11-common-does.patch \ 26 file://0014-Xserver-Start-Xsession-like-x11-common-does.patch \
27 file://0015-xserver-common-disable-TCP-connections.patch \
27" 28"
28 29
29do_install_append() { 30do_install_append() {