Skip to content

Commit

Permalink
Relax rights on create_fd
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Oct 25, 2022
1 parent 9e4b445 commit e150f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasi/src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2454,7 +2454,7 @@ pub fn path_open<M: MemorySize>(
// TODO: check and reduce these
// TODO: ensure a mutable fd to root can never be opened
let out_fd = wasi_try!(state.fs.create_fd(
adjusted_rights,
working_dir_rights_inheriting,
fs_rights_inheriting,
fs_flags,
open_flags,
Expand Down

0 comments on commit e150f5a

Please sign in to comment.