Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 560396
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- a/libsandbox/trace.c
0
++ b/libsandbox/trace.c
Lines 104-110 static char *do_peekstr(unsigned long lptr) Link Here
104
104
105
	while (1) {
105
	while (1) {
106
		if (process_vm_readv(trace_pid, &liov, 1, &riov, 1, 0) == -1) {
106
		if (process_vm_readv(trace_pid, &liov, 1, &riov, 1, 0) == -1) {
107
			if (errno == ENOSYS)
107
			if (errno == ENOSYS || errno == EFAULT)
108
				break;
108
				break;
109
			sb_ebort("ISE:do_peekstr: process_vm_readv() hates us: %s\n",
109
			sb_ebort("ISE:do_peekstr: process_vm_readv() hates us: %s\n",
110
				strerror(errno));
110
				strerror(errno));

Return to bug 560396