lkml.org 
[lkml]   [1998]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: task_ops?
Date
> I'm making something like a binary emulator which will execute
> assembly instructions in user space, but handle signals and syscalls
> differently than other native Linux tasks.

You dont need any kernel support for this. You can redirect signal handlers
to your own routines which fake the desired result and any lcall or trap
isntructions will generate a SIGILL which you can trap in user space
and emulate

> sure. entry.S has entries for both lcall7 and syscall. There's only
> one lcall7 function defined in the kernel, and that sends SEGV.

The ibcs personality has its own lcall7 handler if you have the ibcs
module loaded.

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.027 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site