We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9150f0b commit f7d54a0Copy full SHA for f7d54a0
src/aero_kernel/src/syscall/process.rs
@@ -59,7 +59,7 @@ pub fn uname(buffer: usize) -> Result<usize, AeroSyscallError> {
59
let init_bytes = init.as_bytes();
60
let len = init.len();
61
62
- fixed[..len].copy_from_slice(init_bytes)
+ controlregs::with_userspace_access(||fixed[..len].copy_from_slice(init_bytes))
63
}
64
65
// TODO: Safety checks!
0 commit comments