https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275295

--- Comment #9 from Kenneth Raplee <ken...@kennethraplee.com> ---
(In reply to Fernando ApesteguĂ­a from comment #7)
It looks like I got the same result after applying your patch, rebuilding my
entire system from habit, and then running your test program.

```
kenrap@freebsd [~/Projects/access_test] % ls -l
total 14
-rwxr-xr-x  1 kenrap kenrap 10688 Aug  9 12:07 a.out
-rw-r--r--  1 kenrap kenrap  1336 Aug  9 12:07 access_test.c
--w-------  1 kenrap kenrap     0 Aug  9 12:06 file
lrwxr-xr-x  1 kenrap kenrap     4 Aug  9 12:06 link_to_file -> file
kenrap@freebsd [~/Projects/access_test] % ./a.out file link_to_file
accessat: Permission denied
accessat: Permission denied
With AT_SYMLINK_NOFOLLOW:
accessat: Permission denied
link is accessible
```

My current build is from the d349bd35330d commit:
https://cgit.freebsd.org/src/commit/?id=d349bd35330d3ec7ce1d3e7d6c2d6fc1f6a95704

Also, would you like me to test by using an Ubuntu linuxulator? I would need to
setup one again.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to