From a7699ba462e30be557e4ab1f3495d08912538e39 Mon Sep 17 00:00:00 2001 From: Thomas Opfer <Thomas.Opfer@hrz.tu-darmstadt.de> Date: Wed, 8 Mar 2017 09:32:30 -0500 Subject: [PATCH] Add s_p_get_uint64 to slurm_xlator.h to fix programs linking against libslurm. Symbol required for read_slurm_cgroup_conf() call to work. Bug 3550. --- NEWS | 2 ++ src/common/slurm_xlator.h | 1 + 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index fb274fb7333..28c052caa5e 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,8 @@ documents those changes that are of interest to users and administrators. -- Improve the srun documentation for the --resv-ports option. -- burst_buffer/cray - Fix parsing for discontinuous allocated nodes. A job allocation of "20,22" must be expressed as "20\n22". + -- Fix pam_slurm_adopt.so (and other external code linked against libslurm) + by exporting adding s_p_get_uint64 to slurm_xlator.h. * Changes in Slurm 17.02.1-2 ============================ diff --git a/src/common/slurm_xlator.h b/src/common/slurm_xlator.h index 4348f767839..b3d5d50354a 100644 --- a/src/common/slurm_xlator.h +++ b/src/common/slurm_xlator.h @@ -387,6 +387,7 @@ #define s_p_get_long slurm_s_p_get_long #define s_p_get_uint16 slurm_s_p_get_uint16 #define s_p_get_uint32 slurm_s_p_get_uint32 +#define s_p_get_uint64 slurm_s_p_get_uint64 #define s_p_get_pointer slurm_s_p_get_pointer #define s_p_get_array slurm_s_p_get_array #define s_p_get_boolean slurm_s_p_get_boolean -- GitLab