-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File mode passed to uhyve is given in hex instead of octal. #191
Comments
stlankes
added a commit
to hermit-os/rust
that referenced
this issue
Mar 19, 2023
Due to this typo we have to build a workaround for issue hermit-os/kernel#191. RustyHermit is a tier 3 platform and backward compatibility does not have to be guaranteed.
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Mar 24, 2023
fix typo in the creation of OpenOption for RustyHermit Due to this typo we have to build a workaround for issue hermit-os/kernel#191. RustyHermit is a tier 3 platform and backward compatibility does not have to be guaranteed.
Fixed by rust-lang/rust#109368. |
thomcc
pushed a commit
to tcdi/postgrestd
that referenced
this issue
Jun 1, 2023
Due to this typo we have to build a workaround for issue hermit-os/kernel#191. RustyHermit is a tier 3 platform and backward compatibility does not have to be guaranteed.
thomcc
pushed a commit
to tcdi/postgrestd
that referenced
this issue
Jun 1, 2023
fix typo in the creation of OpenOption for RustyHermit Due to this typo we have to build a workaround for issue hermit-os/kernel#191. RustyHermit is a tier 3 platform and backward compatibility does not have to be guaranteed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
mode
in theopen
hypercall is passed in hex, but it should be passed as octal. This results in strange permissions of files which are created by uhyve.https://github.com/hermitcore/libhermit-rs/blob/44eaa9f693566413884f505552f74f2e25863e78/src/syscalls/interfaces/mod.rs#L58-L69
Example:
1991 = 0x777
is passed but it should be511 = 0o777
instead. Theflags
field is passed correctly.@tlambertz pointed out that this has to be fixed in the stdlib
The text was updated successfully, but these errors were encountered: