Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3



On Thu, Mar 01, 2007 at 02:33:01AM +0100, Andrea Arcangeli (andrea@xxxxxxx) wrote:
On Thu, Mar 01, 2007 at 12:12:28AM +0100, Ingo Molnar wrote:
more capable by providing more special system calls like sys_upcall() to
execute a user-space function. (that way a syslet could still execute
user-space code without having to exit out of kernel mode too
frequently) Or perhaps a sys_x86_bytecode() call, that would execute a
pre-verified, kernel-stored sequence of simplified x86 bytecode, using
the kernel stack.

Which means the userspace code would then run with kernel privilege
level somehow (after security verifier, whatever). You remember I
think it's a plain crazy idea...

Syslets/threadlets do not execute userspace code in kernel - they behave
similar to threads. sys_upcall() would be a wrapper for quite complex
threadlet machinery.

--
Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [patch 04/12] syslets: core code
    ... the core syslet / async system calls infrastructure code. ... Besides the fundamental ability to execute system ... * the kernel can execute purely from kernel-space, ...
    (Linux-Kernel)
  • Re: yet another Forth: vmForth
    ... and MidLevel and HLL all Integrated in the Kernel. ... VM assembler and simulator from within the simulator for testing :-) ... higher level Forth constructs, like jz/jnz, lit, execute, call and jump. ... Compiles VM assembler mnemonics into the VM memory. ...
    (comp.lang.forth)
  • Re: [Full-Disclosure] Linux Exec Shield (was: Linux (in)security)
    ... > Speaking about kernel hardening, I was wondering if anyone on the list could ... > comment on Ingo Molnar's Exec Shield Linux kernel patches. ... Linux kernel you can execute any data inside a process's memory or overwrite ... From a security point of view ...
    (Full-Disclosure)
  • Re: Hibernation considerations
    ... ACPI calls needed in the second and third cases above? ... be done from within a kexec'd hibernation kernel. ... * execute the _PTS global control method ...
    (Linux-Kernel)
  • Re: [PATCH 0/2] add new notifier function ,take3
    ... panic so that remote node can initiate failover ... job harder as one needs to pass all the required data to second kernel. ... So it will not left to user whether he should execute the code after ... Things should be more reliable in second kernel. ...
    (Linux-Kernel)