You must use a send right, not a send-once right, with the new
authormib <mib>
Tue, 30 Aug 1994 15:05:33 +0000 (15:05 +0000)
committermib <mib>
Tue, 30 Aug 1994 15:05:33 +0000 (15:05 +0000)
auth protocol.

hurd/hurdlookup.c

index fa91396..269a725 100644 (file)
@@ -94,12 +94,12 @@ __hurd_file_name_lookup_retry (file_t crdir,
          {
            mach_port_t ref = __mach_reply_port ();
            err = __io_reauthenticate (*result,
-                                      ref, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+                                      ref, MACH_MSG_TYPE_MAKE_SEND);
            if (! err)
              err = __USEPORT
                (AUTH, __auth_user_authenticate (port, *result,
                                                 ref,
-                                                MACH_MSG_TYPE_MAKE_SEND_ONCE,
+                                                MACH_MSG_TYPE_MAKE_SEND,
                                                 &newpt));
            __mach_port_destroy (__mach_task_self (), ref);
          }
@@ -238,13 +238,13 @@ __hurd_file_name_lookup_retry (file_t crdir,
                            err = __io_reauthenticate
                              (unauth,
                               ref,
-                              MACH_MSG_TYPE_MAKE_SEND_ONCE);
+                              MACH_MSG_TYPE_MAKE_SEND);
                            if (! err)
                              err = __USEPORT
                                (AUTH, __auth_user_authenticate
                                 (port,
                                  unauth,
-                                 ref, MACH_MSG_TYPE_MAKE_SEND_ONCE,
+                                 ref, MACH_MSG_TYPE_MAKE_SEND,
                                  result));
                            __mach_port_deallocate (__mach_task_self (),
                                                    unauth);