NetworkManager/src/ip6-manager
Dan Williams a021e40e33 core: fix semantics of nm_utils_do_sysctl()
This function gets used for both /proc/sys (ie, sysctl) and for
sysfs attributes.  There are two issues with it:

1) most sysctl values don't care about a trailing LF, but some
sysfs attributes (infiniband) do; so we always have to add the
trailing LF.  Just move that into the function to ensure that
callers don't forget to add it.

2) neither sysfs or sysctl support partial writes, while the
existing function did partial writes.  Practically, both the
write handlers for sysfs and sysctl should always handle all
the data, but if they don't, partial writes are wrong.  So
instead, try three times to write all the data.
2012-11-30 13:21:50 -06:00
..
Makefile.am build: remove G_DISABLE_DEPRECATED 2012-10-31 19:41:07 +01:00
nm-ip6-manager.c core: fix semantics of nm_utils_do_sysctl() 2012-11-30 13:21:50 -06:00
nm-ip6-manager.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00