projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f89829d
)
2002-04-22 Roland McGrath <roland@frob.com>
author
Roland McGrath
<roland@gnu.org>
Tue, 23 Apr 2002 03:48:54 +0000
(
03:48
+0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 23 Apr 2002 03:48:54 +0000
(
03:48
+0000)
* sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID
failure from i386_io_perm_* RPCs to ENOSYS.
sysdeps/mach/hurd/i386/ioperm.c
patch
|
blob
|
history
diff --git
a/sysdeps/mach/hurd/i386/ioperm.c
b/sysdeps/mach/hurd/i386/ioperm.c
index
4a3cd77
..
39139bc
100644
(file)
--- a/
sysdeps/mach/hurd/i386/ioperm.c
+++ b/
sysdeps/mach/hurd/i386/ioperm.c
@@
-44,6
+44,9
@@
ioperm (unsigned long int from, unsigned long int num, int turn_on)
err = __i386_io_perm_modify (__mach_task_self (), perm, turn_on);
__mach_port_deallocate (__mach_task_self (), perm);
}
+
+ if (err == MIG_BAD_ID) /* Old kernels don't have these RPCs. */
+ err = ENOSYS;
}
return err ? __hurd_fail (err) : 0;