lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230523-nolibc-stackprotector-gcc9-v1-0-3e4804235d50@weissschuh.net>
Date:   Wed, 24 May 2023 08:44:41 +0200
From:   Thomas Weißschuh <linux@...ssschuh.net>
To:     Willy Tarreau <w@....eu>, Shuah Khan <shuah@...nel.org>
Cc:     linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
        Zhangjin Wu <falcon@...ylab.org>,
        Thomas Weißschuh <linux@...ssschuh.net>
Subject: [PATCH 0/3] tools/nolibc: stack protector compatibility fixes

Two fixes for nolibc to
* allow users to explicitly disable (or theoretically enable) when
  building the tests
* fix stackprotectors on GCC < 10.

Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
---
Thomas Weißschuh (3):
      Revert "EXP: tools/nolibc: partially revert stackprotector compiler flags"
      selftests/nolibc: allow disabling of stackprotector support
      tools/nolibc: fix segfaults on compilers without attribute no_stack_protector

 tools/include/nolibc/arch-aarch64.h     |  2 +-
 tools/include/nolibc/arch-arm.h         |  2 +-
 tools/include/nolibc/arch-i386.h        |  2 +-
 tools/include/nolibc/arch-loongarch.h   |  2 +-
 tools/include/nolibc/arch-mips.h        |  2 +-
 tools/include/nolibc/arch-riscv.h       |  2 +-
 tools/include/nolibc/arch-x86_64.h      |  2 +-
 tools/include/nolibc/compiler.h         | 10 ++++++++++
 tools/include/nolibc/stackprotector.h   |  2 +-
 tools/testing/selftests/nolibc/Makefile | 13 ++-----------
 10 files changed, 20 insertions(+), 19 deletions(-)
---
base-commit: 8213b0cdb51d1f66af713e00fd0dff3c2eb47636
change-id: 20230523-nolibc-stackprotector-gcc9-8eebd10a7968

Best regards,
-- 
Thomas Weißschuh <linux@...ssschuh.net>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ