Re: [PATCH] testsuite fix: timezone: failing due to permissions in cross testing

2018-12-17 Thread Joseph Myers
On Mon, 17 Dec 2018, Vineet Gupta wrote: > The setup is obviously is cross test, built using buildroot. The system is > minimal > with root allowed w/o password to enable tests to run quickly. > > On host I do the following which certainly involves root. > > | make

Re: [PATCH] testsuite fix: timezone: failing due to permissions in cross testing

2018-12-17 Thread Vineet Gupta
On 12/17/18 3:25 PM, Joseph Myers wrote: > On Mon, 17 Dec 2018, Vineet Gupta wrote: > >> timezone test driver "zic" creates testdata directory wuth umask 755, so >> only root owner/group has write permissions. However the buildroot > root should not be involved in running tests at all; all tests

Re: [PATCH] testsuite fix: timezone: failing due to permissions in cross testing

2018-12-17 Thread Joseph Myers
On Mon, 17 Dec 2018, Vineet Gupta wrote: > timezone test driver "zic" creates testdata directory wuth umask 755, so > only root owner/group has write permissions. However the buildroot root should not be involved in running tests at all; all tests should run as a normal user, the same one that

Re: [PATCH] testsuite fix: timezone: failing due to permissions in cross testing

2018-12-17 Thread Vineet Gupta
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 >>  

Re: [PATCH] testsuite fix: timezone: failing due to permissions in cross testing

2018-12-17 Thread Paul Eggert
#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

[PATCH] testsuite fix: timezone: failing due to permissions in cross testing

2018-12-17 Thread Vineet Gupta
timezone test driver "zic" creates testdata directory wuth umask 755, so only root owner/group has write permissions. However the buildroot system created has sshd as default user, so sh fails to write to test results in this folder. Work around by relaxing umask to 777 | /bin/sh:

[PATCH] testsuite fix: timezone: failing due to permissions in cross testing

2018-12-17 Thread Vineet Gupta
timezone test driver "zic" creates testdata directory wuth umask 755, so only root owner/group has write permissions. However the buildroot system created has sshd as default user, so sh fails to write to test results in this folder. Work around by relaxing umask to 777 | /bin/sh:

Re: [PATCH] posix/tst-getaddrinfo4: Consider EAI_NODATA as an expected result

2018-12-17 Thread Vineet Gupta
On 7/30/18 3:40 AM, Alexey Brodkin wrote: > Some proxy DNS servers might not resolve IPv6 names to addresses. > Instead they reply with NOERROR while passing no real data. > That combination of NOERROR and EAI_NODATA happen because the DNS > server has a recored for requested name (example.net in

Re: [PATCH 1/2] dma-mapping: zero memory returned from dma_alloc_*

2018-12-17 Thread Christoph Hellwig
On Sat, Dec 15, 2018 at 12:14:29AM +1000, Greg Ungerer wrote: > Yep, that is right. Certainly the MMU case is broken. Some noMMU cases work > by virtue of the SoC only having an instruction cache (the older V2 cores). Is there a good an easy case to detect if a core has a cache? Either runtime

[PATCH] ARC: perf: map 'ijmptak' to generic 'branches' event

2018-12-17 Thread Eugeniy Paltsev
Map 'ijmptak' event (all jump instructions that are taken) instead of 'ijmp' event (all jump and branch instructions) to generic 'branches' event as taken jump is more interesting metric for us due to the possible significantly greater overhead of taken jumps. 'ijmptak' event is available on both