Commit 8dfadcd5 authored by Moe Jette's avatar Moe Jette
Browse files

Check the prefix of a potential plugin name before trying to dlopen it.

Only attempt to open files having the proper prefix. For example, slurmd
should never even try to dlopen a plugin with a prefix of "jobcomp" as
doing so both wastes time and generates undefined external errors (the
jobcomp plugin is written for the slurmctld daemon and only it has the
proper external function to dlopen that plugin).
parent fc510419
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment