This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix concurrent changes on nscd aware files
- From: Andreas Schwab <schwab at suse dot de>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 16 May 2018 16:23:27 +0200
- Subject: Re: [PATCH] Fix concurrent changes on nscd aware files
- References: <1526479655-7180-1-git-send-email-adhemerval.zanella@linaro.org>
On Mai 16 2018, Adhemerval Zanella <adhemerval.zanella@linaro.org> 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.
There is also __ASSUME_SENDFILE in
sysdeps/unix/sysv/linux/kernel-features.h which is no longer used.
Ok with that change.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."