That *is* probably a better way. Do you have any statistics on
resource usage? I would guess having the entire kernel in a user process
would take up several megabytes.
The advantage of sandbox code is that there is not much more overhead than
just regular process. Also the added code can mostly be a loadable
module/software device, it doesn't have to be in the kernel proper.
Imagine 10 different running untrusted code on a virtual machine. Would
that work on a machine with 128Mb? I suppose all of the code segment can
be shared among those processes, but how big is the user mode kernel data
segment?
-Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/