]> git.ipfire.org Git - thirdparty/systemd.git/commit
dbus-execute: make transfer of CPUAffinity endian safe (#12711)
authorMichal Sekletar <msekletar@users.noreply.github.com>
Fri, 31 May 2019 13:23:23 +0000 (15:23 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 31 May 2019 13:23:23 +0000 (15:23 +0200)
commit75e40119a471454516ad0acc96f6f4094e7fb652
tree1ac5cf07a273537d991d1e8d9e6a6ecc7c8f328e
parentaae3c9a0753d32cbc366e7834cb29c2b7e2c8fcf
dbus-execute: make transfer of CPUAffinity endian safe (#12711)

We store the affinity mask in the native endian. However, over D-Bus we
must transfer the mask in little endian byte order.

This is the second part of c367f996f5f091a63f812f0140b304c649be77fc.
src/core/dbus-execute.c