Re: [PATCH v2] srcu: avoid escaped section names

2020-10-07 Thread Paul E. McKenney
On Mon, Oct 05, 2020 at 11:56:23PM -0700, Nathan Chancellor wrote: > On Mon, Oct 05, 2020 at 11:49:10AM -0700, Paul E. McKenney wrote: > > On Mon, Oct 05, 2020 at 08:38:42PM +0200, Sedat Dilek wrote: > > > On Mon, Oct 5, 2020 at 8:29 PM 'Nick Desaulniers' via Clang Built > > > Linux wrote: > > >

Re: [PATCH v2] srcu: avoid escaped section names

2020-10-06 Thread Nathan Chancellor
On Mon, Oct 05, 2020 at 11:49:10AM -0700, Paul E. McKenney wrote: > On Mon, Oct 05, 2020 at 08:38:42PM +0200, Sedat Dilek wrote: > > On Mon, Oct 5, 2020 at 8:29 PM 'Nick Desaulniers' via Clang Built > > Linux wrote: > > > > > > On Fri, Oct 2, 2020 at 1:51 PM Paul E. McKenney > > > wrote: > > >

Re: [PATCH v2] srcu: avoid escaped section names

2020-10-05 Thread Paul E. McKenney
On Mon, Oct 05, 2020 at 08:38:42PM +0200, Sedat Dilek wrote: > On Mon, Oct 5, 2020 at 8:29 PM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > On Fri, Oct 2, 2020 at 1:51 PM Paul E. McKenney wrote: > > > > > > On Wed, Sep 30, 2020 at 01:55:48PM -0700, Nick Desaulniers wrote: > > > > On

Re: [PATCH v2] srcu: avoid escaped section names

2020-10-05 Thread Sedat Dilek
On Mon, Oct 5, 2020 at 8:29 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Fri, Oct 2, 2020 at 1:51 PM Paul E. McKenney wrote: > > > > On Wed, Sep 30, 2020 at 01:55:48PM -0700, Nick Desaulniers wrote: > > > On Wed, Sep 30, 2020 at 1:40 PM Paul E. McKenney > > > wrote: > > > > > > >

Re: [PATCH v2] srcu: avoid escaped section names

2020-10-05 Thread Nick Desaulniers
On Fri, Oct 2, 2020 at 1:51 PM Paul E. McKenney wrote: > > On Wed, Sep 30, 2020 at 01:55:48PM -0700, Nick Desaulniers wrote: > > On Wed, Sep 30, 2020 at 1:40 PM Paul E. McKenney wrote: > > > > > > On Tue, Sep 29, 2020 at 12:25:49PM -0700, Nick Desaulniers wrote: > > > > The stringification

Re: [PATCH v2] srcu: avoid escaped section names

2020-10-02 Thread Paul E. McKenney
On Wed, Sep 30, 2020 at 01:55:48PM -0700, Nick Desaulniers wrote: > On Wed, Sep 30, 2020 at 1:40 PM Paul E. McKenney wrote: > > > > On Tue, Sep 29, 2020 at 12:25:49PM -0700, Nick Desaulniers wrote: > > > The stringification operator, `#`, in the preprocessor escapes strings. > > > For example, `#

Re: [PATCH v2] srcu: avoid escaped section names

2020-09-30 Thread Nick Desaulniers
On Wed, Sep 30, 2020 at 1:40 PM Paul E. McKenney wrote: > > On Tue, Sep 29, 2020 at 12:25:49PM -0700, Nick Desaulniers wrote: > > The stringification operator, `#`, in the preprocessor escapes strings. > > For example, `# "foo"` becomes `"\"foo\""`. GCC and Clang differ in how > > they treat

Re: [PATCH v2] srcu: avoid escaped section names

2020-09-30 Thread Paul E. McKenney
On Tue, Sep 29, 2020 at 12:25:49PM -0700, Nick Desaulniers wrote: > The stringification operator, `#`, in the preprocessor escapes strings. > For example, `# "foo"` becomes `"\"foo\""`. GCC and Clang differ in how > they treat section names that contain \". > > The portable solution is to not

Re: [PATCH v2] srcu: avoid escaped section names

2020-09-30 Thread Joe Perches
On Wed, 2020-09-30 at 18:41 +0200, Sedat Dilek wrote: > On Tue, Sep 29, 2020 at 9:25 PM 'Nick Desaulniers' via Clang Built > Linux wrote: > > The stringification operator, `#`, in the preprocessor escapes strings. > > For example, `# "foo"` becomes `"\"foo\""`. GCC and Clang differ in how > >

Re: [PATCH v2] srcu: avoid escaped section names

2020-09-30 Thread Sedat Dilek
On Tue, Sep 29, 2020 at 9:25 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > The stringification operator, `#`, in the preprocessor escapes strings. > For example, `# "foo"` becomes `"\"foo\""`. GCC and Clang differ in how > they treat section names that contain \". > > The portable

Re: [PATCH v2] srcu: avoid escaped section names

2020-09-30 Thread Nathan Chancellor
On Tue, Sep 29, 2020 at 12:25:49PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote: > The stringification operator, `#`, in the preprocessor escapes strings. > For example, `# "foo"` becomes `"\"foo\""`. GCC and Clang differ in how > they treat section names that contain \". > > The

Re: [PATCH v2] srcu: avoid escaped section names

2020-09-29 Thread Kees Cook
On Tue, Sep 29, 2020 at 12:25:49PM -0700, Nick Desaulniers wrote: > The stringification operator, `#`, in the preprocessor escapes strings. > For example, `# "foo"` becomes `"\"foo\""`. GCC and Clang differ in how > they treat section names that contain \". > > The portable solution is to not

[PATCH v2] srcu: avoid escaped section names

2020-09-29 Thread Nick Desaulniers
The stringification operator, `#`, in the preprocessor escapes strings. For example, `# "foo"` becomes `"\"foo\""`. GCC and Clang differ in how they treat section names that contain \". The portable solution is to not use a string literal with the preprocessor stringification operator. Link: