Subject: Re: emuldata addition
To: Frank van der Linden <>
From: Jaromír Dolecek <>
List: tech-kern
Date: 10/29/2000 17:59:02
Frank van der Linden wrote:
> > during an efford to make Linux ptrace(2) emulation work correctly on i386,
> > I came to a need to store somewhere some additional per-process data
> > Linux gdb uses for tracing. The easiest way how to avoid dirty hacks
> > and memory leaks would probably to add generic support for some emulation
> > specific data in struct proc. I noted erh even though about this
> > when he wrote sys/compat/linux/common/linux_emuldata.h.
> I've brought this up myself in the past too (it should be somewhere
> in the tech-kern archives). This can also be used to do things
> like setting the OS string that 'uname' should return.

I found

This makes sense.

Since the function would do more than alloc emuldata, it should
be renamed. e_init() seems like too generic and misleading - what
about e_proc_setup() ?

Jaromir Dolecek <>
@@@@  Wanna a real operating system ? Go and get NetBSD, damn!  @@@@