summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/path_test.go
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2021-10-29 14:00:52 -0700
committergVisor bot <gvisor-bot@google.com>2021-10-29 14:03:16 -0700
commitb822923b706d6d2c5206451040f51a8c2f961353 (patch)
tree393f215aa879b909c9c9debd5e893bddb61ee50a /pkg/sentry/fs/path_test.go
parent1953d2ad28d405a3ab028feba7b6fca18339e9be (diff)
[syserr] Covert all linuxerr returns to error type.
Change the linuxerr.ErrorFromErrno to return an error type and not a *errors.Error type. The latter results in problems comparing to nil as <nil><nil> != <nil><*errors.Error>. In a follow up, there will be a change to remove *errors.Error.Errno(), which will also encourage users to not use Errnos to reference linuxerr. PiperOrigin-RevId: 406444419
Diffstat (limited to 'pkg/sentry/fs/path_test.go')
0 files changed, 0 insertions, 0 deletions