]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Clarify restrict_access_allow_coredumps
authorAki Tuomi <aki.tuomi@dovecot.fi>
Thu, 8 Feb 2018 11:01:50 +0000 (13:01 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 12 Feb 2018 11:18:19 +0000 (13:18 +0200)
src/lib/restrict-access.h

index a60b9a723fb65e674a474472c2334f3fbc5d92f3..5af0d725d256a7616f6fda9b4c118fb2d21a3a0b 100644 (file)
@@ -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