summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-10 22:20:36 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-10 22:20:36 +0200
commit011c6ea6d9a4c5a61cd1a190eb48a0e4adb13aed (patch)
tree719e12106776af84a5c2cccce90cf86158637c07 /proc
parente6c258d00582258ffd0448ad5d6a6ef0d3926cf6 (diff)
Rename proc_complete_reauthentication to proc_reauthenticate_complete
For coherency with the existing RPCs
Diffstat (limited to 'proc')
-rw-r--r--proc/mgt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 29ef05f9..67b361dd 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -119,7 +119,7 @@ S_proc_reauthenticate (struct proc *p, mach_port_t rendport)
new_proc_port = mach_reply_port ();
/* Ask to be told if the new port dies. We receive the notification
- on the same port, and as it's not a proc_complete_reauthentication ()
+ on the same port, and as it's not a proc_reauthenticate_complete ()
call, consider it an error. */
err = mach_port_request_notification (mach_task_self (), new_proc_port,
MACH_NOTIFY_NO_SENDERS, 1,
@@ -142,7 +142,7 @@ S_proc_reauthenticate (struct proc *p, mach_port_t rendport)
&aux_gids, &naux_gids);
while (err == EINTR);
- /* Wait for a proc_complete_reauthentication () call
+ /* Wait for a proc_reauthenticate_complete () call
on the new port before proceeding. */
if (!err)
{
@@ -157,7 +157,7 @@ S_proc_reauthenticate (struct proc *p, mach_port_t rendport)
goto out;
/* Check if what we have received was indeed a
- proc_complete_reauthentication () call. */
+ proc_reauthenticate_complete () call. */
if (msg.msgh_id != 24064)
err = EINVAL;
mach_msg_destroy (&msg);
@@ -379,7 +379,7 @@ S_proc_reauthenticate_reassign (struct proc *p,
new_proc_port = mach_reply_port ();
/* Ask to be told if the new port dies. We receive the notification
- on the same port, and as it's not a proc_complete_reauthentication ()
+ on the same port, and as it's not a proc_reauthenticate_complete ()
call, consider it an error. */
err = mach_port_request_notification (mach_task_self (), new_proc_port,
MACH_NOTIFY_NO_SENDERS, 1,
@@ -407,7 +407,7 @@ S_proc_reauthenticate_reassign (struct proc *p,
&aux_gids, &naux_gids);
while (err == EINTR);
- /* Wait for a proc_complete_reauthentication () call
+ /* Wait for a proc_reauthenticate_complete () call
on the new port before proceeding. */
if (!err)
{
@@ -422,7 +422,7 @@ S_proc_reauthenticate_reassign (struct proc *p,
goto out;
/* Check if what we have received was indeed a
- proc_complete_reauthentication () call. */
+ proc_reauthenticate_complete () call. */
if (msg.msgh_id != 24064)
err = EINVAL;
mach_msg_destroy (&msg);
@@ -510,7 +510,7 @@ S_proc_setowner (struct proc *p,
}
kern_return_t
-S_proc_complete_reauthentication (struct proc *p)
+S_proc_reauthenticate_complete (struct proc *p)
{
/* Regular calls of this routine always fail. */
return EOPNOTSUPP;