Skip to content

Take all AsFds by ref? #446

Closed
Closed
@SUPERCILEX

Description

@SUPERCILEX

Every function current passes in AsFd by value. This is safe, but a little weird because you can do read(owned_fd, ...) and close the fd within the read call. Was this considered? Or a design mistake?

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