Skip to content

Clarifying rights::path_filestat_set_size #28

Closed
@MaulingMonkey

Description

@MaulingMonkey

rights::path_filestat_set_size's definition seems fairly ambiguous to me - the current wording is extremely general, "The right to change a file's size.", but then it only describes it's interaction with open. I can't tell if it's meant to:

  1. apply broadly to a bunch of syscalls (allocate, filestat_set_size, pwrite/write if extending the file size), or some subset of those, and if so - if it implies, or is implied by, or is required in tandem with related sizing rights that control those syscalls (rights::fd_allocate, rights::fd_filestat_set_size)

or perhaps, at the other extreme:

  1. apply only to truncation via open, with the original naming being just to match POSIX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions