about summary refs log tree commit diff
path: root/nptl/pthread_getname.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-06-21 22:43:57 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-01-04 13:01:28 +0100
commite75e7573e1a44faaea833eb1f390def5d6ab672f (patch)
tree2c5d0da09b23e93ac736a18d493a08a1f33b621a /nptl/pthread_getname.c
parentbf19b5fdcde6bae47a17e6173f57f0606a8bd0e9 (diff)
downloadglibc-e75e7573e1a44faaea833eb1f390def5d6ab672f.tar.gz
glibc-e75e7573e1a44faaea833eb1f390def5d6ab672f.tar.xz
glibc-e75e7573e1a44faaea833eb1f390def5d6ab672f.zip
Implement allocation buffers for internal use
This commit adds fixed-size allocation buffers.  The primary use
case is in NSS modules, where dynamically sized data is stored
in a fixed-size buffer provided by the caller.

Other uses include a replacement of mempcpy cascades (which is
safer due to the size checking inherent to allocation buffers).

(cherry picked from commit 4dd8e7c0ce5ecc7f65e33e60ad2f717b31de32ec)
Diffstat (limited to 'nptl/pthread_getname.c')
0 files changed, 0 insertions, 0 deletions