[38898] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Adding thread id to KRB5_TRACE format output

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Apr 6 18:31:10 2021

To: "Osipov, Michael (LDA IT PLM)" <michael.osipov@siemens.com>,
        <kerberos@mit.edu>
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <03a4efd4-f67c-4b7e-133f-003f2ca68ddc@mit.edu>
Date: Tue, 6 Apr 2021 18:28:24 -0400
MIME-Version: 1.0
In-Reply-To: <4b6e3b80-e910-17d2-7419-8c3e3730c77d@siemens.com>
Content-Language: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On 4/6/21 11:58 AM, Osipov, Michael (LDA IT PLM) wrote:
> based on some debugging issues it would be really helpful to see after 
> [<pid>] also the [<tid>] in KRB5_TRACE output. As far as I can see it is 
> printed in krb5int_trace(). Unfortunately, there is no portable (POSIX) 
> way to retrieve to retrieve it. Luckily, I have extended some code in 
> Tomcat Native recently to cover this on several platforms [1]. Code for 
> even more BSDs can be found here [2].

You can file a ticket by sending mail to krb5-bugs@mit.edu.

There are some challenges to making this work, particularly the weak
binding we have between libkrb5/libkrb5support and libpthreads on some
platforms.  But it's probably doable.

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post