Re: [OE-core] [PATCH v3] pseudo: Fix openat() with a symlink pointing to a directory

2019-08-06 Thread Jason Wessel
On 8/6/19 10:39 AM, Jason Wessel wrote: On 8/6/19 9:59 AM, Jason Wessel wrote: On 8/6/19 9:20 AM, Richard Purdie wrote: On Mon, 2019-08-05 at 09:32 -0700, Jason Wessel wrote: While working with ostree disk generation in conjunction with wic, I found a problem with pseudo where it tried to

Re: [OE-core] [PATCH v3] pseudo: Fix openat() with a symlink pointing to a directory

2019-08-06 Thread Jason Wessel
On 8/6/19 9:59 AM, Jason Wessel wrote: On 8/6/19 9:20 AM, Richard Purdie wrote: On Mon, 2019-08-05 at 09:32 -0700, Jason Wessel wrote: While working with ostree disk generation in conjunction with wic, I found a problem with pseudo where it tried to resolve a symlink when it shouldn't, based

Re: [OE-core] [PATCH v3] pseudo: Fix openat() with a symlink pointing to a directory

2019-08-06 Thread Jason Wessel
On 8/6/19 9:20 AM, Richard Purdie wrote: On Mon, 2019-08-05 at 09:32 -0700, Jason Wessel wrote: While working with ostree disk generation in conjunction with wic, I found a problem with pseudo where it tried to resolve a symlink when it shouldn't, based on openat() flags. A C program has been

Re: [OE-core] [PATCH v3] pseudo: Fix openat() with a symlink pointing to a directory

2019-08-06 Thread Richard Purdie
On Mon, 2019-08-05 at 09:32 -0700, Jason Wessel wrote: > While working with ostree disk generation in conjunction with wic, I > found a problem with pseudo where it tried to resolve a symlink when > it shouldn't, based on openat() flags. A C program has been > constructed to test pseudo to show

[OE-core] [PATCH v3] pseudo: Fix openat() with a symlink pointing to a directory

2019-08-05 Thread Jason Wessel
While working with ostree disk generation in conjunction with wic, I found a problem with pseudo where it tried to resolve a symlink when it shouldn't, based on openat() flags. A C program has been constructed to test pseudo to show that it is working properly with the correct behavior around