summaryrefslogtreecommitdiff
path: root/src/basic/util.h
Commit message (Expand)AuthorAgeFilesLines
* util: another set of CVE-2021-4034 assert()sLennart Poettering2022-02-011-0/+6
* util: move on_ac_power() from util.c -> udev-util.cYu Watanabe2022-01-061-2/+0
* basic/util: add macro variants of log2 functionsZbigniew Jędrzejewski-Szmek2021-11-291-13/+23
* basic/util: rename u64log2 to log2u64Zbigniew Jędrzejewski-Szmek2021-11-261-1/+1
* tree-wide: replace strverscmp() and str_verscmp() with strverscmp_improved()Yu Watanabe2021-02-091-2/+0
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* pid1: rework environment block copy logicLennart Poettering2019-11-011-3/+0
* pid1: restore the original environment passed by the kernel when switching to...Franck Bui2019-10-031-0/+3
* util-lib: move yes_no() and friends to string-util.hZbigniew Jędrzejewski-Szmek2019-09-161-16/+0
* headers: remove unneeded includes from util.hZbigniew Jędrzejewski-Szmek2019-03-271-23/+1
* util: introduce save_argc_argv() helperLennart Poettering2019-03-211-0/+5
* util: split out nulstr related stuff to nulstr-util.[ch]Lennart Poettering2019-03-141-6/+0
* util: move display_is_local() to pam_systemd.c, its only userLennart Poettering2019-03-141-2/+0
* util: split out errno related stuffLennart Poettering2019-03-141-25/+0
* util: split out plymouth related stuffLennart Poettering2019-03-141-2/+0
* util: split out sorting related calls to new sort-util.[ch]Lennart Poettering2019-03-131-64/+0
* util: split out memcmp()/memset() related calls into memory-util.[ch]Lennart Poettering2019-03-131-44/+0
* util: split out some stuff into a new file limits-util.[ch]Lennart Poettering2019-03-131-6/+0
* util: split out namespace related stuff into a new namespace-util.[ch] pairLennart Poettering2019-03-131-3/+0
* util.h: add new UNPROTECT_ERRNO macroLennart Poettering2019-02-081-0/+9
* Revert "nss: prevent PROTECT_ERRNO from squashing changes to *errnop"Zbigniew Jędrzejewski-Szmek2019-01-101-22/+1
* nss: prevent PROTECT_ERRNO from squashing changes to *errnopSam Morris2019-01-101-1/+22
* lldp: simplify compare_func, using ?: to chain comparisonsFilipe Brandenburger2018-12-141-0/+6
* in-addr-util: fix undefined result for in4_addr_netmask_to_prefixlen(<0.0.0.0>)Thomas Haller2018-12-141-1/+1
* util: drop missing.h from util.hYu Watanabe2018-12-041-1/+0
* tree-wide: use gcc attribute macros where appropriateLennart Poettering2018-12-031-1/+1
* tree-wide: use __ prefixed gcc attributes (#10843)Lennart Poettering2018-11-201-1/+2
* basic/util: import memeqzero from casyncZbigniew Jędrzejewski-Szmek2018-11-181-0/+4
* util: drop const_int_one/const_int_zero againLennart Poettering2018-10-181-3/+0
* tree-wide: add a single version of "static const int one = 1"Lennart Poettering2018-10-151-0/+3
* tree-wide: various ubsan zero size memory fixesLennart Poettering2018-10-101-1/+7
* util: introduce typesafe_bsearch() and typesafe_bsearch_r()Yu Watanabe2018-09-191-3/+16
* util: introduce typesafe_qsort_r()Yu Watanabe2018-09-191-2/+8
* util: introduce memcmp_safe()Yu Watanabe2018-08-081-3/+10
* pam_systemd: move socket_from_display() from util.[ch] to pam_systemd.cLennart Poettering2018-07-251-1/+0
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-4/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* util: add qsort_r_safe(), similar to qsort_safe()Lennart Poettering2018-04-181-0/+8
* util: introduce typesafe_qsort(), a typesafe version of qsort()/qsort_safe()Lennart Poettering2018-04-111-0/+8
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* tree-wide: add bsearch_safe and use where appropriateZbigniew Jędrzejewski-Szmek2018-03-261-0/+13
* basic: split out update_reboot_parameter_and_warn() into its own .c/.h filesLennart Poettering2018-02-221-2/+0
* util: minor tweaks to disable_core_dumps()Lennart Poettering2018-01-101-1/+1
* tree-wide: introduce disable_core_dumps helper and port existing usersJan Klötzke2018-01-101-0/+2
* condition: extend ConditionKernelVersion= with relative version checksLennart Poettering2017-12-261-0/+2
* basic: split out blockdev-util.[ch] from util.hLennart Poettering2017-12-251-5/+0
* process-util: move fork_agent() to process-util.[ch]Lennart Poettering2017-12-251-2/+0
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* util: make get_block_device() availableFranck Bui2017-09-131-0/+3
* basic/util: move execute_directory() to separate fileZbigniew Jędrzejewski-Szmek2017-02-111-2/+0