summaryrefslogtreecommitdiff
path: root/src/core/nm-core-utils.c
Commit message (Expand)AuthorAgeFilesLines
* core: use NMStrBuf in nm_utils_stable_id_parse()Thomas Haller2023-04-211-27/+24
* libnm,core: make "default${CONNECTION}" the built-in stable IDThomas Haller2023-04-211-0/+8
* core: drop unnecessary initialization in nm_utils_spawn_helper()Thomas Haller2023-04-041-4/+1
* core: use nm_io_fcntl_setfl_update_nonblock() helperThomas Haller2023-04-041-8/+3
* all: use G_SPAWN_CLOEXEC_PIPES with g_spawn_async_with_pipes()Thomas Haller2023-04-041-1/+1
* core: fix setting non-blocking stderr in nm_utils_spawn_helper()Thomas Haller2023-04-041-1/+1
* core: fix setting non-blocking FD in nm_utils_spawn_helper()Thomas Haller2023-04-041-2/+2
* core: error out in nm_utils_kill_child_{sync,async}() if first waitpid() give...Thomas Haller2023-04-031-19/+13
* core: pre-allocate exact buffer size for output in nm_utils_spawn_helper()Thomas Haller2023-04-031-1/+4
* core/trivial: add code comment about using GChildWatchSourceThomas Haller2023-04-031-0/+12
* core: use nm_g_child_watch_source_new() in nm_utils_spawn_helper()Thomas Haller2023-04-031-5/+5
* core: assert that nm_utils_spawn_helper() is used with default contextThomas Haller2023-04-031-0/+6
* core: store main context in variable in nm_utils_spawn_helper()Thomas Haller2023-04-031-5/+8
* core: qualify logging lines related to helper with "nm-daemon-helper"Thomas Haller2023-04-031-8/+2
* core: rename nmlog defines in "nm-core-utils.c"Thomas Haller2023-04-031-20/+26
* core: use nm_clear_fd() helper in nm_utils_spawn_helper()Thomas Haller2023-04-031-12/+5
* doc: replace all (allow-none) annotations by (optional) and/or (nullable)Corentin Noël2023-03-271-2/+2
* core: print stderr from nm-daemon-helperBeniamino Galvani2023-02-211-1/+43
* core: change buffer allocation size for the daemon helperBeniamino Galvani2023-02-211-2/+2
* all: use nm_random_*() instead of g_random_*()Thomas Haller2023-01-301-3/+1
* core: check hardware address length in nm_utils_get_ipv6_interface_identifier()Thomas Haller2022-12-061-14/+21
* core: fix possible unaligned access in nm_utils_get_ipv6_interface_identifier()Thomas Haller2022-12-061-1/+1
* clang-format: reformat code with clang-format 15.0.4-1.fc37Thomas Haller2022-11-231-2/+2
* core: fix code comment in _host_id_hash_v2()Thomas Haller2022-10-251-5/+11
* all: fix deprecated function declaration without a prototypeThomas Haller2022-10-111-2/+2
* all: use nm_g_array_{index,first,last,index_p}() instead of g_array_index()Thomas Haller2022-09-151-4/+4
* glib-aux: add nm_g_array_index() macro and improve nm_g_array_index_p() macrosThomas Haller2022-09-151-1/+1
* glib-aux: rename IP address related helpers from "nm-inet-utils.h"Thomas Haller2022-08-251-1/+1
* core: block to get good random bytes for "/var/lib/NetworkManager/secret_key"Thomas Haller2022-08-051-1/+4
* glib-aux: rework random number utilsThomas Haller2022-08-051-3/+3
* core: support "/run/NetworkManager/proc-cmdline" to overwrite /proc/cmdlineThomas Haller2022-07-181-1/+4
* glib-aux: drop nm_str_buf_init() for NM_STR_BUF_INIT()Thomas Haller2022-05-091-2/+2
* all: hardcode HOST_NAME_MAX to 64Thomas Haller2022-04-261-2/+2
* all: use nm_hostname_is_valid() instead of systemd codeThomas Haller2022-04-201-3/+2
* core/trivial: add code comment to nm_utils_stable_id_parse()Thomas Haller2022-03-111-1/+6
* core: use NM_STR_HAS_PREFIX() in nm_utils_stable_id_parse()Thomas Haller2022-03-111-1/+1
* core: rename nm_utils_host_id_get_timestamp_ns() to "nsec"Thomas Haller2022-03-111-12/+12
* core/trivial: reword code comment about fake host-id timestampThomas Haller2022-03-111-2/+9
* core: add nm_utils_shorten_hostname()Beniamino Galvani2022-03-091-0/+48
* core: make nm_utils_get_nm_[ug]id() thread safeThomas Haller2022-01-181-12/+28
* core: move nm_main_utils_get_nm_[ug]id() to "nm-core-utils.h"Thomas Haller2022-01-181-0/+40
* core: log variant properties in connection diffBeniamino Galvani2022-01-031-0/+2
* format: reformat source tree with clang-format 13.0Thomas Haller2021-11-291-116/+116
* core/tests: add nmtst_utils_host_id_{push,pop}() helpers to stub the host-idThomas Haller2021-09-081-1/+74
* core: refactor nm_utils_ipv6_addr_set_stable_privacy() to not failThomas Haller2021-08-311-48/+35
* all: rename nm_utils_strbuf_*() API to nm_strbuf_*()Thomas Haller2021-08-021-4/+4
* core: add nm_utils_connection_match_spec_list()Beniamino Galvani2021-07-271-0/+106
* all: use nm_g_idle_add() instead of g_idle_add()Thomas Haller2021-07-261-1/+1
* clang-format: use "IndentPPDirectives:None" instead of "BeforeHash"Thomas Haller2021-07-091-2/+2
* core: add infrastructure for spawning a helper processBeniamino Galvani2021-06-111-0/+321