[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.0.9999.0711161021420.15441@twinlark.arctic.org>
Date: Fri, 16 Nov 2007 10:22:42 -0800 (PST)
From: dean gaudet <dean@...tic.org>
To: Ulrich Drepper <drepper@...hat.com>
cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
mingo@...e.hu, tglx@...utronix.de, torvalds@...ux-foundation.org
Subject: Re: [PATCHv2 4/4] first use of sys_indirect system call
On Fri, 16 Nov 2007, Ulrich Drepper wrote:
> dean gaudet wrote:
> > honestly i think there should be a per-task flag which indicates whether
> > fds are by default F_CLOEXEC or not. my reason: third party libraries.
>
> Only somebody who thinks exclusively about applications as opposed to
> runtimes/libraries can say something like that. Library writers don't
> have the luxury of being able to modify any global state. This has all
> been discussed here before.
only someone who thinks about writing libraries can say something like
that. you've solved the problem for yourself, and for well written
applications, but not for the other 99.9999% of libraries out there.
i'm not suggesting the library set the global flag. i'm suggesting that
me as an app writer will do so.
it seems like both methods are useful.
-dean
-
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