Remaining regular-file length/permissions/seek/sync policy in unix/fs.rs. Strong FD lookup/drop and actual host effects are mandatory.
@[reducible, inline]
Instances For
- paths : UnixFsPaths.Hooks S F D Path HM Time E Kind
- communicate : Bool
- seek : F → Bool → Files.SeekFrom → M S (Except (IoError.Error E) UInt64)
- setLength : H → UInt64 → M S (Except (IoError.HostError E) Unit)
- fileLength : H → M S (Except (IoError.HostError E) UInt64)
- setPermissions : H → UInt32 → M S (Except (IoError.HostError E) Unit)
- sync : H → Bool → M S (Except (IoError.HostError E) Unit)
False = File::sync_all, true = File::sync_data, not a success acknowledgement.
Instances For
def
Miri.Interpreter.UnixFsFd.chmod
{S F D P HM T E K H : Type}
(h : Hooks S F D P HM T E K H)
(number mode : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.UnixFsFd.allocateImpl
{S F D P HM T E K H : Type}
(h : Hooks S F D P HM T E K H)
(number : Int32)
(offset length : Int64)
:
M S (Except (IoError.Error E) Unit)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.UnixFsFd.posixAllocate
{S F D P HM T E K H : Type}
(h : Hooks S F D P HM T E K H)
(number : Int32)
(offset length : Int64)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.UnixFsFd.isatty
{S F D P HM T E K H : Type}
(h : Hooks S F D P HM T E K H)
(op : OpTy Memory.Provenance)
:
Equations
- One or more equations did not get rendered due to their size.