mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Note that Mount errors do not require translations
PiperOrigin-RevId: 204490639 Change-Id: I0fe26306bae9320c6aa4f854fe0ef25eebd93233
This commit is contained in:
@@ -48,6 +48,8 @@ type Filesystem interface {
|
||||
// Mount generates a mountable Inode backed by device and configured
|
||||
// using file system independent flags and file system dependent
|
||||
// data options.
|
||||
//
|
||||
// Mount may return arbitrary errors. They do not need syserr translations.
|
||||
Mount(ctx context.Context, device string, flags MountSourceFlags, data string) (*Inode, error)
|
||||
|
||||
// AllowUserMount determines whether mount(2) is allowed to mount a
|
||||
|
||||
Reference in New Issue
Block a user