glibc/nss/nss_files
Florian Weimer f0c28504a9 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>
2021-07-07 18:33:52 +02:00
..
files-alias.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-ethers.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-grp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-hosts.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-init.c nss_files: Allocate nscd file registration data on the heap 2021-07-07 18:33:52 +02:00
files-initgroups.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-netgrp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-network.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-parse.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-proto.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-pwd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-rpc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-service.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-sgrp.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-spwd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
files-XXX.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00