Skip to content

[NSKIP023] os.pipe() ENOSYS in standalone mode #503

@ada-x64

Description

@ada-x64

[NSKIP023] os.pipe() ENOSYS in standalone mode

Skip message

NSKIP023: os.pipe() ENOSYS in standalone mode

Root cause

Standalone Nanvix does not implement the pipe(2) syscall — os.pipe()
returns errno 134 (ENOSYS). Hosted Nanvix (linuxd) supports pipes, so
this is a is_nanvix_standalone predicate.

Inline repro

import os
print(hasattr(os, 'pipe'))   # True (compiled in)
os.pipe()                    # OSError: ENOSYS on standalone

Finding the footprint

rg -n 'NSKIP023'

Parent

Tracked in #371.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions