diff options
author | Liu Hua <sdu.liu@huawei.com> | 2019-04-01 15:00:49 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-01 15:01:53 -0700 |
commit | 33c644bc0b8f60544264dcd5cc5f8c70436cd874 (patch) | |
tree | f0fab6cfc5f29976fe15e0b49db6d1d736ba62fb /runsc/fsgofer/fsgofer_unsafe.go | |
parent | b4006686d2752857b406c6c7e53a112efca826ff (diff) |
gofer: ignore unsupported files
'ls' will hang if there is any FIFO in this path. So
return EPERM if unsupported file occurs and add NONBLOCK flag
when opening file to avoid blocking on FIFO read.
Signed-off-by: Liu Hua <sdu.liu@huawei.com>
Change-Id: I8b9a2a48322118d8ad531dd226395438123eb047
PiperOrigin-RevId: 241406726
Diffstat (limited to 'runsc/fsgofer/fsgofer_unsafe.go')
0 files changed, 0 insertions, 0 deletions