Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/rump
Module Name: src
Committed By: pooka
Date: Mon Dec 16 15:36:30 UTC 2013
Modified Files:
src/sys/rump/kern/lib/libsys_linux: component.c
src/sys/rump/librump/rumpkern: emul.c lwproc.c rump.c
Log Message:
Translate return values for emulations, e.g. Linux. For ports without
__HAVE_MINIMAL_EMUL, we simply look up the values from p->p_emul->e_errno.
For ports which cannot afford to keep an extra pointer per emul structure
around, we hope there is __HAVE_SYSCALL_INTERN support and thread the
errno values through p_emuldata. Notably, we cannot alter the syscall
method like most ports do with syscall_intern, since they do it via
p_mdproc, so MI code is not possible there.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/rump/kern/lib/libsys_linux/component.c
cvs rdiff -u -r1.159 -r1.160 src/sys/rump/librump/rumpkern/emul.c
cvs rdiff -u -r1.25 -r1.26 src/sys/rump/librump/rumpkern/lwproc.c
cvs rdiff -u -r1.280 -r1.281 src/sys/rump/librump/rumpkern/rump.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index