aboutsummaryrefslogtreecommitdiff
path: root/malloc/alloc_buffer_alloc_array.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2023-07-17 16:54:15 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2024-07-08 09:41:44 +0100
commita6d1efba9efe454cac27c00f8d8c7515a8b95a19 (patch)
tree22218b3e170ba7681a0204b61910dd92851ae497 /malloc/alloc_buffer_alloc_array.c
parent44dd695c702bab0bf987812cc8eba0f5d3377c48 (diff)
downloadglibc-a6d1efba9efe454cac27c00f8d8c7515a8b95a19.tar.xz
glibc-a6d1efba9efe454cac27c00f8d8c7515a8b95a19.zip
aarch64: Try to free the GCS of makecontext
Free GCS after a makecontext start func returns and at thread exit, so assume makecontext cannot outlive the thread where it was created. This is an attempt to bound the lifetime of the GCS allocated for makecontext, but it is still possible to have significant GCS leaks, new GCS aware APIs could solve that, but that would not allow using GCS with existing code transparently.
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions