Skip to content

EOPNOTSUPP not exported by nix crate on FreeBSD #72

@ghost

Description

On FreeBSD the libc crate defines ENOTSUP as an alias for EOPNOTSUPP. The nix crate however only exports ENOTSUP. Would it be possible to switch to using ENOTSUP in sandboxfs instead for FreeBSD? It's likely the same way on the other BSDs.

return Err(nix::Error::from_errno(Errno::EOPNOTSUPP));

return Err(nix::Error::from_errno(Errno::EOPNOTSUPP));

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