Re: [PATCH] selftests/exec: include cwd in long path calculation

2017-10-12 Thread Steve Muckle
Thanks David for the review. Replies inline. On 10/12/2017 05:22 AM, David Drysdale wrote: Modulo the minor comment below: Reviewed-by: David Drysdale On Thu, Oct 12, 2017 at 1:40 AM, Steve Muckle wrote: When creating a pathname close to PATH_MAX to test execveat, factor in the current work

Re: [PATCH] selftests/exec: include cwd in long path calculation

2017-10-12 Thread David Drysdale
Modulo the minor comment below: Reviewed-by: David Drysdale On Thu, Oct 12, 2017 at 1:40 AM, Steve Muckle wrote: > When creating a pathname close to PATH_MAX to test execveat, factor in > the current working directory path otherwise we end up with an absolute > path that is longer than PATH_MAX

[PATCH] selftests/exec: include cwd in long path calculation

2017-10-11 Thread Steve Muckle
When creating a pathname close to PATH_MAX to test execveat, factor in the current working directory path otherwise we end up with an absolute path that is longer than PATH_MAX. While execveat() may succeed, subsequent calls to the kernel from the runtime environment which are required to successfu