← Back to team overview

modred team mailing list archive

ptrace

 

I created a ptrace branch in launchpad (probably accessible with
something along the lines of bzr co lp:~modred/modred/ptrace).  It has
some template code in it - if someone could get together a nice system
that allowed a syscall to pass through unless a replacement (which
could be a blank function) was defined, that would be great.
Preferred api uses \

typedef (void) (*syscall_replacement)(void **);

struct {
  syscall_replacement *calls; //one for each syscall
}

And then I just modify that struct, and pass it to the sandbox
started, where it is kept from be modified, etc....  Additionally, if
somebody could start playing with mmap with networked stuff, that
would also be nice (although whatever networked filesystem we choose
may have to be modified to work out with our protocol).

-- 
Scott Lawrence

Webmaster
The Blair Robot Project
Montgomery Blair High School