Latest patch appears to allow setting properties listed as 'access=read' even though I"ve disabled legacy property access:
NetworkManager: object_registration_message: prop lookup name 'ip4_address'
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (is set 0)
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (access type readwrite)
NetworkManager: object_registration_message: prop lookup name 'ip4_address'
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (is set 1)
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (access type readwrite)
NetworkManager: object_registration_message: prop lookup name 'ip4_address'
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (is set 0)
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (access type readwrite)
but introspection/nm-device.xml lists Ip4Address as access=read.
Also, you can kill the:
/* Try both forms of property names: "foo_bar" or "FooBar"; for historical
* reasons we accept both.
*/
if (object_info
&& !(property_info_from_object_info (object_info, wincaps_propiface, requested_propname, &access_type)
'object_info' check there now in check_property_access since there's a check for if (!object_info) just above.
Latest patch appears to allow setting properties listed as 'access=read' even though I"ve disabled legacy property access:
NetworkManager: object_ registration_ message: prop lookup name 'ip4_address' access: iface org.freedesktop .NetworkManager .Device name Ip4Address (is set 0) access: iface org.freedesktop .NetworkManager .Device name Ip4Address (access type readwrite) registration_ message: prop lookup name 'ip4_address' access: iface org.freedesktop .NetworkManager .Device name Ip4Address (is set 1) access: iface org.freedesktop .NetworkManager .Device name Ip4Address (access type readwrite) registration_ message: prop lookup name 'ip4_address' access: iface org.freedesktop .NetworkManager .Device name Ip4Address (is set 0) access: iface org.freedesktop .NetworkManager .Device name Ip4Address (access type readwrite)
NetworkManager: check_property_
NetworkManager: check_property_
NetworkManager: object_
NetworkManager: check_property_
NetworkManager: check_property_
NetworkManager: object_
NetworkManager: check_property_
NetworkManager: check_property_
but introspection/ nm-device. xml lists Ip4Address as access=read.
Also, you can kill the:
/* Try both forms of property names: "foo_bar" or "FooBar"; for historical info_from_ object_ info (object_info, wincaps_propiface, requested_propname, &access_type)
* reasons we accept both.
*/
if (object_info
&& !(property_
'object_info' check there now in check_property_ access since there's a check for if (!object_info) just above.