linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mm: testcases for RODATA: renamed Kconfig option
@ 2017-02-08  9:34 Valentin Rothberg
       [not found] ` <CAErMHp9qqHUF-_Q=w+H1TaDT+h4wByuBF+U80KTK2VUUD2xu+g@mail.gmail.com>
  2017-02-08 19:34 ` Kees Cook
  0 siblings, 2 replies; 3+ messages in thread
From: Valentin Rothberg @ 2017-02-08  9:34 UTC (permalink / raw)
  To: jinb.park7, keescook, akpm; +Cc: LKML

Hi Jinbum,

your commit bf9058f08772 ("mm: add arch-independent testcases for
RODATA") has shown up in today's linux next and ran into an issue with
another commit.

The added testcases depend on DEBUG_RODATA_TEST, which further depends
on DEBUG_RODATA.  DEBUG_RODATA, however, has been renamed to
STRICT_KERNEL_RWX by commit 0f5bf6d0afe4 ("arch: Rename
CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONX").

Long story short.  DEBUG_RODATA_TEST is currently dead, since
DEBUG_RODATA doesn't exist anymore.  If you want to, I can send a
trivial patch that renames the dependency and renames
DEBUG_RODATA_TEST to STRICT_KERNEL_RWX_TEST to keep consistency.

I detected the issue with scripts/checkkconfigsymbols.py.

Kind regards,
 Valentin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mm: testcases for RODATA: renamed Kconfig option
       [not found]         ` <CAErMHp9XZCfuAJqGdctgA=OGdkTBpxrrm+aAfW7hGwh4v779Tw@mail.gmail.com>
@ 2017-02-08 10:54           ` Valentin Rothberg
  0 siblings, 0 replies; 3+ messages in thread
From: Valentin Rothberg @ 2017-02-08 10:54 UTC (permalink / raw)
  To: park jinbum; +Cc: akpm, Kees Cook, LKML

Hi Jinbum,

On Wed, Feb 8, 2017 at 11:44 AM, park jinbum <jinb.park7@gmail.com> wrote:
>
> Thanks for your supporting!!
>
> If you send a trivial patch to me,  What should I do next??
>
> Test it, and send final patch again??

Feel free to prepare the patch yourself, if you want to.  Then it's
the usual pipeline of testing your commit, running checkpatch.pl and
so on.  After you send it to the maintainer(s) and they will take care
of it.  Just as you did before.

Best regards,
 Valentin

> I'm not familiar with situation like this . .  because I'm a kernel
> newbie...
>
> Thanks.
> Jinbum Park.
>
>
> 2017. 2. 8. 오후 6:34에 "Valentin Rothberg" <valentinrothberg@gmail.com>님이 작성:
>
> Hi Jinbum,
>
> your commit bf9058f08772 ("mm: add arch-independent testcases for
> RODATA") has shown up in today's linux next and ran into an issue with
> another commit.
>
> The added testcases depend on DEBUG_RODATA_TEST, which further depends
> on DEBUG_RODATA.  DEBUG_RODATA, however, has been renamed to
> STRICT_KERNEL_RWX by commit 0f5bf6d0afe4 ("arch: Rename
> CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONX").
>
> Long story short.  DEBUG_RODATA_TEST is currently dead, since
> DEBUG_RODATA doesn't exist anymore.  If you want to, I can send a
> trivial patch that renames the dependency and renames
> DEBUG_RODATA_TEST to STRICT_KERNEL_RWX_TEST to keep consistency.
>
> I detected the issue with scripts/checkkconfigsymbols.py.
>
> Kind regards,
>  Valentin
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mm: testcases for RODATA: renamed Kconfig option
  2017-02-08  9:34 mm: testcases for RODATA: renamed Kconfig option Valentin Rothberg
       [not found] ` <CAErMHp9qqHUF-_Q=w+H1TaDT+h4wByuBF+U80KTK2VUUD2xu+g@mail.gmail.com>
@ 2017-02-08 19:34 ` Kees Cook
  1 sibling, 0 replies; 3+ messages in thread
From: Kees Cook @ 2017-02-08 19:34 UTC (permalink / raw)
  To: Valentin Rothberg; +Cc: Jinbum Park, Andrew Morton, LKML

On Wed, Feb 8, 2017 at 1:34 AM, Valentin Rothberg
<valentinrothberg@gmail.com> wrote:
> Hi Jinbum,
>
> your commit bf9058f08772 ("mm: add arch-independent testcases for
> RODATA") has shown up in today's linux next and ran into an issue with
> another commit.
>
> The added testcases depend on DEBUG_RODATA_TEST, which further depends
> on DEBUG_RODATA.  DEBUG_RODATA, however, has been renamed to
> STRICT_KERNEL_RWX by commit 0f5bf6d0afe4 ("arch: Rename
> CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONX").
>
> Long story short.  DEBUG_RODATA_TEST is currently dead, since
> DEBUG_RODATA doesn't exist anymore.  If you want to, I can send a
> trivial patch that renames the dependency and renames
> DEBUG_RODATA_TEST to STRICT_KERNEL_RWX_TEST to keep consistency.
>
> I detected the issue with scripts/checkkconfigsymbols.py.

Since DEBUG_RODATA_TEST only tests RO-ness, let's leave it named
as-is, but fix the config dependency.

-Kees

-- 
Kees Cook
Pixel Security

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-08 19:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08  9:34 mm: testcases for RODATA: renamed Kconfig option Valentin Rothberg
     [not found] ` <CAErMHp9qqHUF-_Q=w+H1TaDT+h4wByuBF+U80KTK2VUUD2xu+g@mail.gmail.com>
     [not found]   ` <CAErMHp_Gc5uM9OsYTWKN5dLh4LMfQuH5DSX-Lb9Rf7Cb3ZRmag@mail.gmail.com>
     [not found]     ` <CAErMHp9KU2vsw8-TxtvWS5RWZ=qPSNg8=vLBwG+Cafpwr+0Djw@mail.gmail.com>
     [not found]       ` <CAErMHp_b0DALO8vsea=yORYzxWtV+faypxwQ3gRqq-rvxG7Nvg@mail.gmail.com>
     [not found]         ` <CAErMHp9XZCfuAJqGdctgA=OGdkTBpxrrm+aAfW7hGwh4v779Tw@mail.gmail.com>
2017-02-08 10:54           ` Valentin Rothberg
2017-02-08 19:34 ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).