<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/os/connection.c, branch pr/various9</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=pr%2Fvarious9</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=pr%2Fvarious9'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2020-05-07T12:57:15+00:00</updated>
<entry>
<title>Clarify use of and need for mffs vs. ffs</title>
<updated>2020-05-07T12:57:15+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-18T21:32:07+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=91925d70d901b180fffa1f40e0afafbc4b6c560e'/>
<id>urn:sha1:91925d70d901b180fffa1f40e0afafbc4b6c560e</id>
<content type='text'>
Backport of this xorg-xserver commit:

  commit 75c51c67b340548286efd41a53882e2acaf74ab5
  Author: Alan Coopersmith &lt;alan.coopersmith@sun.com&gt;
  Date:   Thu Jun 18 09:49:12 2009 -0700

    Clarify use of and need for mffs vs. ffs

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@sun.com&gt;
</content>
</entry>
<entry>
<title>os: remove CYGWIN remnants</title>
<updated>2020-05-07T10:55:03+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-01-08T06:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=bd9ada59b47fb777ad1524abdc23b1a151494fff'/>
<id>urn:sha1:bd9ada59b47fb777ad1524abdc23b1a151494fff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>os: unifdef WIN32</title>
<updated>2020-01-05T23:50:26+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-11-07T21:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=d409b566bdaf7d40f1697095e62b7811c793fd30'/>
<id>urn:sha1:d409b566bdaf7d40f1697095e62b7811c793fd30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nx-X11/programs/Xserver/os/connection.c: compact display autodetection code.</title>
<updated>2017-04-20T16:27:11+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2017-04-20T16:27:11+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=f3d406109310404f14c9f489e89e70dfe8ed1119'/>
<id>urn:sha1:f3d406109310404f14c9f489e89e70dfe8ed1119</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Xserver/os/connection.c: If -displayfd and an explicit display port number are given, use the explicit display number as a starting point for auto-detecting the next available display number.</title>
<updated>2017-04-20T12:21:53+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-04-07T13:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=ec185d7f7a5697d946c10c2dc58101dfe2d6aabf'/>
<id>urn:sha1:ec185d7f7a5697d946c10c2dc58101dfe2d6aabf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Xserver/os/connection.c: Accompany display number with some human-readable (machine-parseable) text when -displayfd is set to STDERR.</title>
<updated>2017-04-20T12:21:53+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-04-07T13:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=f4d7863f81e8314e6fc1fac1ea6ac54da89eea56'/>
<id>urn:sha1:f4d7863f81e8314e6fc1fac1ea6ac54da89eea56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>os: FatalError if -displayfd writes fail AND Clear the -displayfd option after closing the file</title>
<updated>2017-03-21T09:58:08+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2017-03-15T15:46:32+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=a95cfdf48aa5102e16611360917c60b9354192fa'/>
<id>urn:sha1:a95cfdf48aa5102e16611360917c60b9354192fa</id>
<content type='text'>
 commit d72f691c0c9cace857975a6608a4cb431c8b6846
 Author: Keith Packard &lt;keithp@keithp.com&gt;
 Date:   Fri Apr 18 15:00:30 2014 -0700

    os: FatalError if -displayfd writes fail

    When the server is started with the -displayfd option, check to make
    sure that the writes succeed and give up running if they don't.

    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
    Reviewed-by: Jamey Sharp &lt;jamey@minilop.net&gt;

 commit 4957e986841225e9984daca76f1a0ee08df125bb
 Author: Keith Packard &lt;keithp@keithp.com&gt;
 Date:   Fri Apr 18 15:00:35 2014 -0700

    os: Clear the -displayfd option after closing the file

    Failing to clear this means that we'll attempt to write the display
    number to a random file descriptor on subsequent X server generations.

    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
    Reviewed-by: Jamey Sharp &lt;jamey@minilop.net&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>Use unique logfile names when starting server with -displayfd</title>
<updated>2017-03-21T09:58:08+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2017-03-15T15:42:10+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=e96e810c2287232000767ee55f2d1b84b31e6291'/>
<id>urn:sha1:e96e810c2287232000767ee55f2d1b84b31e6291</id>
<content type='text'>
 commit edcb6426f20c3be5dd5f50b76a686754aef2f64e
 Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
 Date:   Fri Jan 1 18:11:14 2016 -0800

    Use unique logfile names when starting server with -displayfd

    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=93212

    Previously all X servers started with -displayfd would overwrite
    Xorg.0.log - now a temporary name of Xorg.pid-&lt;pid&gt;.log is used
    until after -displayfd finds an open display - then it is renamed
    to the traditional Xorg.&lt;display&gt;.log name.

    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>os: -displayfd should check ports up to 65535</title>
<updated>2017-03-21T09:58:08+00:00</updated>
<author>
<name>Jon TURNEY</name>
<email>jon.turney@dronecode.org.uk</email>
</author>
<published>2017-03-15T15:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=faaba2661306288bb25d9a5a5b81ef80fa6b851f'/>
<id>urn:sha1:faaba2661306288bb25d9a5a5b81ef80fa6b851f</id>
<content type='text'>
 commit ea5b2b0a2e2143ad1414fcbdc081b5d584588346
 Author: Jon TURNEY &lt;jon.turney@dronecode.org.uk&gt;
 Date:   Tue Oct 21 15:03:55 2014 +0100

    os: -displayfd should check ports up to 65535

    -displayfd should check ports up to 65535

    Noticed during https://cygwin.com/ml/cygwin-xfree/2014-07/msg00024.html

    Signed-off-by: Jon TURNEY &lt;jon.turney@dronecode.org.uk&gt;
    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>os: Use NotifyFd interface for listen descriptors</title>
<updated>2017-03-21T09:58:08+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2017-03-15T15:16:37+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=c468be804ec48231db12f504c2d877ef7a11adc1'/>
<id>urn:sha1:c468be804ec48231db12f504c2d877ef7a11adc1</id>
<content type='text'>
 Bundle X.org backport of these commits:

 commit 7ea64fb4374504bd3d524fc08c90efdab9f253ea
 Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
 Date:   Mon Mar 9 09:55:57 2015 -0700

    Clear ListenTransConns entries in CloseWellKnownConnections

    Since _XSERVTransClose frees the connection pointer passed to it,
    remove that pointer from the array, so we don't try to double free it
    if we come back into CloseWellKnownConnections again.

    Should fix https://bugzilla.yoctoproject.org/show_bug.cgi?id=6665 in which
    the shutdown section of the main() loop called CloseWellKnownConnections()
    and then moved on to ddxGiveUp(), which failed to release the VT and thus
    called AbortServer(), which called CloseWellKnownConnections() again.

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

 commit 7b02f0b87ec2fa0cc5a65307a1fd55c671cec884
 Author: Keith Packard &lt;keithp@keithp.com&gt;
 Date:   Wed Nov 11 22:02:17 2015 -0800

    os: Use NotifyFd interface for listen descriptors

    Replace the custom path for dealing with new incoming connections with
    the general-purpose NotifyFd API.

    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

 commit ba71b69f94f00a6f6910597185610668e79c10be
 Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
 Date:   Fri Jan 1 17:34:41 2016 -0800

    Avoid segfault in CloseWellKnownConnections when using -displayfd

    When -displayfd is looping through the possible display ids to use,
    if it can't open all the listening sockets for one (say when :0 is
    already in use), it calls CloseWellKnownConnections to close all
    the ListenTransConns entries before the point that ListenTransFds
    was allocated &amp; initialized, so CloseWellKnownConnections would
    segfault trying to read entries from a NULL ListenTransFds pointer.

    Introduced by commit 7b02f0b8

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
</feed>
