[PATCH] testsuite fix: timezone: failing due to permissions in cross testing
Vineet Gupta
vineet.gupta1@synopsys.com
Mon Dec 17 23:25:00 GMT 2018
On 12/17/18 3:17 PM, Paul Eggert wrote:
>
>> Â #ifdef S_IRUSR
>> -#define MKDIR_UMASK (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)
>> +#define MKDIR_UMASK
>> (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH)
>> Â #else
>> Â #define MKDIR_UMASK 0755
>> Â #endif
>
> The zic.c code is taken from upstream, and I'm loath to change it everywhere
> simply because a glibc test driver isn't working somewhere, as I expect this would
> lead to security holes elsewhere. Intead, how about changing the test script to
> chmod the testdata directory after zic creates it, or to segregate the tzdata
> directory from the other test results?
OK, the idea here was to solicit ideas about how to go about addressing this. I
need to dig into the test harness to see how it can be addressed in the way you
suggest.
Thx,
-Vineet
More information about the Libc-alpha
mailing list