diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-21 22:43:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-21 22:43:57 +0200 |
commit | 4dd8e7c0ce5ecc7f65e33e60ad2f717b31de32ec (patch) | |
tree | bfc9688f34dfc949e8da77d0ec05b684ff64e86f /elf/tst-protected1moda.c | |
parent | 11ffcacb64a939c10cfc713746b8ec88837f5c4a (diff) | |
download | glibc-4dd8e7c0ce5ecc7f65e33e60ad2f717b31de32ec.tar.gz glibc-4dd8e7c0ce5ecc7f65e33e60ad2f717b31de32ec.tar.xz glibc-4dd8e7c0ce5ecc7f65e33e60ad2f717b31de32ec.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).
Diffstat (limited to 'elf/tst-protected1moda.c')
0 files changed, 0 insertions, 0 deletions