This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix concurrent changes on nscd aware files


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]