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

Carlos O'Donell carlos@redhat.com
Tue Apr 29 20:34:00 GMT 2014


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.



More information about the Libc-alpha mailing list