Re: [PATCH v3 2/2] linux-user: Fix openat() emulation to not modify atime

2023-12-28 Thread Shu-Chun Weng
Yup, reproduced on a system with glibc built with fortified source. Sending out version 4. On Thu, Dec 28, 2023 at 7:49 AM Helge Deller wrote: > On 12/8/23 23:42, Shu-Chun Weng wrote: > > Commit b8002058 strengthened openat()'s /proc detection by calling > > realpath(3) on the given path, which

Re: [PATCH v3 2/2] linux-user: Fix openat() emulation to not modify atime

2023-12-28 Thread Helge Deller
On 12/8/23 23:42, Shu-Chun Weng wrote: Commit b8002058 strengthened openat()'s /proc detection by calling realpath(3) on the given path, which allows various paths and symlinks that points to the /proc file system to be intercepted correctly. Using realpath(3), though, has a side effect that it

Re: [PATCH v3 2/2] linux-user: Fix openat() emulation to not modify atime

2023-12-26 Thread Shu-Chun Weng
ping~ On Fri, Dec 8, 2023 at 2:42 PM Shu-Chun Weng wrote: > Commit b8002058 strengthened openat()'s /proc detection by calling > realpath(3) on the given path, which allows various paths and symlinks > that points to the /proc file system to be intercepted correctly. > > Using realpath(3), thoug

[PATCH v3 2/2] linux-user: Fix openat() emulation to not modify atime

2023-12-08 Thread Shu-Chun Weng
Commit b8002058 strengthened openat()'s /proc detection by calling realpath(3) on the given path, which allows various paths and symlinks that points to the /proc file system to be intercepted correctly. Using realpath(3), though, has a side effect that it reads the symlinks along the way, and thu