diff --git a/src/lib/restrict-access.h b/src/lib/restrict-access.h index a60b9a723f..5af0d725d2 100644 --- a/src/lib/restrict-access.h +++ b/src/lib/restrict-access.h @@ -51,8 +51,10 @@ void restrict_access_by_env(const char *home, bool disallow_root) ATTR_NULL(1); otherwise NULL. */ const char *restrict_access_get_current_chroot(void); -/* Try to set up the process in a way that core dumps are still allowed - after calling restrict_access_by_env(). */ +/* + Checks if PR_SET_DUMPABLE environment variable is set, and if it is, + calls restrict_access_set_dumpable(allow). +*/ void restrict_access_allow_coredumps(bool allow); /* If privileged_gid was set, these functions can be used to temporarily