NetworkManager/src
Thomas Haller 12ad2c7fe7 main: refactor nm_main_utils_check_pidfile() to exit directly on failure
And rename the function to nm_main_utils_ensure_not_running_pidfile()
to match the other _ensure_ functions that exit(1).

Also no longer pass @name to nm_main_utils_ensure_not_running_pidfile()
and use g_get_prgname() instead.
nm_main_utils_ensure_not_running_pidfile() checks that the running
process has the same program name, so this changes behavior if the
user renamed the binary. Before, we would check whether the running
process is named 'NetworkManager' ('nm-iface-helper'). Now we check
whether the process has the same name as the current process.
This means, that if you rename the binary to 'NetworkManager2' we
would now only detect a conflicting 'NetworkManager2'. Before we would
only detect conflicting 'NetworkManager' binaries.
2015-03-20 11:43:30 +01:00
..
devices libnm,core: don't mix up enum types 2015-03-19 11:48:49 +01:00
dhcp-manager libnm: move _nm_utils_ascii_str_to_int64() from src/ to libnm-core/ 2015-03-12 18:12:26 +01:00
dns-manager dns-manager: react to dns management mode changes 2015-02-25 18:25:04 +01:00
dnsmasq-manager tests: enable valgrind tests for tests 2015-02-09 11:51:07 +01:00
platform build: disable warnings where macros expand to tautological comparisons 2015-03-19 11:48:49 +01:00
ppp-manager core: pass ifindex as parameter to nm_ip6_config_new() 2015-02-27 16:50:09 +01:00
rdisc ndp: memleak: unregister router advertisement handler on dispose 2015-02-18 18:10:47 +01:00
settings trivial: use macro instead of plain C string for gobject property name 2015-03-19 17:01:57 +01:00
supplicant-manager supplicant: disconnect properties handler on dispose 2015-03-10 08:37:40 -05:00
tests libnm: move _nm_utils_uuid_generate_from_strings() from src/ to libnm-core/ 2015-03-12 18:12:26 +01:00
vpn-manager vpn: convert NMVpnConnection <-> VPN service communication to GDBus (bgo #745307) 2015-03-03 15:04:46 -06:00
main-utils.c main: refactor nm_main_utils_check_pidfile() to exit directly on failure 2015-03-20 11:43:30 +01:00
main-utils.h main: refactor nm_main_utils_check_pidfile() to exit directly on failure 2015-03-20 11:43:30 +01:00
main.c main: refactor nm_main_utils_check_pidfile() to exit directly on failure 2015-03-20 11:43:30 +01:00
Makefile.am supplicant: remove unused nm-call-store.c/.h 2015-03-03 14:56:26 -06:00
NetworkManagerUtils.c libnm: move _nm_utils_uuid_generate_from_strings() from src/ to libnm-core/ 2015-03-12 18:12:26 +01:00
NetworkManagerUtils.h libnm: move _nm_utils_uuid_generate_from_strings() from src/ to libnm-core/ 2015-03-12 18:12:26 +01:00
nm-activation-request.c core, dispatcher: drop unnecessary setpgid() calls 2015-01-19 11:29:13 -05:00
nm-activation-request.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-active-connection.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-active-connection.h vpn/core: move VPN gateway route between devices when routing changes 2014-11-06 21:17:34 -06:00
nm-auth-manager.c auth: destroy singleton instance of NMAuthManager on exit 2015-01-12 12:10:03 +01:00
nm-auth-manager.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-auth-subject.c auth: fix memleak in _new_unix_process() 2015-01-29 14:59:42 +01:00
nm-auth-subject.h auth: support disabling POLKIT authentication entirely at compile time 2014-09-29 13:51:11 +02:00
nm-auth-utils.c auth-utils: memleak: free the key when we steal data 2015-02-18 18:10:47 +01:00
nm-auth-utils.h auth: remove session monitor argument 2015-01-05 18:38:44 +01:00
nm-config-data.c config: move dns mode configuration to NMConfigData 2015-02-25 18:25:04 +01:00
nm-config-data.h config: move dns mode configuration to NMConfigData 2015-02-25 18:25:04 +01:00
nm-config.c config: move dns mode configuration to NMConfigData 2015-02-25 18:25:04 +01:00
nm-config.h config: move dns mode configuration to NMConfigData 2015-02-25 18:25:04 +01:00
nm-connection-provider.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-connection-provider.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-connectivity.c connectivity: disable HTTP keepalive for connectivity checks 2015-03-16 10:45:25 -05:00
nm-connectivity.h connectivity: make NMConnectivity independent of NMConfig 2015-02-03 13:01:53 +01:00
nm-dbus-manager.c dbus-manager: add nm_dbus_manager_setup() function for testing 2015-02-16 17:42:01 +01:00
nm-dbus-manager.h dbus-manager: add nm_dbus_manager_setup() function for testing 2015-02-16 17:42:01 +01:00
nm-dcb.c core: use GUnixSignalWatchSource to simplify signal handling 2015-01-19 11:29:13 -05:00
nm-dcb.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-default-route-manager.c default-route-manager/trivial: add code comment 2015-02-17 12:28:55 +01:00
nm-default-route-manager.h policy: remove redundant remove_default_route() functions from NMDefaultRouteManager 2014-11-19 22:55:32 +01:00
nm-dhcp4-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp4-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dhcp6-config.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-dhcp6-config.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dispatcher.c trivial: remove a tautological compare 2015-03-19 11:48:49 +01:00
nm-dispatcher.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-firewall-manager.c core: declare nm_firewall_manager_get() using NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:03 +01:00
nm-firewall-manager.h firewall: make call handle an opaque pointer type 2014-11-19 12:58:36 +01:00
nm-iface-helper.c main: refactor nm_main_utils_check_pidfile() to exit directly on failure 2015-03-20 11:43:30 +01:00
nm-ip4-config.c nm-device: move device MTU setting from IP4Config to NMDevice 2015-03-09 18:21:01 +01:00
nm-ip4-config.h core: pass ifindex as parameter to nm_ip6_config_new() 2015-02-27 16:50:09 +01:00
nm-ip6-config.c core: pass ifindex as parameter to nm_ip6_config_new() 2015-02-27 16:50:09 +01:00
nm-ip6-config.h core: pass ifindex as parameter to nm_ip6_config_new() 2015-02-27 16:50:09 +01:00
nm-logging.c logging: add error argument to _nm_log() to support "%m" format specifier 2015-03-02 14:22:09 +01:00
nm-logging.h build: disable warnings where macros expand to tautological comparisons 2015-03-19 11:48:49 +01:00
nm-manager.c manager: don't re-assume generated connections 2015-02-24 18:42:52 +01:00
nm-manager.h iface-helper: add nm-iface-helper for dynamic configure-then-quit support 2014-11-07 12:18:33 -06:00
nm-policy.c core: declare nm_dns_manager_get() using NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:02 +01:00
nm-policy.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-properties-changed-signal.c core: intern hyphen_name string in nm_properties_changed_signal_add_property() 2015-01-29 16:23:43 +01:00
nm-properties-changed-signal.h core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-rfkill-manager.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-rfkill-manager.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-route-manager.c route-manager: fix memleaks in nm_route_manager_ip4_route_sync() 2015-03-12 13:51:06 +01:00
nm-route-manager.h core: split route management code out from platform 2015-02-27 16:48:27 +01:00
nm-session-monitor.c core: fix session-monitor build with --with-session-tracking=none 2015-02-05 11:09:22 +01:00
nm-session-monitor.h session: merge nm-session-monitor-* modules 2015-01-05 18:39:46 +01:00
nm-sleep-monitor-systemd.c core: declare nm_sleep_monitor_get() using NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:02 +01:00
nm-sleep-monitor-upower.c core: declare nm_sleep_monitor_get() using NM_DEFINE_SINGLETON_GETTER() 2015-01-12 12:10:02 +01:00
nm-sleep-monitor.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-types.h core: split route management code out from platform 2015-02-27 16:48:27 +01:00
org.freedesktop.NetworkManager.conf vpn: convert NMVpnConnection <-> VPN service communication to GDBus (bgo #745307) 2015-03-03 15:04:46 -06:00