diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-07 18:33:52 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-07 18:33:52 +0200 |
commit | f0c28504a9877be5da3ed1215f2da2d5914bbb0b (patch) | |
tree | 3bcdc72da69024f65427486065fd26b071d487a3 /nptl/pthread_sigqueue.c | |
parent | 7fcdb532534e46f70624fd7e3681eb6831a69303 (diff) | |
download | glibc-f0c28504a9877be5da3ed1215f2da2d5914bbb0b.tar glibc-f0c28504a9877be5da3ed1215f2da2d5914bbb0b.tar.gz glibc-f0c28504a9877be5da3ed1215f2da2d5914bbb0b.tar.bz2 glibc-f0c28504a9877be5da3ed1215f2da2d5914bbb0b.zip |
nss_files: Allocate nscd file registration data on the heap
This is only needed if nss_files is loaded by nscd.
Before:
text data bss dec hex filename
767 0 24952 25719 6477 nss/files-init.os
After:
text data bss dec hex filename
666 0 0 666 29a nss/files-init.os
Using PATH_MAX bytes unconditionally for the directory name
is wasteful, but fixing that would constitute another break
of this semi-public ABI. (The other issue is that with
symbolic links, an arbitrary set of parent directories may need
watching, not just a single one.)
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthread_sigqueue.c')
0 files changed, 0 insertions, 0 deletions