All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][master][dizzy]PATCH v2] xserver-common: disable TCP connections
@ 2014-11-26  8:34 Javier Viguera
  2014-12-02  3:44 ` akuster808
  0 siblings, 1 reply; 2+ messages in thread
From: Javier Viguera @ 2014-11-26  8:34 UTC (permalink / raw)
  To: openembedded-devel

For security reasons disable TCP connections to the xserver.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
---

Notes:
    v2:
      * Add upstream-status

 ...15-xserver-common-disable-TCP-connections.patch | 24 ++++++++++++++++++++++
 .../xserver-common/xserver-common_1.34.bb          |  1 +
 2 files changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch

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 000000000000..06df2618bd76
--- /dev/null
+++ b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch
@@ -0,0 +1,24 @@
+From: Javier Viguera <javier.viguera@digi.com>
+Date: Wed, 26 Nov 2014 09:24:44 +0100
+Subject: [PATCH] xserver-common: disable TCP connections
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Javier Viguera <javier.viguera@digi.com>
+---
+ X11/xserver-common | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/X11/xserver-common b/X11/xserver-common
+index 017e5aee1ab0..4dc48c412741 100644
+--- a/X11/xserver-common
++++ b/X11/xserver-common
+@@ -44,7 +44,7 @@ SCREEN_SIZE=`fallback_screen_arg`
+ export USER=root
+ export XSERVER_DEFAULT_ORIENTATION=normal
+ 
+-ARGS="-br -pn $INPUT_EXTRA_ARGS"
++ARGS="-br -pn -nolisten tcp $INPUT_EXTRA_ARGS"
+ DPI="100"
+ MOUSE=""
+ 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 12fff9ae9a0d..f5b1984cdde3 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 = " \
     file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \
     file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \
     file://0014-Xserver-Start-Xsession-like-x11-common-does.patch \
+    file://0015-xserver-common-disable-TCP-connections.patch \
 "
 
 do_install_append() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][master][dizzy]PATCH v2] xserver-common: disable TCP connections
  2014-11-26  8:34 [meta-oe][master][dizzy]PATCH v2] xserver-common: disable TCP connections Javier Viguera
@ 2014-12-02  3:44 ` akuster808
  0 siblings, 0 replies; 2+ messages in thread
From: akuster808 @ 2014-12-02  3:44 UTC (permalink / raw)
  To: openembedded-devel

thanks.

pulling in change for next round of merges.

- Armin

On 11/26/2014 12:34 AM, Javier Viguera wrote:
> For security reasons disable TCP connections to the xserver.
>
> Signed-off-by: Javier Viguera <javier.viguera@digi.com>
> ---
>
> Notes:
>      v2:
>        * Add upstream-status
>
>   ...15-xserver-common-disable-TCP-connections.patch | 24 ++++++++++++++++++++++
>   .../xserver-common/xserver-common_1.34.bb          |  1 +
>   2 files changed, 25 insertions(+)
>   create mode 100644 meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch
>
> 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 000000000000..06df2618bd76
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch
> @@ -0,0 +1,24 @@
> +From: Javier Viguera <javier.viguera@digi.com>
> +Date: Wed, 26 Nov 2014 09:24:44 +0100
> +Subject: [PATCH] xserver-common: disable TCP connections
> +
> +Upstream-Status: Inappropriate [configuration]
> +
> +Signed-off-by: Javier Viguera <javier.viguera@digi.com>
> +---
> + X11/xserver-common | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/X11/xserver-common b/X11/xserver-common
> +index 017e5aee1ab0..4dc48c412741 100644
> +--- a/X11/xserver-common
> ++++ b/X11/xserver-common
> +@@ -44,7 +44,7 @@ SCREEN_SIZE=`fallback_screen_arg`
> + export USER=root
> + export XSERVER_DEFAULT_ORIENTATION=normal
> +
> +-ARGS="-br -pn $INPUT_EXTRA_ARGS"
> ++ARGS="-br -pn -nolisten tcp $INPUT_EXTRA_ARGS"
> + DPI="100"
> + MOUSE=""
> + 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 12fff9ae9a0d..f5b1984cdde3 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 = " \
>       file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \
>       file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \
>       file://0014-Xserver-Start-Xsession-like-x11-common-does.patch \
> +    file://0015-xserver-common-disable-TCP-connections.patch \
>   "
>
>   do_install_append() {
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-02  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-26  8:34 [meta-oe][master][dizzy]PATCH v2] xserver-common: disable TCP connections Javier Viguera
2014-12-02  3:44 ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.