<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git, branch lr/namespace</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>platform/tests: don't attempt to mount anything to /sys/devices</title>
<updated>2016-10-17T13:19:08+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2016-10-17T13:16:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a19fbe0aa08b9e8a80f64d96a2635ccc0c12ffac'/>
<id>a19fbe0aa08b9e8a80f64d96a2635ccc0c12ffac</id>
<content type='text'>
More recent kernels won't allow that in userns when /sys itself
is read-only.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More recent kernels won't allow that in userns when /sys itself
is read-only.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "platform/tests: skip root tests when we can't mount /sys/devices"</title>
<updated>2016-10-17T13:18:37+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2016-10-17T13:16:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=2d7e4b891b5988e219aca31f17211c5e316e8176'/>
<id>2d7e4b891b5988e219aca31f17211c5e316e8176</id>
<content type='text'>
This was plain stupid. We don't care about sysfs being writable or
anything *before* entering the namespace.

This reverts commit 15a26d6192ed24cb97f443a06a1514e82e58b43f.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was plain stupid. We don't care about sysfs being writable or
anything *before* entering the namespace.

This reverts commit 15a26d6192ed24cb97f443a06a1514e82e58b43f.
</pre>
</div>
</content>
</entry>
<entry>
<title>core: introduce default logging macros</title>
<updated>2016-10-14T13:57:43+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2016-10-14T13:32:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=92a8cfac69d8ac00df94dc4da7a09d8f168d0c46'/>
<id>92a8cfac69d8ac00df94dc4da7a09d8f168d0c46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "contrib/rpm: run `make check` in parallel"</title>
<updated>2016-10-14T13:48:27+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-10-14T13:48:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=f551c91d3355184ba810f5ea63df79e3cefb678b'/>
<id>f551c91d3355184ba810f5ea63df79e3cefb678b</id>
<content type='text'>
`make check -C libnm/tests` is not yet ready to run in
parallel. Revert.

This reverts commit 0a1508358d7754e23cb0c516da02d1e3bb515b72.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`make check -C libnm/tests` is not yet ready to run in
parallel. Revert.

This reverts commit 0a1508358d7754e23cb0c516da02d1e3bb515b72.
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib/rpm: rename obsoletes_nmver to obsoletes_version_device_plugins</title>
<updated>2016-10-14T09:26:13+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-10-14T07:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=5ea319637605a7a638bdda2689de53be681cdf9d'/>
<id>5ea319637605a7a638bdda2689de53be681cdf9d</id>
<content type='text'>
We will have multiple obsoletes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We will have multiple obsoletes
</pre>
</div>
</content>
</entry>
<entry>
<title>merge: branch 'bg/platform-unaligned-stats64-bgo772605'</title>
<updated>2016-10-14T09:16:42+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2016-10-14T09:16:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=d7b32008b7c66709df41b96d58d83fc4bb0a4d08'/>
<id>d7b32008b7c66709df41b96d58d83fc4bb0a4d08</id>
<content type='text'>
https://bugzilla.gnome.org/show_bug.cgi?id=772605
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.gnome.org/show_bug.cgi?id=772605
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: avoid unaligned access to link stats on 64bit architectures</title>
<updated>2016-10-14T09:16:13+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2016-10-08T12:39:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=89bcf50f617193e88d69992ed3f9ba73decdffe7'/>
<id>89bcf50f617193e88d69992ed3f9ba73decdffe7</id>
<content type='text'>
The undefined behavior sanitizer complains with:

platform/nm-linux-platform.c:1482:31: runtime error: member access within misaligned address 0x61a000016fac for type 'struct rtnl_link_stats64', which requires 8 byte alignment
0x61a000016fac: note: pointer points here
  bc 00 17 00 bf 05 00 00  00 00 00 00 bf 05 00 00  00 00 00 00 b5 68 02 00  00 00 00 00 b5 68 02 00
              ^
platform/nm-linux-platform.c:1483:29: runtime error: member access within misaligned address 0x61a000016fac for type 'struct rtnl_link_stats64', which requires 8 byte alignment
0x61a000016fac: note: pointer points here
  bc 00 17 00 bf 05 00 00  00 00 00 00 bf 05 00 00  00 00 00 00 b5 68 02 00  00 00 00 00 b5 68 02 00
              ^
platform/nm-linux-platform.c:1484:31: runtime error: member access within misaligned address 0x61a000016fac for type 'struct rtnl_link_stats64', which requires 8 byte alignment
0x61a000016fac: note: pointer points here
  bc 00 17 00 bf 05 00 00  00 00 00 00 bf 05 00 00  00 00 00 00 b5 68 02 00  00 00 00 00 b5 68 02 00
              ^
platform/nm-linux-platform.c:1485:29: runtime error: member access within misaligned address 0x61a000016fac for type 'struct rtnl_link_stats64', which requires 8 byte alignment
0x61a000016fac: note: pointer points here
  bc 00 17 00 bf 05 00 00  00 00 00 00 bf 05 00 00  00 00 00 00 b5 68 02 00  00 00 00 00 b5 68 02 00
              ^

That's because the pointer returned by nla_data() is only
32bit-aligned and using it to access structure members can cause
issues on some 64bit architectures.

Use the unaligned_read_ne64() macro to access the structure members.

https://bugzilla.gnome.org/show_bug.cgi?id=772605
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The undefined behavior sanitizer complains with:

platform/nm-linux-platform.c:1482:31: runtime error: member access within misaligned address 0x61a000016fac for type 'struct rtnl_link_stats64', which requires 8 byte alignment
0x61a000016fac: note: pointer points here
  bc 00 17 00 bf 05 00 00  00 00 00 00 bf 05 00 00  00 00 00 00 b5 68 02 00  00 00 00 00 b5 68 02 00
              ^
platform/nm-linux-platform.c:1483:29: runtime error: member access within misaligned address 0x61a000016fac for type 'struct rtnl_link_stats64', which requires 8 byte alignment
0x61a000016fac: note: pointer points here
  bc 00 17 00 bf 05 00 00  00 00 00 00 bf 05 00 00  00 00 00 00 b5 68 02 00  00 00 00 00 b5 68 02 00
              ^
platform/nm-linux-platform.c:1484:31: runtime error: member access within misaligned address 0x61a000016fac for type 'struct rtnl_link_stats64', which requires 8 byte alignment
0x61a000016fac: note: pointer points here
  bc 00 17 00 bf 05 00 00  00 00 00 00 bf 05 00 00  00 00 00 00 b5 68 02 00  00 00 00 00 b5 68 02 00
              ^
platform/nm-linux-platform.c:1485:29: runtime error: member access within misaligned address 0x61a000016fac for type 'struct rtnl_link_stats64', which requires 8 byte alignment
0x61a000016fac: note: pointer points here
  bc 00 17 00 bf 05 00 00  00 00 00 00 bf 05 00 00  00 00 00 00 b5 68 02 00  00 00 00 00 b5 68 02 00
              ^

That's because the pointer returned by nla_data() is only
32bit-aligned and using it to access structure members can cause
issues on some 64bit architectures.

Use the unaligned_read_ne64() macro to access the structure members.

https://bugzilla.gnome.org/show_bug.cgi?id=772605
</pre>
</div>
</content>
</entry>
<entry>
<title>shared: add unaligned.h</title>
<updated>2016-10-14T09:16:13+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2016-10-08T12:38:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=22cc119da5f7c03af78f3b8f7c1a7876d4872717'/>
<id>22cc119da5f7c03af78f3b8f7c1a7876d4872717</id>
<content type='text'>
The file, imported from systemd sources, contains macros for accessing
potentially unaligned data in a safe way (i.e. byte-wise).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The file, imported from systemd sources, contains macros for accessing
potentially unaligned data in a safe way (i.e. byte-wise).
</pre>
</div>
</content>
</entry>
<entry>
<title>build: don't remove shared/nm-version-macros.h upon clean</title>
<updated>2016-10-14T08:59:54+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2016-10-14T08:39:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c95a3a28ac8b181bcf8bab7b74dc7e8e4c0e1244'/>
<id>c95a3a28ac8b181bcf8bab7b74dc7e8e4c0e1244</id>
<content type='text'>
Files generated by ./configure shouldn't be deleted by a 'make clean'.

Fixes: 24f566afa0715162b4e333cf41f7c49a0d62cdfe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Files generated by ./configure shouldn't be deleted by a 'make clean'.

Fixes: 24f566afa0715162b4e333cf41f7c49a0d62cdfe
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm: disconnect devices' signals when disposing manager</title>
<updated>2016-10-14T08:44:18+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2016-10-12T08:33:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=0a61317870ac194b02dd193eca4e837aed211ebb'/>
<id>0a61317870ac194b02dd193eca4e837aed211ebb</id>
<content type='text'>
We connect signal handlers to devices when they appear, but don't
disconnect the handlers when the manager instance is destroyed. This
can cause crashes as device_ac_changed() is called on an invalid
manager instance.

Disconnect the handlers from dispose().

https://bugzilla.redhat.com/show_bug.cgi?id=1383758
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We connect signal handlers to devices when they appear, but don't
disconnect the handlers when the manager instance is destroyed. This
can cause crashes as device_ac_changed() is called on an invalid
manager instance.

Disconnect the handlers from dispose().

https://bugzilla.redhat.com/show_bug.cgi?id=1383758
</pre>
</div>
</content>
</entry>
</feed>
