From aa132749c85c62b1e28ae885b84c9fa8aed45dfb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 10 Aug 2007 23:41:40 +0000 Subject: * 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. --- nss/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nss/Makefile') 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 -- cgit v1.2.3