libnm: add safe file access backported symbols from 1.52.2

Add to branch nm-1-56 symbols for safe file access that were
backported to 1.52.2 to allow seamless upgrading from 1.52 to 1.56.
This commit is contained in:
Beniamino Galvani 2026-01-20 11:43:05 +01:00
parent 9c5b56d42a
commit 1a7f424ac8
2 changed files with 17 additions and 0 deletions

View file

@ -2064,6 +2064,11 @@ global:
nm_ethtool_optname_is_fec;
} libnm_1_50_0;
libnm_1_52_2 {
#nm_utils_copy_cert_as_user@libnm_1_52_2;
#nm_vpn_plugin_info_supports_safe_private_file_access@libnm_1_52_2;
} libnm_1_52_0;
libnm_1_54_0 {
global:
nm_setting_ip_config_forwarding_get_type;

View file

@ -9339,3 +9339,15 @@ NM_BACKPORT_SYMBOL(libnm_1_50_4,
(optname));
NM_BACKPORT_SYMBOL(libnm_1_50_4, GType, nm_setting_ethtool_fec_mode_get_type, (void), ());
NM_BACKPORT_SYMBOL(libnm_1_52_2,
char *,
nm_utils_copy_cert_as_user,
(const char *filename, const char *user, GError **error),
(filename, user, error));
NM_BACKPORT_SYMBOL(libnm_1_52_2,
gboolean,
nm_vpn_plugin_info_supports_safe_private_file_access,
(NMVpnPluginInfo * self),
(self));