Re: [PATCH v4 0/4] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-20 Thread Corinna Vinschen
On Jan 20 14:57, Ken Brown wrote: > On 1/20/2020 4:56 AM, Corinna Vinschen wrote: > > On Jan 17 16:10, Ken Brown wrote: > >> Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. > >> Following Linux, the first patch in this series allows the call to > >> succeed if O_PATH is also specifie

Re: [PATCH v4 0/4] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-20 Thread Ken Brown
On 1/20/2020 4:56 AM, Corinna Vinschen wrote: > On Jan 17 16:10, Ken Brown wrote: >> Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. >> Following Linux, the first patch in this series allows the call to >> succeed if O_PATH is also specified. >> >> According to the Linux man page for

Re: [PATCH v4 0/4] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-20 Thread Corinna Vinschen
On Jan 17 16:10, Ken Brown wrote: > Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. > Following Linux, the first patch in this series allows the call to > succeed if O_PATH is also specified. > > According to the Linux man page for open(2), "the call returns a file > descriptor refe

[PATCH v4 0/4] Support opening a symlink with O_PATH | O_NOFOLLOW

2020-01-17 Thread Ken Brown
Currently, opening a symlink with O_NOFOLLOW fails with ELOOP. Following Linux, the first patch in this series allows the call to succeed if O_PATH is also specified. According to the Linux man page for open(2), "the call returns a file descriptor referring to the symbolic link. This file descrip