This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING^2] RFC [PATCH] BZ#1077902: New API gettimezone


On 04/29/2014 04:09 PM, P J P wrote:
>> I'll wait and see what PJP comes up with for the tzalloc solution
>> to solve
> 
> Sure! But if we agree to not stuff zone file contents into TZ
> variable, then the only option is to use the TZ string at the end of
> the zone files, no?

I'm not against stuffing the zone file contents into the TZ
env var.

However, in order to do that we'd have to look at the kernel
implementation for at least Linux and Hurd to see if we can put
that much data into the process and the consequences of that.

If we have to share data across a chroot I'm going to ask you
to put your thinking cap on and at least consider alternatives
to using the environment variable pages for storing that data
e.g. shared memory segment checked when the chroot'd
application calls tz* functions?

Think outside the box.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]