Skip to content

improve syscall API wrappers #3819

@alyssawilk

Description

@alyssawilk

Per discussion in #3813 it'd be good if the doRead call didn't latch errno several levels away from where the actual syscall was performed. We should change the APIs to return {rc, errnno} in some form to better futureproof in case the intermediate function calls add their own errno-corrupting debug logging.

We could also get really fancy and insist that errno is latched via fix_format fixes, as also discussed there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions