aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 8d1900131..de5f0a2ee 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -72,11 +72,6 @@ std::vector<Path> getConfigDirs();
Path getDataDir();
/**
- * @return the path of the current executable.
- */
-std::optional<Path> getSelfExe();
-
-/**
* @return $XDG_STATE_HOME or $HOME/.local/state.
*
* @note Not to be confused with settings.nixStateDir.
@@ -92,27 +87,6 @@ Path createNixStateDir();
/**
- * If cgroups are active, attempt to calculate the number of CPUs available.
- * If cgroups are unavailable or if cpu.max is set to "max", return 0.
- */
-unsigned int getMaxCPU();
-
-
-/**
- * Change the stack size.
- */
-void setStackSize(rlim_t stackSize);
-
-
-/**
- * Restore the original inherited Unix process context (such as signal
- * masks, stack size).
-
- * See startSignalHandlerThread(), saveSignalMask().
- */
-void restoreProcessContext(bool restoreMounts = true);
-
-/**
* Save the current mount namespace. Ignored if called more than
* once.
*/