about summary refs log tree commit diff
path: root/nss/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-10 23:41:40 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-10 23:41:40 +0000
commitaa132749c85c62b1e28ae885b84c9fa8aed45dfb (patch)
tree16defacc2d854a94586cdc407a368a614efcb5dd /nss/Makefile
parent916ee8bcba20a92ce4c4633667b5b37a12f8cba3 (diff)
downloadglibc-aa132749c85c62b1e28ae885b84c9fa8aed45dfb.tar.gz
glibc-aa132749c85c62b1e28ae885b84c9fa8aed45dfb.tar.xz
glibc-aa132749c85c62b1e28ae885b84c9fa8aed45dfb.zip
* nss/nss_files/files-XXX.c (internal_setent): Use O_CLOEXEC if
	possible.
	* nss/nss_files/files-alias.c (internal_setent): Likewise.
	* nss/Makefile (libnss_files-routines): Add files-have_o_cloexec.
	* nss/nss_files/files-have_o_cloexec.c: New file.
Diffstat (limited to 'nss/Makefile')
-rw-r--r--nss/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/nss/Makefile b/nss/Makefile
index 320fbbd9f1..f2ecadb2a7 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996,1997,1998,2000,2001,2002 Free Software Foundation, Inc.
+# Copyright (C) 1996-1998,2000,2001,2002,2007 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -62,7 +62,8 @@ subdir-dirs = $(services:%=nss_%)
 vpath %.c $(subdir-dirs)
 
 
-libnss_files-routines	:= $(addprefix files-,$(databases))
+libnss_files-routines	:= $(addprefix files-,$(databases)) \
+			   files-have_o_cloexec
 distribute		+= files-XXX.c files-parse.c