mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
fuse_open: add padding to open out request
This commit is contained in:
@@ -156,9 +156,9 @@ const (
|
||||
|
||||
// Constants relevant to FUSE operations.
|
||||
const (
|
||||
FUSE_NAME_MAX = 1024
|
||||
FUSE_PAGE_SIZE = 4096
|
||||
FUSE_DIRENT_ALIGN = 8
|
||||
FUSE_NAME_MAX = 1024
|
||||
FUSE_PAGE_SIZE = 4096
|
||||
FUSE_DIRENT_ALIGN = 8
|
||||
)
|
||||
|
||||
// FUSEInitIn is the request sent by the kernel to the daemon,
|
||||
@@ -402,6 +402,8 @@ type FUSEOpenOut struct {
|
||||
|
||||
// OpenFlag for the opened file.
|
||||
OpenFlag uint32
|
||||
|
||||
_ uint32
|
||||
}
|
||||
|
||||
// FUSE_READ flags, consistent with the ones in include/uapi/linux/fuse.h.
|
||||
|
||||
Reference in New Issue
Block a user