summaryrefslogtreecommitdiff
path: root/debian/patches/make_send_right.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/make_send_right.patch')
-rw-r--r--debian/patches/make_send_right.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/make_send_right.patch b/debian/patches/make_send_right.patch
new file mode 100644
index 0000000..e78dc0f
--- /dev/null
+++ b/debian/patches/make_send_right.patch
@@ -0,0 +1,13 @@
+diff --git a/kern/bootstrap.c b/kern/bootstrap.c
+index d919e90..d863d0f 100644
+--- a/kern/bootstrap.c
++++ b/kern/bootstrap.c
+@@ -98,7 +98,7 @@ task_insert_send_right(
+ kern_return_t kr;
+
+ kr = mach_port_insert_right(task->itk_space, name,
+- port, MACH_MSG_TYPE_PORT_SEND);
++ port, MACH_MSG_TYPE_MAKE_SEND);
+ if (kr == KERN_SUCCESS)
+ break;
+ assert(kr == KERN_NAME_EXISTS);