Skip to content

[NSKIP058] stat below regular file returns EINVAL #893

Description

@ada-x64

Problem

On standalone Nanvix, stat() and lstat() return EINVAL for paths such as file/child, where an intermediate component is a regular file. POSIX requires ENOTDIR. This causes eight pathlib predicate tests to raise instead of returning False.

Footprint

rg -n NSKIP058 Lib/test

Related: nanvix/nanvix#3101. Tracked by #371.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions