Message ID | 20201219063314.1409576-1-siddhesh@sourceware.org |
---|---|
Headers | show |
Series | _FORTIFY_SOURCE=3 | expand |
On 12/19/20 12:03 PM, Siddhesh Poyarekar via Libc-alpha wrote: > This patchset implements a new fortification level, _FORTIFY_SOURCE=3. > This level allows size information to be dynamic, which may potentially > have a noticeable performance impact. It uses the > __builtin_dynamic_object_size builtin available in clang to expand > coverage of fortifications at the expense of some performance. > > Patch 1/2 implements the base support and support for functions that > have builtins of string functions. Additionally, the patch also > describes the use case and tradeoffs. > > Patch 2/2 adds support for non-string functions that are > fortification-ready for levels 1 and 2. Any more comments on this? I believe I have fixed all the outstanding issues that were pointed out during previous reviews. Siddhesh
On 22/12/2020 10:00, Siddhesh Poyarekar wrote: > On 12/19/20 12:03 PM, Siddhesh Poyarekar via Libc-alpha wrote: >> This patchset implements a new fortification level, _FORTIFY_SOURCE=3. >> This level allows size information to be dynamic, which may potentially >> have a noticeable performance impact. It uses the >> __builtin_dynamic_object_size builtin available in clang to expand >> coverage of fortifications at the expense of some performance. >> >> Patch 1/2 implements the base support and support for functions that >> have builtins of string functions. Additionally, the patch also >> describes the use case and tradeoffs. >> >> Patch 2/2 adds support for non-string functions that are >> fortification-ready for levels 1 and 2. > > Any more comments on this? I believe I have fixed all the outstanding issues that were pointed out during previous reviews. > > Siddhesh I will check this out tomorrow, but it seems ok skimming through it.