X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..527f99514973766e9c0382a4d8550dfb00f54939:/bsd/kern/sys_domain.c diff --git a/bsd/kern/sys_domain.c b/bsd/kern/sys_domain.c index d28648810..76741295c 100644 --- a/bsd/kern/sys_domain.c +++ b/bsd/kern/sys_domain.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2012 Apple Inc. All rights reserved. + * Copyright (c) 2000-2014 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -35,6 +35,7 @@ #include #include #include +#include struct domain *systemdomain = NULL; @@ -47,6 +48,10 @@ struct domain systemdomain_s = { .dom_init = systemdomain_init, }; +SYSCTL_NODE(_net, PF_SYSTEM, systm, + CTLFLAG_RW|CTLFLAG_LOCKED, 0, "System domain"); + + static void systemdomain_init(struct domain *dp) {