[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1304749754.2821.712.camel@edumazet-laptop>
Date: Sat, 07 May 2011 08:29:14 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Changli Gao <xiaosuo@...il.com>
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
Matthew Wilcox <matthew@....cx>, Arnd Bergmann <arnd@...db.de>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org
Subject: Re: [PATCH] fs: add FD_CLOFORK and O_CLOFORK
Le samedi 07 mai 2011 à 14:22 +0800, Changli Gao a écrit :
> It seems more clear. Thanks.
>
> BTW: I will work on F_CLOSFD after this patch accepted. It is useful
> to close all the opened file descriptors when programing a daemon.
>
I am sure the following idea already was discussed in the past :
Embed the close_on_exec / close_on_close bits in the low order bits of
file pointers.
Might be interesting to raise it again.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists