gvisor/pkg/sentry/syscalls
Wei Zhang 17ff6063a3 Bugfix: fix fstatat symbol link to dir
For a symbol link to some directory, eg.

`/tmp/symlink -> /tmp/dir`

`fstatat("/tmp/symlink")` should return symbol link data, but
`fstatat("/tmp/symlink/")` (symlink with trailing slash) should return
directory data it points following linux behaviour.

Currently fstatat() a symlink with trailing slash will get "not a
directory" error which is wrong.

Signed-off-by: Wei Zhang <zhangwei198900@gmail.com>
Change-Id: I63469b1fb89d083d1c1255d32d52864606fbd7e2
PiperOrigin-RevId: 244783916
2019-04-22 20:07:06 -07:00
..
linux Bugfix: fix fstatat symbol link to dir 2019-04-22 20:07:06 -07:00
BUILD Convert poll/select to operate more directly on linux.PollFD 2019-04-17 12:15:01 -07:00
epoll.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
syscalls.go Add more unimplemented syscall events 2018-10-20 11:14:23 -07:00