Skip to content
Snippets Groups Projects
Commit d719f09e authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Merge branch 'slurm-16.05'

parents c67c2e43 b5954e60
No related branches found
No related tags found
No related merge requests found
...@@ -233,6 +233,7 @@ documents those changes that are of interest to users and administrators. ...@@ -233,6 +233,7 @@ documents those changes that are of interest to users and administrators.
in slurm.conf) when using FastSchedule=0. in slurm.conf) when using FastSchedule=0.
-- Fix parsing in regression test1.92 for some prompts. -- Fix parsing in regression test1.92 for some prompts.
-- sbcast - use slurmd's gid cache rather than a separate lookup. -- sbcast - use slurmd's gid cache rather than a separate lookup.
-- slurmd - return error if setgroups() call fails in _drop_privileges().
* Changes in Slurm 16.05.6 * Changes in Slurm 16.05.6
========================== ==========================
......
...@@ -2466,6 +2466,7 @@ _drop_privileges(stepd_step_rec_t *job, bool do_setuid, ...@@ -2466,6 +2466,7 @@ _drop_privileges(stepd_step_rec_t *job, bool do_setuid,
if (_initgroups(job) < 0) { if (_initgroups(job) < 0) {
error("_initgroups: %m"); error("_initgroups: %m");
return -1;
} }
if (do_setuid && seteuid(job->uid) < 0) { if (do_setuid && seteuid(job->uid) < 0) {
......
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