Linux Hardening
 help / color / mirror / Atom feed
* [PATCH 7/8] lib: overflow: update reference to kunit-tool
       [not found] <20220819053234.241501-1-tales.aparecida@gmail.com>
@ 2022-08-19  5:32 ` Tales Aparecida
  2022-08-19 22:18   ` Kees Cook
  2022-08-22 20:09   ` Daniel Latypov
  2022-08-19  5:32 ` [PATCH 8/8] lib: stackinit: " Tales Aparecida
  1 sibling, 2 replies; 8+ messages in thread
From: Tales Aparecida @ 2022-08-19  5:32 UTC (permalink / raw)
  To: Sadiya Kazi, keescook
  Cc: linux-kernel, kunit-dev, linux-doc, linux-kselftest, davidgow,
	corbet, brendan.higgins, Trevor Woerner, siqueirajordao, mwen,
	andrealmeid, mairacanal, Isabella Basso, magalilemes00,
	tales.aparecida, linux-hardening

Replace URL with an updated path to the full Documentation page

Signed-off-by: Tales Aparecida <tales.aparecida@gmail.com>
---
 lib/overflow_kunit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/overflow_kunit.c b/lib/overflow_kunit.c
index 7e3e43679b73..78075106c0df 100644
--- a/lib/overflow_kunit.c
+++ b/lib/overflow_kunit.c
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Test cases for arithmetic overflow checks. See:
- * https://www.kernel.org/doc/html/latest/dev-tools/kunit/kunit-tool.html#configuring-building-and-running-tests
+ * "Running tests with kunit_tool" at Documentation/dev-tools/kunit/start.rst
  *	./tools/testing/kunit/kunit.py run overflow [--raw_output]
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-- 
2.37.1


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

* [PATCH 8/8] lib: stackinit: update reference to kunit-tool
       [not found] <20220819053234.241501-1-tales.aparecida@gmail.com>
  2022-08-19  5:32 ` [PATCH 7/8] lib: overflow: update reference to kunit-tool Tales Aparecida
@ 2022-08-19  5:32 ` Tales Aparecida
  1 sibling, 0 replies; 8+ messages in thread
From: Tales Aparecida @ 2022-08-19  5:32 UTC (permalink / raw)
  To: Sadiya Kazi, keescook
  Cc: linux-kernel, kunit-dev, linux-doc, linux-kselftest, davidgow,
	corbet, brendan.higgins, Trevor Woerner, siqueirajordao, mwen,
	andrealmeid, mairacanal, Isabella Basso, magalilemes00,
	tales.aparecida, linux-hardening

Replace URL with an updated path to the full Documentation page

Signed-off-by: Tales Aparecida <tales.aparecida@gmail.com>
---
 lib/stackinit_kunit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stackinit_kunit.c b/lib/stackinit_kunit.c
index 35c69aa425b2..4591d6cf5e01 100644
--- a/lib/stackinit_kunit.c
+++ b/lib/stackinit_kunit.c
@@ -3,7 +3,7 @@
  * Test cases for compiler-based stack variable zeroing via
  * -ftrivial-auto-var-init={zero,pattern} or CONFIG_GCC_PLUGIN_STRUCTLEAK*.
  * For example, see:
- * https://www.kernel.org/doc/html/latest/dev-tools/kunit/kunit-tool.html#configuring-building-and-running-tests
+ * "Running tests with kunit_tool" at Documentation/dev-tools/kunit/start.rst
  *	./tools/testing/kunit/kunit.py run stackinit [--raw_output] \
  *		--make_option LLVM=1 \
  *		--kconfig_add CONFIG_INIT_STACK_ALL_ZERO=y
-- 
2.37.1


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

* Re: [PATCH 7/8] lib: overflow: update reference to kunit-tool
  2022-08-19  5:32 ` [PATCH 7/8] lib: overflow: update reference to kunit-tool Tales Aparecida
@ 2022-08-19 22:18   ` Kees Cook
  2022-08-22 20:09   ` Daniel Latypov
  1 sibling, 0 replies; 8+ messages in thread
From: Kees Cook @ 2022-08-19 22:18 UTC (permalink / raw)
  To: Tales Aparecida
  Cc: Sadiya Kazi, linux-kernel, kunit-dev, linux-doc, linux-kselftest,
	davidgow, corbet, brendan.higgins, Trevor Woerner, siqueirajordao,
	mwen, andrealmeid, mairacanal, Isabella Basso, magalilemes00,
	linux-hardening

On Fri, Aug 19, 2022 at 02:32:33AM -0300, Tales Aparecida wrote:
> Replace URL with an updated path to the full Documentation page
> 
> Signed-off-by: Tales Aparecida <tales.aparecida@gmail.com>

Reviewed-by: Kees Cook <keescook@chromium.org>

-- 
Kees Cook

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

* Re: [PATCH 7/8] lib: overflow: update reference to kunit-tool
  2022-08-19  5:32 ` [PATCH 7/8] lib: overflow: update reference to kunit-tool Tales Aparecida
  2022-08-19 22:18   ` Kees Cook
@ 2022-08-22 20:09   ` Daniel Latypov
  2022-08-22 22:35     ` Tales
  1 sibling, 1 reply; 8+ messages in thread
From: Daniel Latypov @ 2022-08-22 20:09 UTC (permalink / raw)
  To: Tales Aparecida
  Cc: Sadiya Kazi, keescook, linux-kernel, kunit-dev, linux-doc,
	linux-kselftest, davidgow, corbet, brendan.higgins,
	Trevor Woerner, siqueirajordao, mwen, andrealmeid, mairacanal,
	Isabella Basso, magalilemes00, linux-hardening

On Thu, Aug 18, 2022 at 10:33 PM Tales Aparecida
<tales.aparecida@gmail.com> wrote:
>
> Replace URL with an updated path to the full Documentation page
>
> Signed-off-by: Tales Aparecida <tales.aparecida@gmail.com>
> ---
>  lib/overflow_kunit.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/overflow_kunit.c b/lib/overflow_kunit.c
> index 7e3e43679b73..78075106c0df 100644
> --- a/lib/overflow_kunit.c
> +++ b/lib/overflow_kunit.c
> @@ -1,7 +1,7 @@
>  // SPDX-License-Identifier: GPL-2.0 OR MIT
>  /*
>   * Test cases for arithmetic overflow checks. See:
> - * https://www.kernel.org/doc/html/latest/dev-tools/kunit/kunit-tool.html#configuring-building-and-running-tests
> + * "Running tests with kunit_tool" at Documentation/dev-tools/kunit/start.rst

Oh, I thought I had sent a patch out for this.
The rewritten version of the patch is
https://www.kernel.org/doc/html/latest/dev-tools/kunit/run_wrapper.html
That's what I was intending to rewrite this line to point to.

But if people like a Documentation/ path to start.rst instead, that also works.

Daniel

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

* Re: [PATCH 7/8] lib: overflow: update reference to kunit-tool
  2022-08-22 20:09   ` Daniel Latypov
@ 2022-08-22 22:35     ` Tales
  2022-08-22 22:52       ` Daniel Latypov
  0 siblings, 1 reply; 8+ messages in thread
From: Tales @ 2022-08-22 22:35 UTC (permalink / raw)
  To: Daniel Latypov
  Cc: Sadiya Kazi, Kees Cook, LKML, KUnit Development, linux-doc,
	open list:KERNEL SELFTEST FRAMEWORK, David Gow, Jonathan Corbet,
	Brendan Higgins, Trevor Woerner, siqueirajordao, Melissa Wen,
	André Almeida, Maíra Canal, Isabella Basso,
	Magali Lemes, linux-hardening

Hi Daniel,

Em seg., 22 de ago. de 2022 às 17:09, Daniel Latypov
<dlatypov@google.com> escreveu:
>
> On Thu, Aug 18, 2022 at 10:33 PM Tales Aparecida
> <tales.aparecida@gmail.com> wrote:
> >
> > Replace URL with an updated path to the full Documentation page
> >
> > Signed-off-by: Tales Aparecida <tales.aparecida@gmail.com>
> > ---
> >  lib/overflow_kunit.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/lib/overflow_kunit.c b/lib/overflow_kunit.c
> > index 7e3e43679b73..78075106c0df 100644
> > --- a/lib/overflow_kunit.c
> > +++ b/lib/overflow_kunit.c
> > @@ -1,7 +1,7 @@
> >  // SPDX-License-Identifier: GPL-2.0 OR MIT
> >  /*
> >   * Test cases for arithmetic overflow checks. See:
> > - * https://www.kernel.org/doc/html/latest/dev-tools/kunit/kunit-tool.html#configuring-building-and-running-tests
> > + * "Running tests with kunit_tool" at Documentation/dev-tools/kunit/start.rst
>
> Oh, I thought I had sent a patch out for this.
> The rewritten version of the patch is
> https://www.kernel.org/doc/html/latest/dev-tools/kunit/run_wrapper.html
> That's what I was intending to rewrite this line to point to.
>
> But if people like a Documentation/ path to start.rst instead, that also works.
>
> Daniel

You are absolutely right! You did send and I wasn't aware, sorry.
https://lore.kernel.org/all/20220603195626.121922-1-dlatypov@google.com/
I guess it stalled after that discussion about *where* it should be applied,
I got a green flag in IRC and didn't do my due diligence carefully,
just tried to find pending patches at linux-kselftest which wasn't
CC'd

Now, about the change, either way is fine by me.

Kind regards,
Tales

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

* Re: [PATCH 7/8] lib: overflow: update reference to kunit-tool
  2022-08-22 22:35     ` Tales
@ 2022-08-22 22:52       ` Daniel Latypov
  2022-08-22 23:12         ` Tales
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Latypov @ 2022-08-22 22:52 UTC (permalink / raw)
  To: Tales
  Cc: Sadiya Kazi, Kees Cook, LKML, KUnit Development, linux-doc,
	open list:KERNEL SELFTEST FRAMEWORK, David Gow, Jonathan Corbet,
	Brendan Higgins, Trevor Woerner, siqueirajordao, Melissa Wen,
	André Almeida, Maíra Canal, Isabella Basso,
	Magali Lemes, linux-hardening

On Mon, Aug 22, 2022 at 3:35 PM Tales <tales.aparecida@gmail.com> wrote:
>
> Hi Daniel,
>
> Em seg., 22 de ago. de 2022 às 17:09, Daniel Latypov
> <dlatypov@google.com> escreveu:
> >
> > On Thu, Aug 18, 2022 at 10:33 PM Tales Aparecida
> > <tales.aparecida@gmail.com> wrote:
> > >
> > > Replace URL with an updated path to the full Documentation page
> > >
> > > Signed-off-by: Tales Aparecida <tales.aparecida@gmail.com>
> > > ---
> > >  lib/overflow_kunit.c | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/lib/overflow_kunit.c b/lib/overflow_kunit.c
> > > index 7e3e43679b73..78075106c0df 100644
> > > --- a/lib/overflow_kunit.c
> > > +++ b/lib/overflow_kunit.c
> > > @@ -1,7 +1,7 @@
> > >  // SPDX-License-Identifier: GPL-2.0 OR MIT
> > >  /*
> > >   * Test cases for arithmetic overflow checks. See:
> > > - * https://www.kernel.org/doc/html/latest/dev-tools/kunit/kunit-tool.html#configuring-building-and-running-tests
> > > + * "Running tests with kunit_tool" at Documentation/dev-tools/kunit/start.rst
> >
> > Oh, I thought I had sent a patch out for this.
> > The rewritten version of the patch is
> > https://www.kernel.org/doc/html/latest/dev-tools/kunit/run_wrapper.html
> > That's what I was intending to rewrite this line to point to.
> >
> > But if people like a Documentation/ path to start.rst instead, that also works.
> >
> > Daniel
>
> You are absolutely right! You did send and I wasn't aware, sorry.
> https://lore.kernel.org/all/20220603195626.121922-1-dlatypov@google.com/
> I guess it stalled after that discussion about *where* it should be applied,
> I got a green flag in IRC and didn't do my due diligence carefully,
> just tried to find pending patches at linux-kselftest which wasn't
> CC'd

Oh right, it was that series where I didn't cc linux-kselftest.
That was my bad, sorry.

But I had forgotten to include a patch in that series to update this
file still, afaict.
I could revive that series and add on a version of this patch, if we want?

Daniel

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

* Re: [PATCH 7/8] lib: overflow: update reference to kunit-tool
  2022-08-22 22:52       ` Daniel Latypov
@ 2022-08-22 23:12         ` Tales
  2022-08-22 23:15           ` Daniel Latypov
  0 siblings, 1 reply; 8+ messages in thread
From: Tales @ 2022-08-22 23:12 UTC (permalink / raw)
  To: Daniel Latypov
  Cc: Sadiya Kazi, Kees Cook, LKML, KUnit Development, linux-doc,
	open list:KERNEL SELFTEST FRAMEWORK, David Gow, Jonathan Corbet,
	Brendan Higgins, Trevor Woerner, siqueirajordao, Melissa Wen,
	André Almeida, Maíra Canal, Isabella Basso,
	Magali Lemes, linux-hardening

Em seg., 22 de ago. de 2022 às 19:52, Daniel Latypov
<dlatypov@google.com> escreveu:
>
> On Mon, Aug 22, 2022 at 3:35 PM Tales <tales.aparecida@gmail.com> wrote:
> >
> > Hi Daniel,
> >
> > Em seg., 22 de ago. de 2022 às 17:09, Daniel Latypov
> > <dlatypov@google.com> escreveu:
> > >
> > > On Thu, Aug 18, 2022 at 10:33 PM Tales Aparecida
> > > <tales.aparecida@gmail.com> wrote:
> > > >
> > > > Replace URL with an updated path to the full Documentation page
> > > >
> > > > Signed-off-by: Tales Aparecida <tales.aparecida@gmail.com>
> > > > ---
> > > >  lib/overflow_kunit.c | 2 +-
> > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/lib/overflow_kunit.c b/lib/overflow_kunit.c
> > > > index 7e3e43679b73..78075106c0df 100644
> > > > --- a/lib/overflow_kunit.c
> > > > +++ b/lib/overflow_kunit.c
> > > > @@ -1,7 +1,7 @@
> > > >  // SPDX-License-Identifier: GPL-2.0 OR MIT
> > > >  /*
> > > >   * Test cases for arithmetic overflow checks. See:
> > > > - * https://www.kernel.org/doc/html/latest/dev-tools/kunit/kunit-tool.html#configuring-building-and-running-tests
> > > > + * "Running tests with kunit_tool" at Documentation/dev-tools/kunit/start.rst
> > >
> > > Oh, I thought I had sent a patch out for this.
> > > The rewritten version of the patch is
> > > https://www.kernel.org/doc/html/latest/dev-tools/kunit/run_wrapper.html
> > > That's what I was intending to rewrite this line to point to.
> > >
> > > But if people like a Documentation/ path to start.rst instead, that also works.
> > >
> > > Daniel
> >
> > You are absolutely right! You did send and I wasn't aware, sorry.
> > https://lore.kernel.org/all/20220603195626.121922-1-dlatypov@google.com/
> > I guess it stalled after that discussion about *where* it should be applied,
> > I got a green flag in IRC and didn't do my due diligence carefully,
> > just tried to find pending patches at linux-kselftest which wasn't
> > CC'd
>
> Oh right, it was that series where I didn't cc linux-kselftest.
> That was my bad, sorry.
>
> But I had forgotten to include a patch in that series to update this
> file still, afaict.
> I could revive that series and add on a version of this patch, if we want?
>
> Daniel

I can bring your patches in my V3, if you don't mind! :D

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

* Re: [PATCH 7/8] lib: overflow: update reference to kunit-tool
  2022-08-22 23:12         ` Tales
@ 2022-08-22 23:15           ` Daniel Latypov
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Latypov @ 2022-08-22 23:15 UTC (permalink / raw)
  To: Tales
  Cc: Sadiya Kazi, Kees Cook, LKML, KUnit Development, linux-doc,
	open list:KERNEL SELFTEST FRAMEWORK, David Gow, Jonathan Corbet,
	Brendan Higgins, Trevor Woerner, siqueirajordao, Melissa Wen,
	André Almeida, Maíra Canal, Isabella Basso,
	Magali Lemes, linux-hardening

On Mon, Aug 22, 2022 at 4:12 PM Tales <tales.aparecida@gmail.com> wrote:
>
> I can bring your patches in my V3, if you don't mind! :D

Sounds good to me!
Thanks a lot for picking this up.

Daniel

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

end of thread, other threads:[~2022-08-22 23:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20220819053234.241501-1-tales.aparecida@gmail.com>
2022-08-19  5:32 ` [PATCH 7/8] lib: overflow: update reference to kunit-tool Tales Aparecida
2022-08-19 22:18   ` Kees Cook
2022-08-22 20:09   ` Daniel Latypov
2022-08-22 22:35     ` Tales
2022-08-22 22:52       ` Daniel Latypov
2022-08-22 23:12         ` Tales
2022-08-22 23:15           ` Daniel Latypov
2022-08-19  5:32 ` [PATCH 8/8] lib: stackinit: " Tales Aparecida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox