Add slurm_spank_task_init_privileged plugin hook
This patch adds a spank plugin hook that is called just after fork() within each task, but before elevated privileges have been dropped. This allows plugins to run privileged actions on a per-task basis, which wasn't possible with the existing task_init hook called just before exec.
Showing
- doc/man/man8/spank.8 4 additions, 0 deletionsdoc/man/man8/spank.8
- slurm/spank.h 8 additions, 1 deletionslurm/spank.h
- src/common/plugstack.c 19 additions, 1 deletionsrc/common/plugstack.c
- src/common/plugstack.h 2 additions, 0 deletionssrc/common/plugstack.h
- src/slurmd/slurmstepd/mgr.c 19 additions, 0 deletionssrc/slurmd/slurmstepd/mgr.c
Loading
Please register or sign in to comment