fpLstat changed to call syscall_nr_fstatat, but flags is missing
Original Reporter info from Mantis: baldzhang @baldzhang
-
Reporter name: bald zhang
Original Reporter info from Mantis: baldzhang @baldzhang
- Reporter name: bald zhang
Description:
in trunk and fixes_3_2 both:
@rtl/linux/bunxsysc.inc line 524
the last param set to 0 but AT_SYMLINK_NOFOLLOW needed.
found on debian 10 on aarch64, fpc version 3.0.4 but merged this part from trunk
testing of pascal:
---
root@debian:~# strace -e newfstatat ./ending
newfstatat(AT_FDCWD, "/sys/block/vda", {st_mode=S_IFDIR|0755, st_size=0, ...}, 0) = 0
moe = 41ED
testing of c:
---
root@debian:~# strace -e newfstatat ./a
newfstatat(AT_FDCWD, "/sys/block/vda", {st_mode=S_IFLNK|0777, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0
mode = a1ff
Mantis conversion info:
- Mantis ID: 36528
- OS: linux
- Build: 3.0.4 on debian 10
- Platform: generic
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 43880 (#df6cf663)