Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Aug 2024 19:28:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 275295] Linuxulator: faccessat2 unsupported flag 0x100
Message-ID:  <bug-275295-4077-GJroyRmnSn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275295-4077@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #9 from Kenneth Raplee <kenrap@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275295-4077-GJroyRmnSn>