Closed Bariona closed 1 year ago
In line 19 of /user/src/bin/forkexec.rs, I think it should be written as exec("hello_world\0"); (with an extra '\0' in terms of Rust language)
/user/src/bin/forkexec.rs
Though the repo runs fine, there is still a chance that the kernel will fetch the wrong string.
Fixed, Thanks!
In line 19 of
/user/src/bin/forkexec.rs
, I think it should be written as exec("hello_world\0"); (with an extra '\0' in terms of Rust language)Though the repo runs fine, there is still a chance that the kernel will fetch the wrong string.