Go to file
Carlos O'Donell cf9313e7d1 Enhance nscd's inotify support (Bug 14906).
In bug 14906 the user complains that the inotify support in nscd
is not sufficient when it comes to detecting changes in the
configurationfiles that should be watched for the various databases.

The current nscd implementation uses inotify to watch for changes in
the configuration files, but adds watches only for IN_DELETE_SELF and
IN_MODIFY. These watches are insufficient to cover even the most basic
uses by a system administrator. For example using emacs or vim to edit
a configuration file should trigger a reload but it might not if
the editors use move to atomically update the file. This atomic update
changes the inode and thus removes the notification on the file (as
inotify is based on inodes). Thus the inotify support in nscd for
configuration files is insufficient to account for the average use
cases of system administrators and users.

The inotify support is significantly enhanced and described here:
https://www.sourceware.org/ml/libc-alpha/2015-02/msg00504.html

Tested on x86_64 with and without inotify support.
2015-03-13 09:49:24 -04:00
argp Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
assert Add ersatz _Static_assert on older C hosts 2015-02-07 14:43:27 -08:00
benchtests Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
bits Define CLOCKS_PER_SEC type to the type clock_t 2015-01-06 04:59:13 -08:00
catgets Update copyright dates not handled by scripts/update-copyrights. 2015-01-02 16:54:45 +00:00
conf
conform Fix scandir scandirat namespace (bug 17999). 2015-02-19 17:18:51 +00:00
crypt Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
csu Compile gcrt1.o with -fPIC 2015-02-23 06:28:33 -08:00
ctype Fix isblank / isascii / toascii namespace (bug 17635). 2015-01-05 15:06:57 +00:00
debug Let tests result in UNSUPPORTED; use that for unbuildable C++ cases 2015-03-10 15:13:14 -07:00
dirent Fix scandir scandirat namespace (bug 17999). 2015-02-19 17:18:51 +00:00
dlfcn Let tests result in UNSUPPORTED; use that for unbuildable C++ cases 2015-03-10 15:13:14 -07:00
elf Fix ldconfig segmentation fault with corrupted cache (Bug 18093). 2015-03-11 21:07:32 -04:00
gmon Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gnulib Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
grp Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gshadow Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
hesiod Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
hurd add hurd/hurdsocket.h file missing from a5eb23d 2015-02-08 17:49:16 +01:00
iconv Convert tst-iconv3 to use test-skeleton. 2015-02-25 16:01:13 -08:00
iconvdata Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
include powerpc: Remove HAVE_ASM_GLOBAL_DOT_NAME define 2015-03-11 09:01:05 -04:00
inet in.h: Coordinate in6_pktinfo and ip6_mtuinfo for kernel and glibc [BZ #15850] 2015-02-25 00:13:28 -05:00
intl Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
io linux: open and openat ignore 'mode' with O_TMPFILE in flags 2015-02-24 13:19:22 +05:30
libidn Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libio Cleanup: in preparation for fixing BZ #16734, fix memory leaks exposed by 2015-03-08 09:46:53 -07:00
locale Avoid unsafe loc_name type casts with additional variable 2015-02-27 22:18:56 -03:00
localedata Avoid re-exec-self in bug-setlocale1. 2015-03-05 12:58:49 -08:00
login Move tst-getlogin to login/ subdirectory. 2015-02-06 12:29:27 -08:00
mach Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
malloc Consolidate arena_lookup and arena_lock into a single arena_get 2015-02-18 11:06:06 +05:30
manual manual: fix XPG basename prototype 2015-03-12 17:56:46 +01:00
math Add test for bug 18104. 2015-03-10 17:53:40 +00:00
misc Fix search.h namespace (bug 17996). 2015-02-18 18:47:34 +00:00
nis _nss_nis_initgroups_dyn: Return status instead of NSS_STATUS_SUCCESS 2015-03-02 10:08:12 +01:00
nptl Let tests result in UNSUPPORTED; use that for unbuildable C++ cases 2015-03-10 15:13:14 -07:00
nptl_db powerpc: Remove HAVE_ASM_GLOBAL_DOT_NAME define 2015-03-11 09:01:05 -04:00
nscd Enhance nscd's inotify support (Bug 14906). 2015-03-13 09:49:24 -04:00
nss Enhance nscd's inotify support (Bug 14906). 2015-03-13 09:49:24 -04:00
po glibc 2.21 pre-release update. 2015-02-05 23:14:38 -05:00
posix Fix BZ #18043 comment # 19: don't call undefined setenv(..., NULL, 1). 2015-03-11 08:55:50 -07:00
pwd tst-getpw: Rewrite. 2015-01-21 10:08:18 -05:00
resolv Skip logging for DNSSEC responses [BZ 14841] 2015-02-24 13:17:29 +05:30
resource Fix posix_spawn getrlimit64 namespace (bug 17991). 2015-02-18 00:26:35 +00:00
rt Conditionalize some test code for SIGRTMIN, SA_SIGINFO. 2015-03-04 15:14:56 -08:00
scripts Let tests result in UNSUPPORTED; use that for unbuildable C++ cases 2015-03-10 15:13:14 -07:00
setjmp Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shadow Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
signal Clean up allocrtsig code. 2015-01-08 15:31:15 -08:00
socket Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
soft-fp soft-fp: Define and use _FP_STATIC_ASSERT. 2015-03-12 18:43:21 +00:00
stdio-common vfprintf: Define WORK_BUFFER_SIZE 2015-03-06 11:06:33 +01:00
stdlib S/390: Fix setcontext/swapcontext which are not restoring sigmask. 2015-03-12 11:08:11 +01:00
streams Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
string Don't define __CORRECT_ISO_CPP_STRING_H_PROTO for non-GCC compilers (bug 17631) 2015-03-04 11:52:55 +01:00
sunrpc Split rpcent tests out of tst-netdb. 2015-03-04 15:55:38 -08:00
sysdeps soft-fp: Define and use _FP_STATIC_ASSERT. 2015-03-12 18:43:21 +00:00
sysvipc Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
termios Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
time time: ensure failing strptime() tests are reported correctly 2015-03-06 06:06:26 -05:00
timezone Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wcsmbs Remove unused definitions 2015-02-11 12:50:53 +01:00
wctype Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
.gitattributes
.gitignore
abi-tags Revert "hurd: Fix abi-tag, following ba90e05" 2015-02-11 23:51:51 +00:00
aclocal.m4 Make aclocal.m4 comment mention updating install.texi for autoconf version. 2014-10-31 22:44:17 +00:00
BUGS
ChangeLog Enhance nscd's inotify support (Bug 14906). 2015-03-13 09:49:24 -04:00
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12
ChangeLog.13
ChangeLog.14
ChangeLog.15
ChangeLog.16
ChangeLog.17
ChangeLog.old-ports
ChangeLog.old-ports-aarch64
ChangeLog.old-ports-aix
ChangeLog.old-ports-alpha
ChangeLog.old-ports-am33
ChangeLog.old-ports-arm
ChangeLog.old-ports-cris
ChangeLog.old-ports-hppa
ChangeLog.old-ports-ia64
ChangeLog.old-ports-linux-generic
ChangeLog.old-ports-m68k
ChangeLog.old-ports-microblaze
ChangeLog.old-ports-mips
ChangeLog.old-ports-powerpc
ChangeLog.old-ports-tile
config.h.in powerpc: Remove HAVE_ASM_GLOBAL_DOT_NAME define 2015-03-11 09:01:05 -04:00
config.make.in Use -Werror by default, add --disable-werror. 2014-12-10 01:14:48 +00:00
configure Avoid C++ tests when the C++ cannot be linked. 2015-03-04 13:52:45 -08:00
configure.ac Avoid C++ tests when the C++ cannot be linked. 2015-03-04 13:52:45 -08:00
CONFORMANCE
COPYING
COPYING.LIB
cppflags-iterator.mk
extra-lib.mk Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
extra-modules.mk Remove NOT_IN_libc 2014-11-24 15:03:45 +05:30
INSTALL Document test-wrapper-env-only in INSTALL. 2015-03-06 10:59:15 -08:00
libc-abis
LICENSES
Makeconfig Avoid re-exec-self in bug-setlocale1. 2015-03-05 12:58:49 -08:00
Makefile Let tests result in UNSUPPORTED; use that for unbuildable C++ cases 2015-03-10 15:13:14 -07:00
Makefile.in
Makerules Support after-link variable to run a final step on binaries. 2015-02-12 13:38:47 -08:00
NAMESPACE
NEWS Enhance nscd's inotify support (Bug 14906). 2015-03-13 09:49:24 -04:00
o-iterator.mk
PROJECTS
README Another pointless update in README. 2015-02-11 14:39:30 -08:00
Rules Let tests result in UNSUPPORTED; use that for unbuildable C++ cases 2015-03-10 15:13:14 -07:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
test-skeleton.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
version.h Open development for 2.22. 2015-02-06 02:03:41 -05:00
WUR-REPORT

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu.  The current
GNU/Hurd support requires out-of-tree patches that will eventually be
incorporated into an official GNU C Library release.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 2.6.32 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arm-*-linux-gnueabi
	hppa-*-linux-gnu	Not currently functional without patches.
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu
	tilegx-*-linux-gnu
	tilepro-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see http://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at http://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see http://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 1996-2015, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.