]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/mach/port_descriptions.c
xnu-6153.81.5.tar.gz
[apple/xnu.git] / libsyscall / mach / port_descriptions.c
index 035cf223735dd20dbfcdac93dd5057eb4b4e847e..2e086c80d061ccf1a7943b9e67e02238ba244bc7 100644 (file)
@@ -69,8 +69,10 @@ 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,
+       _Static_assert(HOST_FAIRPLAYD_PORT == HOST_MAX_SPECIAL_PORT,
            "all host special ports must have descriptions");
 
        return hsp_descs[port_index];
@@ -149,6 +151,7 @@ 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,