lib/util: Make prctl_set_comment take a printf format string
authorAndrew Bartlett <abartlet@samba.org>
Fri, 21 Feb 2020 20:06:19 +0000 (09:06 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 27 Feb 2020 03:42:35 +0000 (03:42 +0000)
commitefb3aa95c5f16caea0835b117b8fb524ff2040a6
tree27f69df8aa92695d8f42a4d7a523a849d1aa2945
parent575d39048e3b4f619d65d65303ac809c40c5d495
lib/util: Make prctl_set_comment take a printf format string

This makes it easier to pass a small amount of variable information
into the buffer, to distinguish processes in the AD DC.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14287

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/util/util_process.c
lib/util/util_process.h
source3/lib/util.c