Skip to content

fix sched_getaffinity - #109

Merged
sunfishcode merged 2 commits into
bytecodealliance:mainfrom
nivkner:fix_sched_getaffinity
Nov 9, 2021
Merged

sunfishcode merged 2 commits into
bytecodealliance:mainfrom
nivkner:fix_sched_getaffinity

Conversation

@nivkner

@nivkner nivkner commented Nov 8, 2021

Copy link
Copy Markdown
Contributor

this function currently panics because it expects the syscall to behave like the glibc wrapper, which returns either 0 or an error.
the linux syscall returns a value on success.

Comment thread src/imp/linux_raw/syscalls.rs Resolved
@sunfishcode
sunfishcode merged commit 23cc118 into bytecodealliance:main Nov 9, 2021
@sunfishcode

Copy link
Copy Markdown
Member

Thanks! I'll publish a new release soon.

carbotaniuman added a commit to carbotaniuman/rustix that referenced this pull request Jul 11, 2022
…e#109)

* Move net and threading out

* Move math, malloc, and mem out

* Roll some of the string fns

* Format

* Use `get` and not `raw_get`

* Update libc and add stuff

* Fix suspicious cast integer math
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants