Re: [PATCH v2] arch: um: Mark the stack non-executable to fix a binutils warning

2022-09-21 Thread David Gow
On Thu, Sep 22, 2022 at 1:47 AM 'Nick Desaulniers' via KUnit Development wrote: > > On Tue, Sep 20, 2022 at 11:49 PM David Gow wrote: > > > > Since binutils 2.39, ld will print a warning if any stack section is > > executable, which is the default for stack sections on files without a > > .note.G

Re: [PATCH linux-next] um: use strscpy() is more robust and safer

2022-09-21 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20220920] url: https://github.com/intel-lab-lkp/linux/commits/cgel-zte-gmail-com/um-use-strscpy-is-more-robust-and-safer/20220921-173157 base:ef08d387bbbc20df740ced8caee0ffac835869ac config: um

Re: [PATCH v2] arch: um: Mark the stack non-executable to fix a binutils warning

2022-09-21 Thread Nick Desaulniers
On Tue, Sep 20, 2022 at 11:49 PM David Gow wrote: > > Since binutils 2.39, ld will print a warning if any stack section is > executable, which is the default for stack sections on files without a > .note.GNU-stack section. > > This was fixed for x86 in commit ffcf9c5700e4 ("x86: link vdso and boot

Re: [GIT PULL] UML fixes for 6.0-rc7

2022-09-21 Thread pr-tracker-bot
The pull request you sent on Wed, 21 Sep 2022 18:36:36 +0200 (CEST): > git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git > tags/for-linus-6.0-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/dc164f4fb00a0abebdfff132f8bc7291a28f5401 Thank you! -- Deet-do

[GIT PULL] UML fixes for 6.0-rc7

2022-09-21 Thread Richard Weinberger
Linus, The following changes since commit 521a547ced6477c54b4b0cc206000406c221b4d6: Linux 6.0-rc6 (2022-09-18 13:44:14 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git tags/for-linus-6.0-rc7 for you to fetch changes up to bd71558d5

[PATCH linux-next] um: use strscpy() is more robust and safer

2022-09-21 Thread cgel . zte
From: ye xingchen The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Reported-by: Zeal Robot Signed-off-by: ye xingchen --- arch/um/os-Linux/umid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/

Re: [PATCH linux-next] um: use strscpy() is more robust and safer

2022-09-21 Thread Geert Uytterhoeven
Hi Ye, On Wed, Sep 21, 2022 at 11:45 AM wrote: > From: ye xingchen > > The implementation of strscpy() is more robust and safer. > > That's now the recommended way to copy NUL terminated strings. > > Reported-by: Zeal Robot > Signed-off-by: ye xingchen Thanks for your patch! > --- a/arch/um/

Re: [PATCH v2] arch: um: Mark the stack non-executable to fix a binutils warning

2022-09-21 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "davidgow" > > Changes since v1: > http://lists.infradead.org/pipermail/linux-um/2022-August/004234.html > - Pass the -z noexecstack and --no-warn-rwx-segments flags as LDFLAGS, > rather than as CFLAGS via -Wl > - Check that --no-warn-rwx-segments exists wit