Disable userspace feature in redox-syscall.

This prevents the kernel from being able to accidentally call itself
using the syscall instruction.
This commit is contained in:
4lDO2
2024-09-14 11:03:58 +02:00
parent ef499f81fc
commit d498eefb2f
+1 -1
View File
@@ -16,7 +16,7 @@ hashbrown = { version = "0.14.3", default-features = false, features = ["ahash",
linked_list_allocator = "0.9.0"
log = "0.4"
redox-path = "0.2.0"
redox_syscall = { path = "syscall" }
redox_syscall = { path = "syscall", default-features = false }
slab_allocator = { path = "slab_allocator", optional = true }
spin = "0.9.8"
spinning_top = { version = "0.3", features = ["arc_lock"] }