ening@vger.kernel.org
> Signed-off-by: Thorsten Blum
Reviewed-by: Geert Uytterhoeven
> --- a/arch/m68k/kernel/setup_mm.c
> +++ b/arch/m68k/kernel/setup_mm.c
> @@ -243,8 +243,7 @@ void __init setup_arch(char **cmdline_p)
> setup_initial_init_mm((void *)PAGE_OFFSET, _et
is under the SPI section so it
> does have the CONFIG_SPI_MASTER dependency. I think it's fine to drop
> OF_GPIO here but I just wanted to run it by you.
That's fine, as there is still the SPI_MASTER dependency, and the
driver uses device properties.
Reviewed-by: Geert Uytterhoe
Hi Kees,
On Tue, 4 Feb 2025 at 18:45, Kees Cook wrote:
> The stack frame on m68k is very sensitive to the size of what needs to
> be stored. Like done for long string testing, reduce the size of the
> large trailing struct in the union initialization testing.
>
> Reported-by: Gee
ok 106 test_trailing_hole_none
ok 107 test_packed_none
ok 108 test_user
# stackinit: pass:90 fail:13 skip:5 total:108
# Totals: pass:90 fail:13 skip:5 total:108
not ok 1 stackinit
m68k-linux-gnu-gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU
Binutils for Ubuntu) 2.42
Thanks!
Gr{oe
In union test_small_end, the small members are three and four.
Fixes: e71a29db79da1946 ("stackinit: Add union initialization to selftests")
Closes:
https://lore.kernel.org/CAMuHMdWvcKOc6v5o3-9-SqP_4oh5-GZQjZZb=-krhY=mvre...@mail.gmail.com
Signed-off-by: Geert Uytterhoeven
big_struct {
> + unsigned long array[8];
> + } big;
> +};
> +
> +/* Mismatched sizes, with one and two being small */
three and four
> +union test_small_end {
> + short one;
> + unsigned long two;
> + char three:1;
> + char four;
&
The help text for INIT_STACK_ALL_PATTERN documents the patterns used by
Clang, but lacks documentation for GCC.
Signed-off-by: Geert Uytterhoeven
---
security/Kconfig.hardening | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/Kconfig.hardening b/security/Kconfig.hardening
index
P/linux/issues/105
> Signed-off-by: Paulo Miguel Almeida
Reviewed-by: Geert Uytterhoeven
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org
In personal conversations with technical people, I call myself a hacke
gned-off-by: Erick Archer
Reviewed-by: Geert Uytterhoeven
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talki
s happened, and move the KUNIT check outside of the consecutive
> calls to minimize what happens between them.
Thanks for your patch!
> Reported-by: Guenter Roeck
> Closes:
> https://lore.kernel.org/lkml/a0d10d50-2720-4ecd-a2c6-c2c5e5aee...@roeck-us.net/
Do reports have an expiratio
ance->can_queue, instance->cmd_per_lun,
> +instance->sg_tablesize, instance->this_id,
> +hostdata->flags & FLAG_DMA_FIXUP ? "DMA_FIXUP " : "",
> +hostdata->flags & FLAG_NO_PSEUDO_DMA ? &
Hi Kees,
On Mon, Feb 5, 2024 at 2:01 PM Kees Cook wrote:
> On Mon, Feb 05, 2024 at 01:47:08PM +0100, Geert Uytterhoeven wrote:
> > > +/*
> > > + * The 2 argument style can only be used when dst is an array with a
> > > + * known size.
> > >
t, src, sizeof(dst))
(dst), (src)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talkin
__wrote;\
> -})
> +#define strscpy_pad(dst, src, ...) \
> + CONCATENATE(__strscpy_pad, COUNT_ARGS(__VA_ARGS__))(dst, src,
> __VA_ARGS__)
Likewise,
Gr{oetje,eeting}s,
Geert
--
Geert Uytterh
be
> + * zero padded. If padding is desired please use strscpy_pad().
> + *
> + * Returns the number of characters copied in @dst (not including the
> + * trailing %NUL) or -E2BIG if @size is 0 or the copy from @src was
> + * truncated.
> + */
> +#define strscpy(dst, src, .
Hi Kees,
On Mon, Jan 29, 2024 at 6:38 PM Kees Cook wrote>
> On Mon, Jan 29, 2024 at 10:57:40AM +0100, Geert Uytterhoeven wrote:
> > CC Kees (for the wrap-around in dma_cookie_assign() not handled in [A])
> > [...]
> > Was the system running for a very long time?
> >
Hi Eero,
On Tue, Jan 23, 2024 at 2:30 PM Eero Tamminen wrote:
> On 23.1.2024 10.13, Geert Uytterhoeven wrote:
> > On Tue, Jan 23, 2024 at 1:35 AM Kees Cook wrote:
> >> In an effort to separate intentional arithmetic wrap-around from
> >> unexpected wrap-around, we n
nk: https://github.com/KSPP/linux/issues/26 [2]
> Link: https://github.com/KSPP/linux/issues/27 [3]
> Link: https://github.com/KSPP/linux/issues/344 [4]
> Cc: Geert Uytterhoeven
> Cc: Andrew Morton
> Cc: Arnd Bergmann
> Cc: Liam Howlett
> Cc: "Matthew Wilcox (Oracle)"
uld mean we need a way to find the index too!
ctags?
Although "git grep" is faster (assumed you use the "correct" search
pattern, which can sometimes be challenging, indeed).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond
19 matches
Mail list logo