hermit-os / hermit-os/kernel

`errno` should not be set on every syscall

Open
#1,550 0 comments 0 reactions 1 assignee Claimed by @mkroening View on GitHub
Dominant language
Rust
Stars
1.5k
Forks
132
Avg merge
1d 14h
Merged PRs (30d)
39

Description

We should make `errno` setting explicit via one way or another.

These syscalls should not set errno (not exhaustive):
- [`clock_nanosleep`](https://www.man7.org/linux/man-pages/man3/clock_nanosleep.3p.html)
- [`getpid`](https://man7.org/linux/man-pages/man3/getpid.3p.html)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.