[PATCH] Fix concurrent changes on nscd aware files
Florian Weimer
fweimer@redhat.com
Wed May 16 14:16:00 GMT 2018
On 05/16/2018 04:07 PM, Adhemerval Zanella wrote:
> [BZ #23178]
> * nscd/nscd-client.h (sendfileall): Remove prototype.
> * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
> (handle_request): Use writeall instead of sendfileall.
> * nscd/aicache.c (addhstaiX): Likewise.
> * nscd/grpcache.c (cache_addgr): Likewise.
> * nscd/hstcache.c (cache_addhst): Likewise.
> * nscd/initgrcache.c (addinitgroupsX): Likewise.
> * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
> * nscd/pwdcache.c (cache_addpw): Likewise.
> * nscd/servicescache.c (cache_addserv): Likewise.
> * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
> (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
You can remove the definition of __ASSUME_SENDFILE as well. Looks good
otherwise.
Thanks,
Florian
More information about the Libc-alpha
mailing list