summaryrefslogtreecommitdiff
path: root/lib/util/util_process.c
AgeCommit message (Collapse)AuthorFilesLines
2023-10-25lib/util: Fix commentJoseph Sutton1-1/+1
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-07-21lib/fault: During smb_panic() print process comment and setprocname() titleAndrew Bartlett1-2/+36
The purpose of this is to make it clear which part of the AD DC (in particular) has faulted without having to deduce it from the stacktrace. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2022-12-14lib/util: add process_set_title()Ralph Boehme1-3/+29
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2020-02-27lib/util: Make prctl_set_comment take a printf format stringAndrew Bartlett1-2/+8
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>
2015-09-24lib: Fix prctl detection for prctl_set_commentChristof Schmitt1-0/+1
Include config.h to make HAVE_PRCTL available for the precompile check. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2013-03-05lib: Add prctl_set_comment to utils.Andreas Schneider1-0/+34
Reviewed-by: David Disseldorp <ddiss@samba.org>