aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
AgeCommit message (Expand)Author
2023-05-26create pathAccessible, use it to infer default dirsYorick van Pelt
2023-05-18Add option isInteractiveKonstantin Vukolov
2023-04-07Require openssl >= 1.1.1Robert Hensing
2023-04-07libutil: Provide alternatives to startSignalHandlerThreadRobert Hensing
2023-04-07Move OpenSSL init to initLibUtilRobert Hensing
2023-03-20CleanupEelco Dolstra
2023-03-20Open slave pseudoterminal before CLONE_NEWUSEREelco Dolstra
2023-03-14Simplify commonChildInit()Eelco Dolstra
2023-03-13Fix macOS warningEelco Dolstra
2023-03-03Merge pull request #7918 from zimbatm/fix-empty-nix-store-envEelco Dolstra
2023-03-03fixup: use same style as getEnvzimbatm
2023-03-03fixup: remove warning entirelyzimbatm
2023-03-02Update src/libutil/util.ccJonas Chevalier
2023-03-02Remove FormatOrString and remaining uses of format()Eelco Dolstra
2023-03-01Treat empty env var paths as unsetFélix Baylac Jacqué
2023-02-10Merge pull request #7802 from edolstra/fix-7783Eelco Dolstra
2023-02-10A setting to follow XDG Base Directory standardAlexander Bantyev
2023-02-10Fix macOS buildEelco Dolstra
2023-02-10Simplify the PID namespace check: just try to mount /procEelco Dolstra
2023-01-17Move the default profiles to the user’s homeThéophane Hufschmitt
2022-12-07Trivial changes from the lazy-trees branchEelco Dolstra
2022-12-04getMaxCPU: fix cgroup pathJörg Thalheim
2022-12-02getMaxCPU(): Lower verbosity level for ignored exceptionsEelco Dolstra
2022-12-02Clean up cgroup handling in getMaxCPU()Eelco Dolstra
2022-09-19Improve durability of schema version file writessqualus
2022-08-08Merge remote-tracking branch 'upstream/master' into fix-mv-in-different-files...Théophane Hufschmitt
2022-08-07Do not spam logs if the owned-homedir check results in a noopDave Nicponski
2022-08-03Make `moveFile` more atomicThéophane Hufschmitt
2022-08-03Move some fs-related functions to their own fileThéophane Hufschmitt
2022-07-19libstore/globals.cc: Move cgroup detection to libutilAlex Wied
2022-06-23getSelfExe(): Support macOSEelco Dolstra
2022-06-23Fix build-remote in nix-staticEelco Dolstra
2022-06-22StyleEelco Dolstra
2022-06-17Verify `$HOME` is owned by current user in `getHome()`, if it exists.Dave Nicponski
2022-05-26createUnixDomainSocket: listen(unix, 5 -> 100)Robert Hensing
2022-05-04Move json stuff out of util.ccEelco Dolstra
2022-05-04Get rid of most `.at` calls (#6393)Alain Zscheile
2022-04-20Merge remote-tracking branch 'upstream/master' into fix-url-formatJohn Ericson
2022-04-19Merge pull request #6128 from ncfavier/fix-completionEelco Dolstra
2022-04-19Avoid `fmt` when constructor already does itJohn Ericson
2022-04-07Merge pull request #6348 from cole-h/fix-restoring-mount-namespaceEelco Dolstra
2022-04-05Merge pull request #6366 from danpls/base64-reserveEelco Dolstra
2022-04-05tokenizeString: Fix semantic mistakeDaniel Pauls
2022-04-05libutil: Reserve memory when en/decoding base64Daniel Pauls
2022-04-04libutil: don't save cwd fd, use path insteadCole Helbling
2022-04-04libutil: save cwd fd in restoreMountNamespaceCole Helbling
2022-04-04libutil: `try` restoring the cwd from fdSavedCwdCole Helbling
2022-04-04libutil: save fd to cwd instead of cwd itselfCole Helbling
2022-04-04libutil: cleanup savedCwd logicCole Helbling
2022-04-01libutil: Properly guard self-allocating getcwd on GNUCole Helbling