Re: [RFC PATCH glibc 1/3] glibc: Perform rseq(2) registration at C startup and thread creation (v18)

From: Mathieu Desnoyers
Date: Thu Apr 30 2020 - 13:20:06 EST


----- On Apr 30, 2020, at 1:07 PM, Florian Weimer fweimer@xxxxxxxxxx wrote:
[...]
> __libc_fatal does not attribute the error to glibc, so I suggest to
> start the error messages with âglibc fatal error: â, so that people know
> where to look.

OK. Is there a strict requirement on limiting to 80 columns for code
including an error message string in glibc ? IOW:

if (__rseq_abi.cpu_id != RSEQ_CPU_ID_UNINITIALIZED)
__libc_fatal ("glibc fatal error: rseq already initialized for this thread\n");

or

if (__rseq_abi.cpu_id != RSEQ_CPU_ID_UNINITIALIZED)
__libc_fatal ("glibc fatal error: "
"rseq already initialized for this thread\n");

?

Thanks,

Mathieu


--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com