NetBSD/sys/compat/linux/common/linux_emuldata.h
christos 28debea38a - add a real linux_sys___sysctl because the mib numbers are different.
implement only the kernel version getting entries.
- make the signal conversion functions consistent; dest is arg 1.
- make linux_fakedev deal with block and char devices differently.
- add linux_sys_ugetrlimit, and flesh out the regular get/setrlimit so
  that they work properly.
- add linux_mmap2 [untested].
- bump kernel to 2.4.18, and make the date be valentine's day :-)
- linux_sys_*stat64 family was totally busted. Fix it.

tested only on i386.

Status:
	gdb, telnet, work
	jdk-1.4.0 extractor works, jdk still coredumps.

christos
2002-02-15 16:47:58 +00:00

21 lines
597 B
C

/* $NetBSD: linux_emuldata.h,v 1.4 2002/02/15 16:48:02 christos Exp $ */
#ifndef _COMMON_LINUX_EMULDATA_H
#define _COMMON_LINUX_EMULDATA_H
/*
* This is auxillary data the linux compat code
* needs to do its work. A pointer to it is
* stored in the emuldata field of the proc
* structure.
*/
struct linux_emuldata {
#if notyet
sigset_t ps_siginfo; /* Which signals have a RT handler */
#endif
int debugreg[8]; /* GDB information for ptrace - for use, */
/* see ../arch/i386/linux_ptrace.c */
caddr_t p_break; /* Processes' idea of break */
};
#endif /* !_COMMON_LINUX_EMULDATA_H */