This is the mail archive of the glibc-bugs@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]

[Bug nscd/23178] sudo will fail when it is run in concurrent with commands that changes /etc/passwd


https://sourceware.org/bugzilla/show_bug.cgi?id=23178

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
The explanation sounds reasonable and it seems potentially not only
connection.c and pwdcache.c, but also nscd/aicache.c, nscd/grpcache.c,
nscd/hstcache.c, and nscd/initgrcache.c can potentially hit this sendfile
issue.  The most straightforward fix seems to just use 'writeall' since
sendfile is just an optimization.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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