Comment 8 for bug 1647283

Revision history for this message
Shih-Yuan Lee (fourdollars) wrote :

This debdiff is for xenial.

# required by platform-add-a-new-function-nmp_utils_open_sysctl.patch, platform-refactor-nmp_utils_sysctl_open_netdir.patch and all-use-O_CLOEXEC-for-file-descriptors.patch.
core-add-utils-for-file-handling.patch

# required by platform-wifi-use-nmp_utils_open_sysctl-to-check-if-.patch.
platform-refactor-wifi_utils_is_wifi-not-to-pass-sys.patch

# The following patches (backported from 1.4) are directly from https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=ea944d5b4c5eac192a95cf0397459df24fee39cf
shared-add-nm_auto_close-and-nm_auto_fclose.patch
device-wwan-use-nm_auto_close-instead-of-gs_fd_close.patch
platform-add-a-new-function-nmp_utils_open_sysctl.patch
platform-wifi-use-nmp_utils_open_sysctl-to-check-if-.patch
platform-refactor-nmp_utils_sysctl_open_netdir.patch
all-use-O_CLOEXEC-for-file-descriptors.patch

Some header files are changed such as src/nm-core-utils.h, src/platform/wifi/wifi-utils.h, shared/nm-utils/nm-macros-internal.h and src/platform/nm-platform-utils.h.
But only src/platform/wifi/wifi-utils.h changed the interface a little bit while other only added some new interfaces.

src/platform/wifi/wifi-utils.h's change is like the following.

# from platform-refactor-wifi_utils_is_wifi-not-to-pass-sys.patch
-gboolean wifi_utils_is_wifi (const char *iface, const char *sysfs_path);
+gboolean wifi_utils_is_wifi (const char *iface);

# from platform-wifi-use-nmp_utils_open_sysctl-to-check-if-.patch
-gboolean wifi_utils_is_wifi (const char *iface);
+gboolean wifi_utils_is_wifi (int ifindex, const char *ifname);

However these header files are just internal and they should not affect outside.