-
Thomas Haller authored
The value written to sysctl is usually a short string. It makes sense to optimize for this case and avoid allocating a temporary string on the heap. An alternative would be to use writev(), which effectively does the same and also creates a temporary buffer (preferably stack allocated). https://mail.gnome.org/archives/networkmanager-list/2016-February/msg00070.html
b913e1d6