Skip to content
Snippets Groups Projects
Commit 35b40681 authored by Morris Jette's avatar Morris Jette
Browse files

Cosmetic changes, comment format

parent a1e9fcc4
No related branches found
No related tags found
No related merge requests found
......@@ -1675,7 +1675,8 @@ static void _unblock_signals (void)
xsignal_set_mask (&set);
}
/* fork and exec N tasks
/*
* fork and exec N tasks
*/
static int
_fork_all_tasks(stepd_step_rec_t *job, bool *io_initialized)
......@@ -1698,7 +1699,8 @@ _fork_all_tasks(stepd_step_rec_t *job, bool *io_initialized)
return SLURM_ERROR;
}
/* Temporarily drop effective privileges, except for the euid.
/*
* Temporarily drop effective privileges, except for the euid.
* We need to wait until after pam_setup() to drop euid.
*/
if (_drop_privileges (job, false, &sprivs, true) < 0)
......@@ -1748,8 +1750,8 @@ _fork_all_tasks(stepd_step_rec_t *job, bool *io_initialized)
goto fail2;
}
/* If there is an \ in the path
* remove it.
/*
* If there is an \ in the path, remove it.
*/
esc = is_path_escaped(job->cwd);
if (esc) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment