gvisor/pkg/sentry/fsimpl/tmpfs
Dean Deng ce19497c1c Fix Unix socket permissions.
Enforce write permission checks in BoundEndpointAt, which corresponds to the
permission checks in Linux (net/unix/af_unix.c:unix_find_other).
Also, create bound socket files with the correct permissions in VFS2.

Fixes #2324.

PiperOrigin-RevId: 308949084
2020-04-28 20:13:01 -07:00
..
BUILD Remove filesystem structure from vfs.Dentry. 2020-04-21 12:18:07 -07:00
benchmark_test.go Remove filesystem structure from vfs.Dentry. 2020-04-21 12:18:07 -07:00
device_file.go Set file mode and type to attribute 2020-03-25 14:49:13 -07:00
directory.go Remove filesystem structure from vfs.Dentry. 2020-04-21 12:18:07 -07:00
filesystem.go Fix Unix socket permissions. 2020-04-28 20:13:01 -07:00
named_pipe.go Implement pipe(2) and pipe2(2) for VFS2. 2020-04-16 19:27:03 -07:00
pipe_test.go Inline vfs.VirtualFilesystem in Kernel struct 2020-02-14 13:40:39 -08:00
regular_file.go Add NAME_MAX checks and update file times 2020-04-02 19:39:03 -07:00
regular_file_test.go Inline vfs.VirtualFilesystem in Kernel struct 2020-02-14 13:40:39 -08:00
socket_file.go Add socket files to tmpfs VFS2. 2020-04-06 07:31:27 -07:00
stat_test.go Remove filesystem structure from vfs.Dentry. 2020-04-21 12:18:07 -07:00
symlink.go Set file mode and type to attribute 2020-03-25 14:49:13 -07:00
tmpfs.go Remove filesystem structure from vfs.Dentry. 2020-04-21 12:18:07 -07:00