Re: [PATCH] uml: Replace all non-returning strlcpy with strscpy

2023-05-30 Thread Kees Cook
v_name, > sizeof(ifr.ifr_name)); > | ^~~ > | strncpy > cc1: some warnings being treated as errors Ah, yeah, this is another "not actually in the kernel" cases. Let's ignore this strlcpy for now. -Keed -- Kees Cook ___ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um

Re: [PATCH v5 02/13] x86/um: nommu: elf loader for fdpic

2024-12-17 Thread Kees Cook
file to use BINFMT_ELF_FDPIC under !MMU environment. > > Cc: Eric Biederman > Cc: Kees Cook > Cc: Alexander Viro > Cc: Christian Brauner > Cc: Jan Kara > Cc: linux...@kvack.org > Cc: linux-fsde...@vger.kernel.org > Signed-off-by: Hajime Tazaki Acked-by: Kees Cook -- Kees Cook

[PATCH v2 3/3] integer-wrap: Force full rebuild when .scl file changes

2025-05-02 Thread Kees Cook
possible in the case of having compiler flags removed via "filter-out" (which would remove all instances of "-include"). Signed-off-by: Kees Cook --- Cc: Masahiro Yamada Cc: Justin Stitt Cc: Nathan Chancellor Cc: Nicolas Schier Cc: Marco Elver Cc: Andrey Konovalov

[PATCH v2 0/3] Detect changed compiler dependencies for full rebuild

2025-05-02 Thread Kees Cook
ans that all targets gain the dependency (via fixdep), but only when the defines are active, which means they are trivially controlled by the existing CFLAGS removal mechanisms that are already being used to turn off each of the above features. -Kees Kees Cook (3): gcc-plugins: Force full rebuild

[PATCH v2 2/3] randstruct: Force full rebuild when seed changes

2025-05-02 Thread Kees Cook
exists. The UM build requires that the -I be explicitly added. Signed-off-by: Kees Cook --- Cc: Masahiro Yamada Cc: Nathan Chancellor Cc: Nicolas Schier Cc: Petr Pavlu Cc: Sebastian Andrzej Siewior Cc: --- Makefile | 1 + arch/um/Makefile | 1 + in

[PATCH v2 1/3] gcc-plugins: Force full rebuild when plugins change

2025-05-02 Thread Kees Cook
header file via include/linux/compiler-version.h, which is already being used to control full rebuilds. The UM build requires that the -I be explicitly added. Signed-off-by: Kees Cook --- Cc: Masahiro Yamada Cc: Nathan Chancellor Cc: Nicolas Schier Cc: Cc: --- arch/um/Makefile

Re: [PATCH v2 1/3] gcc-plugins: Force full rebuild when plugins change

2025-05-03 Thread Kees Cook
On Sat, May 03, 2025 at 03:12:23PM +0900, Masahiro Yamada wrote: > On Sat, May 3, 2025 at 7:54 AM Kees Cook wrote: > > +quiet_cmd_gcc_plugins_updated = UPDATE $@ > > + cmd_gcc_plugins_updated = echo '/* $^ */' > $(obj)/gcc-plugins-deps.h > > I think 

Re: [PATCH v2 2/3] randstruct: Force full rebuild when seed changes

2025-05-03 Thread Kees Cook
On Sat, May 03, 2025 at 03:13:06PM +0900, Masahiro Yamada wrote: > On Sat, May 3, 2025 at 7:54 AM Kees Cook wrote: > > +$(obj)/randstruct_hash.h $(obj)/randstruct.seed: $(gen-randstruct-seed) > > FORCE > > $(call if_changed,create_randstruct_seed) > [...] >

Re: [PATCH v2 0/3] Detect changed compiler dependencies for full rebuild

2025-05-03 Thread Kees Cook
On Sat, May 03, 2025 at 06:39:28PM +0900, Masahiro Yamada wrote: > On Sat, May 3, 2025 at 7:54 AM Kees Cook wrote: > > > > v2: > > - switch from -include to -I with a -D gated include compiler-version.h > > v1: https://lore.kernel.org/lkml/20250501193839.work.525-k.

Re: [PATCH v2 0/3] Detect changed compiler dependencies for full rebuild

2025-05-08 Thread Kees Cook
On Fri, May 09, 2025 at 01:44:09AM +0900, Masahiro Yamada wrote: > On Sun, May 4, 2025 at 2:37 AM Kees Cook wrote: > > > > On Sat, May 03, 2025 at 06:39:28PM +0900, Masahiro Yamada wrote: > > > On Sat, May 3, 2025 at 7:54 AM Kees Cook wrote: > > > > > >

Re: [PATCH v2 0/3] Detect changed compiler dependencies for full rebuild

2025-05-08 Thread Kees Cook
On Fri, May 09, 2025 at 08:13:18AM +0900, Masahiro Yamada wrote: > On Fri, May 9, 2025 at 1:56 AM Kees Cook wrote: > > > > On Fri, May 09, 2025 at 01:44:09AM +0900, Masahiro Yamada wrote: > > > On Sun, May 4, 2025 at 2:37 AM Kees Cook wrote: > > > > > &

Re: [PATCH 03/10] fs: consistently use file_has_valid_mmap_hooks() helper

2025-06-16 Thread Kees Cook
Lorenzo Stoakes >--- > fs/backing-file.c | 2 +- > fs/binfmt_elf.c | 4 ++-- > fs/binfmt_elf_fdpic.c | 2 +- Thanks for the refactoring! Acked-by: Kees Cook -- Kees Cook

Re: [RFC PATCH] um: replace deprecated strncpy with strscpy

2025-06-09 Thread Kees Cook
I would think padding should be included? -- Kees Cook

Re: [PATCH 00/23] binfmt_elf,arch/*: Use elf.h for coredump note names

2025-07-14 Thread Kees Cook
ote names https://git.kernel.org/kees/c/a55128d392e8 Take care, -- Kees Cook

[GIT PULL] execve updates for v6.17

2025-07-26 Thread Kees Cook
/binfmt_elf_fdpic.c| 17 kernel/fork.c| 2 +- 24 files changed, 196 insertions(+), 175 deletions(-) -- Kees Cook