X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d9a64523371fa019c4575bb400cbbc3a50ac9903..c6bf4f310a33a9262d455ea4d3f0630b1255e3fe:/libsyscall/mach/port_descriptions.c?ds=inline diff --git a/libsyscall/mach/port_descriptions.c b/libsyscall/mach/port_descriptions.c index a5d8a93e1..2e086c80d 100644 --- a/libsyscall/mach/port_descriptions.c +++ b/libsyscall/mach/port_descriptions.c @@ -69,9 +69,11 @@ mach_host_special_port_description(int port) [HOST_RESOURCE_NOTIFY_PORT] = "resource notify", [HOST_CLOSURED_PORT] = "closured", [HOST_SYSPOLICYD_PORT] = "syspolicyd", + [HOST_FILECOORDINATIOND_PORT] = "filecoordinationd", + [HOST_FAIRPLAYD_PORT] = "fairplayd", }; - _Static_assert(HOST_SYSPOLICYD_PORT == HOST_MAX_SPECIAL_PORT, - "all host special ports must have descriptions"); + _Static_assert(HOST_FAIRPLAYD_PORT == HOST_MAX_SPECIAL_PORT, + "all host special ports must have descriptions"); return hsp_descs[port_index]; } @@ -96,7 +98,7 @@ mach_task_special_port_description(int port) [TASK_RESOURCE_NOTIFY_PORT] = "resource notify", }; _Static_assert(TASK_RESOURCE_NOTIFY_PORT == TASK_MAX_SPECIAL_PORT, - "all task special ports must have descriptions"); + "all task special ports must have descriptions"); return tsp_descs[port_index]; } @@ -149,10 +151,11 @@ mach_host_special_port_for_id(const char *id) SP_ENTRY(HOST_RESOURCE_NOTIFY_PORT), SP_ENTRY(HOST_CLOSURED_PORT), SP_ENTRY(HOST_SYSPOLICYD_PORT), + SP_ENTRY(HOST_FILECOORDINATIOND_PORT), }; return port_for_id_internal(id, hsp_ids, - sizeof(hsp_ids) / sizeof(hsp_ids[0])); + sizeof(hsp_ids) / sizeof(hsp_ids[0])); } int @@ -171,5 +174,5 @@ mach_task_special_port_for_id(const char *id) }; return port_for_id_internal(id, tsp_ids, - sizeof(tsp_ids) / sizeof(tsp_ids[0])); + sizeof(tsp_ids) / sizeof(tsp_ids[0])); }