public inbox for libc-stable@sourceware.org
 help / color / mirror / Atom feed
* [committed 2.34 0/8] _FORTIFY_SOURCE=3 and fixes
@ 2022-03-11 15:11 Siddhesh Poyarekar
  2022-03-11 15:11 ` [committed 2.34 1/8] Don't add access size hints to fortifiable functions Siddhesh Poyarekar
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Siddhesh Poyarekar @ 2022-03-11 15:11 UTC (permalink / raw)
  To: libc-stable; +Cc: carlos, fweimer

Backport _FORTIFY_SOURCE=3 support for gcc 12 into 2.34 along with testing
improvements and miscellaneous fixes.

Siddhesh Poyarekar (8):
  Don't add access size hints to fortifiable functions
  Make sure that the fortified function conditionals are constant
  debug: Add tests for _FORTIFY_SOURCE=3
  __glibc_unsafe_len: Fix comment
  fortify: Fix spurious warning with realpath
  Enable _FORTIFY_SOURCE=3 for gcc 12 and above
  debug: Autogenerate _FORTIFY_SOURCE tests
  debug: Synchronize feature guards in fortified functions [BZ #28746]

 Makerules                           |   6 +
 debug/Makefile                      | 113 +++++++++-----
 debug/tst-chk2.c                    |   2 -
 debug/tst-chk3.c                    |   2 -
 debug/tst-chk4.cc                   |   1 -
 debug/tst-chk5.cc                   |   2 -
 debug/tst-chk6.cc                   |   2 -
 debug/{tst-chk1.c => tst-fortify.c} | 153 ++++++++++++-------
 debug/tst-lfschk1.c                 |   2 -
 debug/tst-lfschk2.c                 |   2 -
 debug/tst-lfschk3.c                 |   2 -
 debug/tst-lfschk4.cc                |   2 -
 debug/tst-lfschk5.cc                |   2 -
 debug/tst-lfschk6.cc                |   2 -
 debug/tst-realpath-chk.c            |  37 +++++
 include/features.h                  |   4 +-
 io/bits/poll2.h                     |  31 +---
 io/sys/poll.h                       |   6 +-
 libio/bits/stdio2.h                 | 110 ++++++--------
 libio/stdio.h                       |   4 +-
 misc/sys/cdefs.h                    |  60 +++++++-
 posix/bits/unistd.h                 | 176 +++++-----------------
 posix/unistd.h                      |  28 ++--
 socket/bits/socket2.h               |  34 ++---
 stdlib/bits/stdlib.h                |  57 +++----
 stdlib/stdlib.h                     |   5 +-
 string/bits/string_fortified.h      |  13 +-
 string/string.h                     |   2 +-
 support/xsignal.h                   |   2 +
 wcsmbs/bits/wchar2.h                | 221 ++++++++--------------------
 30 files changed, 498 insertions(+), 585 deletions(-)
 delete mode 100644 debug/tst-chk2.c
 delete mode 100644 debug/tst-chk3.c
 delete mode 100644 debug/tst-chk4.cc
 delete mode 100644 debug/tst-chk5.cc
 delete mode 100644 debug/tst-chk6.cc
 rename debug/{tst-chk1.c => tst-fortify.c} (90%)
 delete mode 100644 debug/tst-lfschk1.c
 delete mode 100644 debug/tst-lfschk2.c
 delete mode 100644 debug/tst-lfschk3.c
 delete mode 100644 debug/tst-lfschk4.cc
 delete mode 100644 debug/tst-lfschk5.cc
 delete mode 100644 debug/tst-lfschk6.cc
 create mode 100644 debug/tst-realpath-chk.c

-- 
2.35.1


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

end of thread, other threads:[~2022-03-11 15:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 15:11 [committed 2.34 0/8] _FORTIFY_SOURCE=3 and fixes Siddhesh Poyarekar
2022-03-11 15:11 ` [committed 2.34 1/8] Don't add access size hints to fortifiable functions Siddhesh Poyarekar
2022-03-11 15:11 ` [committed 2.34 2/8] Make sure that the fortified function conditionals are constant Siddhesh Poyarekar
2022-03-11 15:11 ` [committed 2.34 3/8] debug: Add tests for _FORTIFY_SOURCE=3 Siddhesh Poyarekar
2022-03-11 15:11 ` [committed 2.34 4/8] __glibc_unsafe_len: Fix comment Siddhesh Poyarekar
2022-03-11 15:12 ` [committed 2.34 5/8] fortify: Fix spurious warning with realpath Siddhesh Poyarekar
2022-03-11 15:12 ` [committed 2.34 6/8] Enable _FORTIFY_SOURCE=3 for gcc 12 and above Siddhesh Poyarekar
2022-03-11 15:12 ` [committed 2.34 7/8] debug: Autogenerate _FORTIFY_SOURCE tests Siddhesh Poyarekar
2022-03-11 15:12 ` [committed 2.34 8/8] debug: Synchronize feature guards in fortified functions [BZ #28746] Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).