Skip to content

Commit

Permalink
lib: Clarify restrict_access_allow_coredumps
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse authored and villesavolainen committed Feb 12, 2018
1 parent 1c9fbec commit 0e864e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/restrict-access.h
Expand Up @@ -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
Expand Down

0 comments on commit 0e864e7

Please sign in to comment.